Hey Salvatore,

everything after the "exec" command doesn't get executed because the running 
process is replaced with the process started with the exec command.

Try this:

#!/bin/sh

unset SESSION_MANAGER
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
startkde &

at Date: Thu, 27 Jan 2005 23:11:45 +0100 Salvatore wrote

> "John Aldrich" wrote:
>
> > Here's my ~/.vnc/xstartup file from Fedora Core 3
> >
> > +-+-+
> >
> > #!/bin/sh
> >
> > # Red Hat Linux VNC session startup script
> > exec /etc/X11/xinit/xinitrc
>
> .. I have tried with:
>
> #!/bin/sh
>
> 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 &
>
> but not function.
> still thanks.

Carlyle


--

Diese E-Mail enthdlt vertrauliche und/oder rechtlich gesch|tzte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt|mlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht 
gestattet.

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to