blob: b9e6d7f45fbc2c516b6815151b1b2e382ee56733 (
plain)
1
2
3
4
5
6
7
8
|
if [[ $(uname) == "Linux" ]]; then
if [[ -z $DISPLAY ]] && (( $EUID != 0 )) {
[[ ${TTY/tty} != $TTY ]] && (( ${TTY:8:1} <= 3 )) &&
startx 1>/tmp/xsession-errors 2>&1 &
vlock
}
fi
|