How do I start the VNC server? - Ask Ubuntu
askubuntu.com › questions › 12206For a bit more security, I don't leave VNC running the whole time. I SSH into the machine and then start the VNC server using the following command: x11vnc -safer -localhost -nopw -once -display :0. For ease I have the command in a shell script, so it is just a case of SSH to the server, followed by the command startvnc.sh.