Every now and again its handy to have access your servers desktop if you are running a gui. There are a number of VNC servers to choose from in linux, I like to use X11vnc. To install in Ubuntu is straight forward as always:

sudo apt-get install x11vnc

Then configure with a password:

x11vnc -storepasswd – you might want to change permission of the password file so only root can access it.

Then you can launch vnc server with the following command:

x11vnc -shared -forever -rfbauth ~/.vnc/passwd

Finally you can add the line above to a bash script and add it to run at start up if required.

No Comment.

Add Your Comment