Skip to content

Instantly share code, notes, and snippets.

@gmassawe
Last active August 8, 2018 15:31
Show Gist options
  • Save gmassawe/80d37903296562b38497510903061e74 to your computer and use it in GitHub Desktop.
Save gmassawe/80d37903296562b38497510903061e74 to your computer and use it in GitHub Desktop.
Start VNC at boot

Starting VNC at boot

sudo apt-get install tightvncserver
vncserver :1 -geometry 1280x800 -depth 16 -pixelformat rgb565
  • Set password for access (optional)
sudo nano /etc/init.d/tightvncserver
  • Paste the contents of the file below (tightvncserver.sh) into this new file.
sudo chmod 755 /etc/init.d/tightvncserver
sudo update-rc.d tightvncserver defaults
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment