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.

Install vncserver.

sudo apt-get install vnc4server

You need to setup the password to access the desktop, So enter the following command to setup password of your wish.

vncpasswd

Start VNC server.

vncserver

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.

 New ‘LINUX.ITZGEEK.COM:1 (itzgeek)’ desktop is LINUX.ITZGEEK.COM:1
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.

Take remote desktop.
ipaddress:5901 or ipaddress:1
You will be asked to enter the password, after entering the password; you will get the vnc desktop session instead of console desktop. To get a console desktop, you will need to setup remote desktop sharing on Ubuntu 13.04. That’s all you have successfully configured VNC server on Ubuntu 13.04
remote desktopubuntu 12.10ubuntu 13.04vnc
Comments (2)
Add Comment
  • shayne

    You have a minor typo that might be a roadblock for new users:
    sudo apt-get installvnc4server
    should be
    sudo apt-get install vnc4serversudo

  • harvest honors oyunu

    I think that what you said was actually very reasonable.
    But, what about this? suppose you were to create a killer post
    title? I am not suggesting your content is not solid, but suppose you added
    something that makes people want more? I mean Install VNC server on Ubuntu 13.04 / Ubuntu 12.10 – IT’zGeek – is a little vanilla.
    You ought to look at Yahoo’s front page and see how they
    write news headlines to grab people to open the links.
    You might add a video or a pic or two to grab people interested about everything’ve got to say.
    In my opinion, it might make your website
    a little bit more interesting.