Fernando de Oliveira wrote: > Actually, I use > > if [[ -z $DISPLAY ]] && ! [[ -e /tmp/.X11-unix/X0 ]] && (( EUID )); then > while true; do > read -p 'Do you want to start X? (y/n): ' > case $REPLY in > [Yy]) xinit ~/.xinitrc &> ~/.x-session-errors ;; > [Nn]) break ;; > *) printf '%s\n' 'Please answer y or n.' ;; > esac > done > fi
Mine's a little simplier: $ cat ~/.xinitrc XFCE4_SESSION_WITH_CK="1" exec dbus-launch --exit-with-session xfce4-session $ startx -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
