Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 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?

share|improve this question

migrated from Nov 25 '11 at 12:30

This question came from our site for professional and enthusiast programmers.

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

share|improve this answer
thank you! I installed vnc4server. Is any configration necessary? – user975352 Nov 6 '11 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. – Ernest Friedman-Hill Nov 6 '11 at 13:47

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.