[Pkg-sysvinit-devel] Bug#467196: Bug#467196: initscripts: GDM no longer start automagically on Lenny

Octavio Alvarez alvarezp at alvarezp.ods.org
Mon Apr 7 07:12:27 UTC 2008


I have the same problem.

/etc/X11/default-display-manager has /usr/bin/gdm, even when it's
installed in /usr/sbin/gdm. However, correcting it did not help.

However, the following modification helped me:

--- gdm.old	2008-04-07 00:10:45.000000000 -0700
+++ gdm	2008-04-07 00:02:42.000000000 -0700
@@ -39,7 +39,9 @@
            [ "$CONFIGURED_DAEMON" != gdm ] ; then
                 log_action_msg "Not starting GNOME Display Manager; it
is not the default display manager"
         else
+		set +e
                 log_daemon_msg "Starting GNOME Display Manager" "gdm"
+		set -e
                 start_daemon $DAEMON
                 log_end_msg $?
         fi

There is some "pidof splashy" code in /etc/lsb-base-logging.sh failing,
returning 1 and quitting the script because of set -e.







More information about the Pkg-sysvinit-devel mailing list