linux:x11:login
This is an old revision of the document!
Table of Contents
X11 login ohne Display Manager
X11 autostart mit login an tty1
~/.bash_profile
if shopt -q login_shell; then
[[ -f ~/.bashrc ]] && source ~/.bashrc
[[ -t 0 && $(tty) == /dev/tty1 && ! $DISPLAY ]] && exec startx
else
exit 1 # Somehow this is a non-bash or non-login shell.
fi
X11 autostart mit login an vt8
~/.bash_profile
if [[ ! ${DISPLAY} && ${XDG_VTNR} == 1 ]]; then
exec startx
fi
linux/x11/login.1697710498.txt.gz · Last modified: 2023/10/19 10:14 by ms