X when Log in

From ZENotes
Jump to: navigation, search

http://wiki.archlinux.org/index.php/Start_X_at_boot

if  -z "$DISPLAY"  &&  ! -a "/tmp/.X11-unix/X0"  &&  "`whoami`" != "root" ; then
 . startx
 logout
fi


see also

http://bbs.archlinux.org/viewtopic.php?id=6182

http://wiki.archlinux.org/index.php/Automatic_login_to_virtual_console#Using_mingetty

http://aur.archlinux.org/packages.php?ID=13793

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox