Install VNC server on Ubuntu 13.04 / Ubuntu 12.10
The following simple guide help you to setup the VNC server on Ubuntu machines, VNC helps to share the desktop with the other machines which has a client installed. VNC server and client are not installed by default, you need to setup the vnc server manually. In windows, VNC shares the console desktop with other machine; but in Linux, it shares the vnc desktop sessions instead of console desktop.
You need to setup the password to access the desktop, So enter the following command to setup password of your wish.
Start VNC server.
You will get a information about the desktop session. Desktop session is 1 as per below information, if you need another session issue the vncserver command on terminal; you will get a session 2 and increments every time when issuing the same command again.
Starting Applcation Specifed specified in in /home/itzgeek/.vnc/xstartup
Log file is /root/.vnc/LINUX.ITZGEEK.COM:1.log
Assuming that you have created only one desktop session. Default listening port is 5900, If you have created first session it will be 5901 and so on.