VNC - Selecting different WindowManagers with VNC
I would like to be able to select from different window managers via VNC. I've done some searching and found that I shoule be able to set up my xstartup file something like:
#!/bin/sh
xrdb $HOME/.Xresources
xterm -geometry 80x24+10+10 -ls &
case "$VNCDESKTOP" in
kde)
startkde &
;;
twm)
xsetroot -solid grey
twm &
;;
icewm)
xsetroot -solid grey
icewm &
;;
esac
then do:
cfarley@gcnpd:~$ vncserver -name kde
or
cfarley@gcnpd:~$ vncserver -name twm
This doesn't seem to work. It will always launch what ever is in my ~/.xsession file:
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
icewm &
-------------------------------
Any thoughts?
|