Thursday, March 15, 2012

Changing the default windows manager when one is using VNC

Typically when you start VNC a default twm windows manager comes up, and the remote user who logs in gets a windows manager which is not easy to navigate and also has to start applications by hand.

So, next time you want the user to have a KDE environment -which provides good interface... do this.

  1. Edit ~/.vnc/xstartup
  2. For KDE, replace "twm &" with "startkde &"
  3. For Gnome, replace "twm &" with "exec gnome-session &"
  4. Kill any existing VNC servers with "vncserver -kill :xxx" where xxx is the display number.
  5. Start a new server.

No comments:

Post a Comment