startx by default but not on ssh

This commit is contained in:
Frank Villaro-Dixon 2013-07-02 00:51:58 +02:00
parent 150eab0b4c
commit 8dcb892343

2
bashrc
View file

@ -2,7 +2,7 @@
shopt -s checkwinsize
#Launch startx when login
#[[ -z $DISPLAY && $XDG_VTNR -le 4 ]] && exec startx
[[ -z $DISPLAY && $XDG_VTNR -le 4 && -z $SSH_CLIENT ]] && exec startx
shopt -s histappend
PROMPT_COMMAND='history -a'