[Bug 480695] [NEW] kdm (and gdm) does not start if /etc/X11/default-display-manager is not completely standard
MagnusPI
ipesando at to.infn.it
Wed Nov 11 13:17:32 UTC 2009
Public bug reported:
Binary package hint: kdebase-workspace
I upgraded from 9.04 to 9.10 and both kdm and gdm could not be started by init neither automatically nor manually with
"start kdm".
The reason is that the script for upstart is too strict in checking.
My /etc/X11/default-display-manager was
#/usr/sbin/gdm
/usr/bin/kdm
and the script stanza in /etc/init/kdm (and /etc/init/gdm) contains
[ ! -f /etc/X11/default-display-manager -o "$(cat /etc/X11/default-
display-manager 2>/dev/null)" = "/usr/bin/kdm" ]
which fails writing an almost useless log in /var/log/syslog
Nov 10 10:24:20 to4ixl init: kdm main process (1135) terminated with status 1
Nov 10 10:24:20 to4ixl init: kdm main process ended, respawning
Nov 10 10:24:20 to4ixl init: gdm main process (1138) terminated with status 1
Nov 10 10:24:20 to4ixl init: gdm main process ended, respawning
I suggest changing the first line of the script stanza to
[ ! -f /etc/X11/default-display-manager -o "$( grep -E '^/usr/bin/kdm'
/etc/X11/default-display-manager 2>/dev/null)" = "/usr/bin/kdm" ]
ProblemType: Bug
Architecture: i386
Date: Wed Nov 11 14:04:30 2009
DistroRelease: Ubuntu 9.10
Package: kdm 4:4.3.2-0ubuntu7
ProcEnviron:
LANGUAGE=
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: kdebase-workspace
Uname: Linux 2.6.31-14-generic i686
XsessionErrors: (polkit-gnome-authentication-agent-1:2084): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
** Affects: kdebase-workspace (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386
--
kdm (and gdm) does not start if /etc/X11/default-display-manager is not completely standard
https://bugs.launchpad.net/bugs/480695
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase-workspace in ubuntu.
More information about the kubuntu-bugs
mailing list