View Single Post
  #1 (permalink)  
Old 03-21-2008, 07:10 PM
em
Newsgroup Contributor
 
Posts: n/a
VNC always starts in Gnome rather than KDE

Hello,

Everytime I connect to my Fedora Core 6 box via VNC, I end up with a
Gnome session. I try the "startkde" option in xstartup but I still get
Gnome.
Any clues?

Thanks in advance.

EM

PS. Here is my ~/.vnc/xstartup

#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
startkde &


Reply With Quote

 
Old 03-21-2008, 07:10 PM