1 2 3 4 5 6 7 8 9 10
# .bash_profile sourced by login shells (tty) if [ -f ~/.bashrc ] ; then . ~/.bashrc fi # StartX when first logging in. if [[ "$(tty)" = "/dev/tty1" ]]; then startx fi