[Pkg-utopia-maintainers] Bug#591618: consolekit not started automatically when logging in with kdm

Martin Steigerwald ms at teamix.de
Wed Aug 4 08:34:35 UTC 2010


Package: consolekit
Version: 0.4.1-4
Severity: important

I recently upgraded my Dell workstation at work from Lenny to Squeeze.

Upon logging in with kdm 4:4.4.5-1 I get the following error dialog:

"Warning: Cannot open Consolekit session: Unable to open session:
Failed to execute programm /usr/lib/dbus-1.0/dbus-daemon-launch-helper:
Success"

This happens on every login not only on the first one (see 
http://bugs.debian.org/562026). Also that launch helper is setuid root
(see http://bugs.debian.org/578203 and http://bugs.debian.org/569058):

ms at mango:~> ls -l /usr/lib/dbus-1.0/dbus-daemon-launch-helper
-rwsr-xr-- 1 root messagebus 39880 27. Jul 21:39 /usr/lib/dbus-1.0/dbus-daemon-launch-helper

I have the following in syslog:

Aug  4 09:22:59 mango kdm: :0[21127]: Cannot open ConsoleKit session: Unable to open session: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Aug  4 09:23:01 mango ck-launch-session: error connecting to ConsoleKit

When I click "Ok" in the dialog, I still can login, but after some time I can
not lock the KDE session anymore, also Alt-F2 for running KRunner does not work.
When I logout and login again both functions work again.

When trying again with pressing Ctrl Alt Backspace when I see the
error dialog:

Aug  4 10:08:43 mango kdm: :0[10486]: Cannot open ConsoleKit session: Unable to open session: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Aug  4 10:08:47 mango kdm: :0[10486]: Cannot read from greeter for display :0
Aug  4 10:08:47 mango kdm: :0[10486]: Abnormal termination of greeter for display :0, code 1, signal 0
Aug  4 10:08:47 mango kdm: :0[10486]: Cannot close ConsoleKit session: Unable to close session: no session open

There is no console-kit-daemon process running.

To work around this issue I just started consolekit-daemon as root manually.
Then I didn't get an error message at boot.

I do have an Debian Squeeze/Sid/Experimental setup on my ThinkPad T42 setup
with same versions of ConsoleKit, DBUS and KDE, where this problem does
not happen. The only notable difference I can think of is that the
workstation as /home mounted via NFS while the ThinkPad has it as Ext4
filesystem. / is on an Ext4 filesystem is both cases. The NFS export is
mounted with root_squash, so that root cannot access it:

mango:~# LANG=C touch /home/ms/testfile
touch: cannot touch `/home/ms/testfile': Permission denied

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.33.6-workstation-toi-3.1.1.1-04982-g768d8a0-dirty (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages consolekit depends on:
ii  dbus                    1.2.24-3         simple interprocess messaging syst
ii  libc6                   2.11.2-2         Embedded GNU C Library: Shared lib
ii  libck-connector0        0.4.1-4          ConsoleKit libraries
ii  libdbus-1-3             1.2.24-3         simple interprocess messaging syst
ii  libdbus-glib-1-2        0.86-1           simple interprocess messaging syst
ii  libglib2.0-0            2.24.1-1         The GLib library of C routines
ii  libpolkit-gobject-1-0   0.96-2           PolicyKit Authorization API
ii  libx11-6                2:1.3.3-3        X11 client-side library
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages consolekit recommends:
pn  libpam-ck-connector           <none>     (no description available)

consolekit suggests no packages.

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list