LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   vnc (https://www.linuxquestions.org/questions/linux-software-2/vnc-604147/)

Strike2000 12-03-2007 10:31 AM

vnc
 
How do you get the vnc server to spin up a kde session?

I have tried to edit the ~/.vnc/xstartup to have exec kde & and exec kde-session & rebooting the server both times yet I still get a gnome session when I vnc to the box.

Thanks in advanced

javaroast 12-03-2007 10:51 AM

On the off chance, have you killed any running vncserver and restarted the vncserver after editing the config?

MQMan 12-03-2007 01:59 PM

Here's my ~/.vnc/xstartup on Slack 12, which works perfectly:

Code:

#!/bin/sh
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
vncconfig -display=:1 -nowin &
/etc/X11/xinit/xinitrc.kde

You do have the permissions set for eXecute, don't you.

Cheers.

mikebudohiee 12-03-2007 03:56 PM

This for KUbunto
I had to put startkde &

Here is my xstartup
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
startkde &

Strike2000 12-04-2007 02:46 AM

hello all,

thanks for your help it was just that my xstartup file was not correct.

Strike


All times are GMT -5. The time now is 02:05 AM.