[NBLUG/talk] vncserver: what to put in ~/.vnc/xstartup ?

Bob Blick bobblick at covad.net
Thu May 29 16:21:00 PDT 2003


Doug Palmer said:
> The defaults all seem to work just fine, but I want to run KDE in my VNC
> connection. I can't seem to get the xstartup script right. Anybody have
> one that works?

Here's mine, choose on starting with the name option, "vncserver -name
kde" for kde or "vncserver -name windowmaker" for windowmaker or
"vncserver" alone to get twm:

#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey

case "$VNCDESKTOP" in
kde)
        startkde &
        ;;
windowmaker)
        windowmaker &
        ;;
*)
        xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
        twm &
        ;;
esac






More information about the talk mailing list