# .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