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 have used VNC a few times and what I find is that VNC can't be used to control the "current" or "main" desktop. What I mean by this is I can't go out, and leave my machine on, leave my work open and fire up VNC server, then connect in remotely and access the programs I have left open.

This is becauase VNC doesn't seem to want to bind to desktop ":0", instead I can only use it to connect into a new instance of the desktop interface with no programs open.

Is this just me, or is there no way to have remote access to my actual desktop and currently running apps (even if this means using some other program other than VNC)?

share|improve this question
I think you might be a little confused by the Windows remote desktop functionality here? By default VNC binds to :0, showing you the standard desktop. x11vnc, mentioned below, is a great tool to start a permanent VNC on your desktop - click on your VNC tag there to search this site for howtos. – Scaine Feb 24 '12 at 23:49
Yep, you're right, I was confused, thanks :) – jwbensley Feb 25 '12 at 11:15
up vote 7 down vote accepted

I ssh into my desktop and issue the x11vnc command.

I then can vnc into my current desktop.

share|improve this answer
x11vnc is exactly what I needed, I was using a different VNC. Thanks :) – jwbensley Feb 25 '12 at 11:15

You can run that over an ssh tunnel for a secure connection.

share|improve this answer
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Seth Mar 29 '13 at 17:09

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.