This file is indexed.

/etc/X11/Xsession.d/99upstart is in upstart 1.12.1-0ubuntu4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# 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