Take the 2-minute tour ×

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 stackoverflow.com Nov 25 '11 at 12:30

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

add comment

1 Answer

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
add comment

Your Answer


