Skip to content

Instantly share code, notes, and snippets.

@AstraLuma
Created September 12, 2014 19:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AstraLuma/b75859d423197933eaaf to your computer and use it in GitHub Desktop.
Save AstraLuma/b75859d423197933eaaf to your computer and use it in GitHub Desktop.
[Unit]
Description=VNC Display
Requires=network.target lightdm.service
After=network.target lightdm.service
[Service]
type=simple
User=debian
Environment=DISPLAY=:0
ExecStartPre=sleep 20s
ExecStart=/usr/bin/xvncviewer -listen 0 -fullscreen
Restart=always
[Install]
WantedBy=multi-user.target graphical.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment