I installed Ubuntu11.04(ja) desktop edition.

I login to this via ssh from my local pc and use "screen" to keep ssh session running when I disconnect, but, this command is only to kepp cui session.

I want to know how to keep gui session when I disconnect from local PC, is this possible?

1 Answer 1


VNC does exactly this. You can disconnect from a desktop session and come back to it sometime in the future.

  • thank you! I installed vnc4server. Is any configration necessary?
    – user975352
    Nov 6, 2011 at 5:57
  • You probably want to create an xinitrc file in your ~/.vnc directory; it'll be executed when you run the server, and establish your session. It might include the startkde command, for example. You'll also want to set a password, so it's not completely unprotected. Nov 6, 2011 at 13:47

You must log in to answer this question.

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