linux :: persistant desktop

persistant desktop aka permanent login on X -
login to X “remotely or locally”, do your work and you quit (not logout).
login again and find your desktop as you left it.

it was so easy, i didnot know it. i was always thinking about a window manager that will be customised for vnc. i didnot know vnc can itself be used instead of window manager.

so all you need for this persistent desktop is

1. Create a virual desktop
using the command “vncserver :1″
OR better start vncserver, with :1 dedicated to me. see /etc/sysconfig/vncservers

2. Ask X to connect to it
add the following to ~/.Xclients-default (file name might differ for you)
exec vncviewer -passwd $HOME/.vnc/passwd -FullScreen -FullColour localhost:1

Leave a Reply