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:
Timothyxxx
2025-02-25 22:42:33 +08:00
parent d626cc90d9
commit a8f45f7e18

View File

@@ -137,7 +137,6 @@ Wants=display-manager.service
[Service]
Type=simple
ExecStart=x11vnc -display :0 -rfbport 5900 -forever
User=user
Restart=on-failure
RestartSec=3
Environment=DISPLAY=:0