Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to install some VNC server on my ubuntu 12.04. which one is the best / recommended? how do i configure it?

all i want is to be able to connect my desktop computer through my laptop. i want something simple like connecting with RDP protocol between windows computers.

share|improve this question
A related question, particularly about 14.04 and newer releases: This could probably me merged. – LiveWireBT Dec 26 '15 at 14:49

To install VNC just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command below.

sudo apt-get update

This updates the package list for apt.

Then you'll need to install the Gnome components using Software Center:

Install via the software center

Or Using Terminal:

sudo apt-get install gnome-core

To install VNC server using Software Center:

Install via the software center

Or Using Terminal:

sudo apt-get install vnc4server

For more info just take a look at Complete VNC Server Setup.

share|improve this answer
I just wanted to add that I've followed that guide myself, which helped a lot. However, perhaps due to things changing, an issue of a grey screen showing up was addressed in this forum topic, and the answer is to use gnome-session & instead of what the blog author uses. – TGP1994 Feb 13 '14 at 23:44

Another option, if you're using Microsoft's Remote Desktop Connection client:

sudo apt-get install xrdp

That's it, no additional configuration needed! Now you can connect from your Windows or Mac laptop using Microsoft Remote Desktop Connection client. I was actually quite surprised how simple it was.

share|improve this answer
Note that RDP (Microsoft Remote Desktop Protocol) is a different kind of protocol from VNC--this is not actually VNC. It is, however, an excellent solution for many of us! – Eliah Kagan Aug 12 '14 at 9:26
Thanks for the answer! Very helpful! – DaSh Feb 11 '15 at 21:48
@wesbucky, Tab does not work inside the remote session for some reason. Any suggestions? – DaSh Feb 11 '15 at 21:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.