> first, i disabled:
> chkconfig --del vncserver

Did vncserver installed itself as a service? On my machine, it did not.

> in my <~/.vnc/xstartup> i have:
> (
>    xrdb $HOME/.Xresources
>    $wm &
> )&>/var/log/xx/vx$DISPLAY
>
> (i never look in the log, but it's there if i want to)
>
> <.bashrc> contains (among other things):
> alias xfsstart='[ -f /var/lock/subsys/xfs ]||service xfs start'
> alias vk='xfsstart&&wm=startkde vncserver -cc 3 -name kde -geometry
800x600'
> alias vk='xfsstart&&wm=$KDEDIR/bin/startkde vncserver -cc 3 -name kde
> -geometry 800x600'
> alias vg='xfsstart&&wm=gnome-session vncserver -name gnome -geometry
> 800x600'
> alias xg='xfsstart&&xini xg /usr/bin/gnome-session'
> alias xk='xfsstart&&xini xk $KDEDIR/bin/startkde'
> funct xini(){ (for((x=0;x<=9;x++));do [ -e /tmp/.X$x-lock
> ]||break;done;rm -f /var/log/xx/$1:$x && xinit $2 -- :$x >
> /var/log/xx/$1:$x 2>&1 &);}
>
> if root is calling, it will start xfs if needed.
> if a lowly user, xfs must already be running.
>
> and, i modified a line in /etc/rc.sysinit, from:
> rm -f /tmp/.X*-lock
> to:
> action $"Removing X and vnc locks: " rm -rf /tmp/.X*-{lock,unix}

I do not understand any of these lines. I am quite helpless when it comes to
knowing what should be started or what should not. I am running KDE on my
system. So I have modified my xstartup file to:

xrdb $HOME/.Xresources
startkde &

I commented out all the other lines. And of course I did not have those
lines in my .bashrc that calls xfs, xinit,... If I remember correctly, xfs
is started by default when the system boots.

David



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to