Click to See Complete Forum and Search --> : VNC on Linux


LoRdMaUL
03-17-2001, 02:01 AM
#!/bin/sh

#xrdb $HOME/.Xresources
#xsetroot -solid grey
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
#/usr/bin/startkde
/usr/bin/gnome-session

that is a cut and paste of my xstartup file. Anyone have any idea why kde doesn't start at all when I uncomment that line but gnome runs just fine?

:confused:

Matt Jenner
03-17-2001, 06:17 AM
Hi, I think its because you're calling the wrong file to start KDE, my xstartup file is as follows (and it starts kde just fine!):

#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
$WINDOWMANAGER &

(This script just calls whatever is the local window manager, so if you are running gnome locally, it'll load gnome, or the same with kde)

Hope this helps,

Matt

BTW, have you ever managed to get VNC running from inetd? I've got some real problems with it :confused: , I can get it to run, but it can't get it to find an xstartup file, because I'm running it as a service. Any one else's help much appreciated! Thanks!

LoRdMaUL
03-17-2001, 05:23 PM
I generally start my X sessions with gdm...so whatever I chose the last time...it will startup?

Matt Jenner
03-18-2001, 07:00 AM
it will basically use whatever wm the $WINDOWMANAGER variable is set to.

I'm not too sure where that variable is set I think it is set when you run local XWindows, I don't use GDM, so I'm not too sure what effect that might have on the $WINDOWMANAGER variable for VNC.

Pizza
07-05-2001, 06:43 PM
i tried it all
it will startup a TWM session
and KDE is starting
but it crashes :confused:
and now i lost my icons on the desktop (they are still in the dir)

could the crash be caused by to little resources.

iam running redhat 7.1 with a kde desktop and a SSH and VNC server, on a Pent 133 MHz 40 MB ram

iam a total newbie.
so dont throw around with terms pls :D

forgive me my bad english (:

[ 05 July 2001: Message edited by: Pizza ]

Pizza
07-06-2001, 04:03 PM
^^bump^^

bdg1983
07-06-2001, 04:17 PM
I can't tell you if the crashes are due to low resources although 40MB in my opinion is certainly not sufficient for kde and vnc.