X when Log in
From ZENotes
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