5

systemd - x server starts at tty2

view full story
linux-howto

https://bbs.archlinux.org – you can pass vtXX as argument to start X on a given tty (here tty4)# # ~/.bash_profile # if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then if ! [ -e /tmp/.X11-unix/X0 ]; then exec nohup xinit openbox -- vt4 > .xlog & vlock else echo "X server 0 is already running." fi fi# # ~/.xinitrc # numlockx & case $1 in gnome) exec ck-launch-session gnome-session;; openbox) exec ck-launch-session dbus-launch openbo (HowTos)