# Revision history [back]

### What does the default ~/.vnc/xstartup do in tigervnc?

hi all, i got tigervnc installed on my F20, but have a few questions about the default xstartup file

!/bin/sh

unset SESSION_MANAGER
OS=uname -s
if [ $OS = 'Linux' ]; then case "$WINDOWMANAGER" in
*gnome*)
if [ -e /etc/SuSE-release ]; then
PATH=$PATH:/opt/gnome/bin export PATH fi ;; esac fi if [ -x /etc/X11/xinit/xinitrc ]; then exec /etc/X11/xinit/xinitrc fi if [ -f /etc/X11/xinit/xinitrc ]; then exec sh /etc/X11/xinit/xinitrc fi [ -r$HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
exec gnome-session &
exec /usr/bin/startkde &


can someone explain to me what it does ? basically i want to switch to lxde desktop, but i don't know what the majority of the code does. can someone explain this a little bit? thanks.

currently i'm using this ( commented out most of the stuff above )

unset SESSION_MANAGER