Super User is a question and answer site for computer enthusiasts and power users. 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 am trying to do the following:

  1. Connect through SSH to an Amazon EC2 instance
  2. Start a VNC server
  3. Connect through VNC
  4. Start a GUI application and log in
  5. Kill the VNC server but keep the GUI application running.

I don't need to ever interact with the GUI application after I log in. Can this be done?


share|improve this question

I followed the instructions here:

Dropped ssh/X session, how to pickup where left off?

and it worked. xpra seems to be a good solution.

share|improve this answer

Well, I don't think that you can do that, but why don't use $ssh -Y user@machine to be able to use the graphical user interface through ssh?

share|improve this answer

You could take a look at xrdp. xrdp starts a VNC server in the background and provides an RDP interface for you to connect to. If you use the same screen resolution and color settings, you will reconnect the same session behind the RDP server.

Be aware however, if you use a different screen resolution, you will end up with two different VNC sessions running on the same machine. If you have applications that can only run in one instance (Skype, etc), you will not be able to launch them on the second instance.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .