# HG changeset patch # User Pascal Bellard # Date 1361040833 -3600 # Node ID 6985bc31569e9b5af7a65c01f68e347f2c987b0b # Parent 7627d005986cac4b310612597e48f104bc6c6940 system.sh: base can't launch X11 diff -r 7627d005986c -r 6985bc31569e etc/init.d/system.sh --- a/etc/init.d/system.sh Thu Jan 17 19:14:14 2013 +0100 +++ b/etc/init.d/system.sh Sat Feb 16 19:53:53 2013 +0100 @@ -128,7 +128,7 @@ fi # Start X sesssion as soon as possible -if [ "$SCREEN" != "text" ] && [ "$LOGIN_MANAGER" ]; then +if [ "$SCREEN" != "text" ] && [ "$LOGIN_MANAGER" ] && [ -x /etc/init.d/$LOGIN_MANAGER ]; then echo -n "Starting X environment..." /etc/init.d/dbus start >/dev/null if [ $(/bin/hostname) == '(none)' ];then