Accessing Ubuntu Desktop remotely via x11VNC

A guide on setting up x11vnc to remotely access your Ubuntu Desktop via VNC (While you are not in the same location).

This guide assumes you can access your Desktop via ssh.

Remote Desktop setup:

On the destination machine, install the x11vnc package

sudo apt-get install x11vnc

You should now create a password for accessing your VNC session – Note this will be stored within your home directory by default:

x11vnc -storepasswd

Running the VNC server:

The below command will run the VNC server in the foreground so it is easily closeable once you have done what you needed from the Desktop of the machine.

x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth ~/.vnc/passwd -rfbport 5900 -shared

Any comments or questions? Get in touch here or Email me at [email protected]