Many thanks Warren,<br><br>My knowledge of scripting is about 10% If you can help it would be very appreciated. <br><br>I've found the xsession file I need to load.  it is    /opt/win4lin/bin/mergepro.xsession<br><br>how could I load mergepro.xsession as the default?<br>
<br>Thanks in advance<br><br>Andrew.<br><br><br><br>Here is the <b>xclients</b> file <br><br><br><br><br><br><br>GSESSION="$(which gnome-session 2>/dev/null)"<br>STARTKDE="$(which startkde 2>/dev/null)"<br>
<br># check to see if the user has a preferred desktop<br>PREFERRED=<br>if [ -f /etc/sysconfig/desktop ]; then<br>    . /etc/sysconfig/desktop<br>    if [ "$DESKTOP" = "GNOME" ]; then<br>    PREFERRED="$GSESSION"<br>
    elif [ "$DESKTOP" = "KDE" ]; then<br>    PREFERRED="$STARTKDE"<br>    fi<br>fi<br><br>if [ -n "$PREFERRED" ]; then<br>    exec "$PREFERRED"<br>fi<br><br># now if we can reach here, either no desktop file was present,<br>
# or the desktop requested is not installed.<br><br>if [ -n "$GSESSION" ]; then<br>    # by default, we run GNOME.<br>    exec "$GSESSION"<br>elif [ -n "$STARTKDE" ]; then<br>    # if GNOME isn't installed, try KDE.<br>
    exec "$STARTKDE"<br>fi<br><br># Failsafe.<br><br># these files are left sitting around by TheNextLevel.<br>rm -f $HOME/Xrootenv.0<br><br># Argh! Nothing good is installed. Fall back to twm<br>{<br>    # gosh, neither fvwm95 nor fvwm2 is available; <br>
    # fall back to failsafe settings<br>    [ -x /usr/bin/xsetroot ] && /usr/bin/xsetroot -solid '#222E45'<br><br>    if [ -x /usr/bin/xclock ] ; then<br>    /usr/bin/xclock -geometry 100x100-5+5 &<br>
    elif [ -x /usr/bin/xclock ] ; then<br>    /usr/bin/xclock -geometry 100x100-5+5 &<br>    fi<br>    if [ -x /usr/bin/xterm ] ; then<br>        /usr/bin/xterm -geometry 80x50-50+150 &<br>    fi<br>    if [ -x /usr/bin/firefox -a -f /usr/share/doc/HTML/index.html ]; then<br>
    /usr/bin/firefox /usr/share/doc/HTML/index.html &<br>    fi<br>    if [ -x /usr/bin/twm ] ; then<br>    exec /usr/bin/twm<br>    fi<br>}<br><br>