Remove User= directive from x11vnc systemd service configuration
Remove hardcoded user specification in the x11vnc service file to improve flexibility and portability of the service configuration
This commit is contained in:
@@ -137,7 +137,6 @@ Wants=display-manager.service
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=x11vnc -display :0 -rfbport 5900 -forever
|
ExecStart=x11vnc -display :0 -rfbport 5900 -forever
|
||||||
User=user
|
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=3
|
RestartSec=3
|
||||||
Environment=DISPLAY=:0
|
Environment=DISPLAY=:0
|
||||||
|
|||||||
Reference in New Issue
Block a user