Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

up vote 3 down vote accepted

Check out xpra.

share|improve this answer
1  
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

 
discard

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.