The attached patch seems to make the situation slightly better for (I also have the same problem as Joey without the patch).

It acheives two things:
o Prevents usplash from trying to exit both on GDM/KDM start *and* stop
o Doesn't attempt usplash_write if usplash isn't running

It would still be nice to also try to add some of the wait-for-active-console-to-change functionality from the ubuntu usplash patch Sven mailed to this bug report earlier as I still see a brief text console between usplash and gdm (essentially the last chunk of that patch).

--
David Härdeman
diff -ur ./usplash-0.5.2.orig/debian/lsb-base-logging-ubuntu.sh ./usplash-0.5.2/debian/lsb-base-logging-ubuntu.sh
--- ./usplash-0.5.2.orig/debian/lsb-base-logging-ubuntu.sh	2007-11-02 01:11:50.000000000 +0100
+++ ./usplash-0.5.2/debian/lsb-base-logging-ubuntu.sh	2007-11-02 01:12:03.000000000 +0100
@@ -2,7 +2,7 @@
 # See /lib/lsb/init-functions for usage help.
 
 log_use_usplash () {
-    type usplash_write >/dev/null 2>&1
+    type usplash_write >/dev/null 2>&1 && pidof usplash >/dev/null 2>&1
 }
 
 log_success_msg () {
@@ -53,7 +53,9 @@
     # gets crazy. Enforce usplash ends before running GDM/KDM. (yes,
     # start kills it)
     if [ "$2" = "gdm" ] || [ "$2" = "kdm" ]; then
-        DO_NOT_SWITCH_VT=yes /etc/init.d/usplash start
+        if echo "$1" | grep "Start"; then
+            DO_NOT_SWITCH_VT=yes /etc/init.d/usplash start
+        fi
     fi
 
     if log_use_usplash; then

Reply via email to