Created
January 6, 2019 03:29
-
-
Save nathanpalmer/2d107a5c80c5f25cc7a844d696c8b7f5 to your computer and use it in GitHub Desktop.
x11vnc.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=VNC Server for X11 | |
Requires=display-manager.service | |
After=display-manager.service | |
[Service] | |
Type=simple | |
ExecStart=/usr/bin/x11vnc -xkb -repeat -allow 127.0.0.1 -display :0 -auth guess -rfbauth /home/nathan/.vnc/passwd -rfbport 5900 -forever -loop -o /var/log/x11vnc.log | |
Restart=on-failure | |
RestartSec=10 | |
[Install] | |
WantedBy=graphical.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment