I use the following:
#!/bin/sh
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktoop" &
case "$VNCDESKTOP" in
kde)
startkde &
;;
ice)
icewm &
;;
bb) blackbox &
;;
*)
xterm -geometry 40x10+40+40 -ls -title "$VNCDESKTOP Desktop" &
twm &
;;
esac
then on starting vncserver: vncserver -name (kde|ice|bb)
This works for me, of course ymmv.
jl
On Thu, Jun 13, 2002 at 01:00:25PM -0500, Joe Wozniak wrote:
> Ray,
>
> Here is my xstartup script and it works great!
>
>
> #!/bin/sh
>
> xrdb $HOME/.Xresources
> xsetroot -solid grey
> gnome-wm &
> panel &
> gnome-terminal --use-factory --start-factory-server
>
>
> ----------------------
> On Thu, 13 Jun 2002, Raymond Norton wrote:
>
> > I know this should be simple. I am trying to edit the vnc xstartup script
> > so I get a normal gnome or kde desktop instead of the terminal window. Does
> > anyone have an example script?
> >
> >
> >
>
> _______________________________________________
> Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, Minnesota
> http://www.mn-linux.org
> tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list