Last active
August 15, 2016 08:41
-
-
Save leoetlino/604e3e84fc0d5e9ca9a7553d0dafc266 to your computer and use it in GitHub Desktop.
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
# /etc/systemd/system/vnc-seat1.service | |
# then enable it: systemctl enable vnc-seat1 | |
# and start it: systemctl start vnc-seat1 | |
# (the name and description can be different, of course) | |
[Unit] | |
Description=x11vnc on seat1 | |
After=lightdm.service | |
Requires=lightdm.service | |
[Service] | |
ExecStart=/usr/bin/x11vnc -display :0 -forever | |
# :0 is the display number of the TV. It may be something else in your case | |
Restart=always | |
User=root | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment