# Start the user session
if [ -n "$UPSTART" ]; then
    case "$BASESESSION" in
        gnome-session*)
            export SESSIONTYPE=gnome-session
            ;;
        lxsession*)
            export SESSIONTYPE=lxsession
            ;;
    esac

    STARTUP="init --user"
    unset UPSTART
fi
