[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#489734: usplash: kdm unable to start X when usplash is active - VT switching related



tags 489734 + patch
thanks

Here is a tested patch to solve the issue.  It also require a fix in
usplash (#492407) to work properly, but with those two fixes in place,
usplash stop as it should before kdm is started, and the boot work as
it should in Debian Edu.

--- kdm.orig    2008-03-30 14:25:59.000000000 +0200
+++ kdm 2008-07-25 22:21:14.000000000 +0200
@@ -17,6 +17,8 @@
 #
 set -e

+. /lib/init/splash-functions-base
+
 # To start kdm even if it is not the default display manager, change
 # HEED_DEFAULT_DISPLAY_MANAGER to "false."
 HEED_DEFAULT_DISPLAY_MANAGER=true
@@ -111,6 +115,8 @@
        [ "$(cat $DEFAULT_DISPLAY_MANAGER_FILE)" != "$DAEMON" ]; then
       echo "Not starting K Display Manager (kdm); it is not the default display manager."
     else
+      splash_stop
+
       echo -n "Starting K Display Manager: kdm"
       start-stop-daemon --start --quiet $SSD_ARGS -- $ARG || echo -n " already running"
       echo "."
@@ -172,6 +179,8 @@
       fi
     fi
     echo "."
+
+    splash_start
   ;;

   *)


Happy hacking,
-- 
Petter Reinholdtsen



Reply to: