Xstartup example for both Linux and Solaris
Posted on May 6, 2008
.How to Start vncserver
$ vncserver -nolisten local -depth 24
xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -nowin &
xterm -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &
#
#twm & #vnc default
#mwm & #X
#/usr/dt/bin/dtwm & #CDE
#olwm & #openwin
#/usr/bin/startkde & #KDE of linux
#exec gnome-session & #GNOME of linux
#
if [ "`uname -sr`" = "SunOS 5.9" ]; then
#/opt/sfw/kde/bin/startkde &
/usr/dt/bin/dtwm &
elif [ `uname -s` = "SunOS" ]; then
/usr/dt/bin/dtwm &
elif [ `uname -s` = "Linux" ]; then
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
else
twm &
fi
Popularity: 4% [?]
Related Posts:
» Filed Under Linux
Comments
2 Responses to “Xstartup example for both Linux and Solaris”
Leave a Reply
Where can I download the vnc?
[...] run command “vncconfig -nowin &” ,also I suggest to put this command to your xstartup files vncconfig nowin [...]