Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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 have an existing ssh connection between my computer (A:12.04) and a remote computer (B:10.04) (from A I just type ssh B). I have root access on both. Both use ubuntu desktop edition. I am struggling to set up a remote desktop solution. After a lot of different software and tries, the closest I got was to be able to connect to the vnc server with vinagre, but the screen remained black, for an unknown reason.

share|improve this question
I'm running ubuntu 12.04 with unity 3d on A, and ubuntu 10.04 with gnome on B. – bob Jul 4 '12 at 23:39
up vote 4 down vote accepted

Here is the setup I have working in VMs:

A:12.04 Desktop i386, Unity2d and 3d both tested, client, xvnc4viewer
B:10.04 Desktop i386, standard GNOME, server, x11vnc, openssh-server

From out of the box fully updated with nothing new installed

On A:
sudo apt-get install xvnc4viewer

On B:
sudo apt-get install x11vnc openssh-server

Now on A:
first terminal:
ssh -t 'x11vnc -localhost -display :0'
starts the x11vnc server

second terminal:
xvnc4viewer -via
connects the viewer

verification it's only on port 22:
netstat -an | grep *insert far end ip address here*
enter image description here

You should get results like that--^

share|improve this answer

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.