Server Fault is a question and answer site for system and network administrators. 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'm having trouble with the title on this one, please edit.

  • When users connect to a VM with VNC/NX/RDP/other-tla they get a persistent desktop in a window .
  • When they connect using ssh -X forwarding they get a local window managed by the local windo-manager that is not persistent.

    1: is there a way to run a program on the VM and have it managed locally AND have it persistent?
    2: can the client be on windows or OS-X?

ps: in this case the vm's are running Ubuntu

share|improve this question
up vote 3 down vote accepted

Check out xpra.

share|improve this answer
xpra is exactly what I was looking for! it maintains the application in a virtual x-server and then uses a proxy-window-thingy to display it. – Arthur Ulfeldt May 5 '10 at 17:36
more up-to-date fork – totaam Jan 2 '12 at 9:07

I presume you mean "persistent" in that "I can disconnect and come back to my window later as if nothing had changed".

If that is the case, no you can't. X applications go to one X server only.

If you want persistence, you'll have to start a VNC/NX session and then run your applications in there.

Alternatively you could run things directly on the VM's console, if it is set up to run X, and export that through x11vnc; this page shows you how I did that for one customer.

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.