1 2 3 4
# ~/.bash_profile [[ -f ~/.bashrc ]] && . ~/.bashrc [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx -- -keeptty -nolisten tcp > /dev/null 2>&1