Sunday, May 2, 2010

Configure VNC server on remote linux system.

Here I am going to explain how to setup VNC server on remote Linux system running ubuntu server.

Step 1: Make sure you are able to get connected with remote server using SSH.

Step 2: Install ubuntu desktop package on the server that will provide gnome environment.
#aptitude install ubuntu-desktop

Step 3: Install tightvnserver on the server.
#aptitude install tightvncserver

Step 4: Reconfigure XServer.
#dpkg-reconfigure xserver-org

Step 5: Run the VNC Server using following command.
#vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565
It will start VNC server at display 1.

Step 6: Use following command in order to stop/kill running VNC instance.
#vncserver -kill :1

Step 7: Use any of your favorite VNC client to get connected with VNC server using following syntax:
:1

That's it! Were you expecting some more complicated steps? Sorry to disappoint you :)

No comments:

Post a Comment