``` TTY="$(tty)" if [ -z "${DISPLAY}" -a "$TTY" = "/dev/tty1" ]; then exec startx /etc/X11/Sessions/Xsession -- :0 -nolisten tcp fi