1 # 2 # ~/.bash_profile 3 # 4 5 [[ -f ~/.bashrc ]] && . ~/.bashrc 6 7 if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then 8 exec startx 9 fi