LoginKit icon indicating copy to clipboard operation
LoginKit copied to clipboard

GDM fails to start

Open dimkr opened this issue 11 years ago • 6 comments

Currently, LoginKit's goal is to make it possible to use GDM on Ubuntu 14.04/Trisquel 7, without having to install systemd-services and libsystemd-login0 (which come from systemd 204).

(I looked at GDM 3.15.2 - it requires the same API) (don't play with LoginKit unless you know what you're doing! use a VM)

At the moment, GDM fails to start:

export G_DEBUG_MODULES=LoginKit
export LD_LIBRARY_PATH=`pwd`
cp pam_loginkit.so /lib/x86_64-linux-gnu/security/
sed s~systemd~loginkit~g -i /etc/pam.d/common-session
killall systemd-logind; ./loginkitd
gdm
gdm[2420]: GdmDisplay: display lasted 0.079886 seconds
gdm[2420]: GdmDisplay: display lasted 0.076646 seconds
gdm[2420]: GdmDisplay: display lasted 0.076771 seconds
gdm[2420]: GdmDisplay: display lasted 0.084295 seconds
gdm[2420]: GdmDisplay: display lasted 0.087672 seconds
gdm[2420]: GdmDisplay: display lasted 0.079147 seconds
gdm[2420]: GdmLocalDisplayFactory: maximum number of X display failures reached: check X server log for errors

dimkr avatar Dec 05 '14 17:12 dimkr

The Inhibit and GetSession D-Bus calls are missing. WIP.

gnome-session[1194]: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at login.

dimkr avatar Dec 08 '14 12:12 dimkr

One step closer! gnome-shell crashes a bit further, when it calls Inhibit().

dimkr avatar Dec 08 '14 19:12 dimkr

8a86c21b9a3753a59186fb037ced1f97835c7c88 implements Inhibit() and more power management methods. Still untested, though.

dimkr avatar Dec 14 '14 21:12 dimkr

Almost there! http://tinypic.com/r/2i9jlop/8

dimkr avatar Dec 15 '14 21:12 dimkr

Seems ConsoleKit2 is affected by http://cgit.freedesktop.org/dbus/dbus-glib/commit/?id=7b81cf6445b0802c582dfca4a7e5afec5c9c389e and that's where the crash begins.

dimkr avatar Dec 15 '14 21:12 dimkr

With two bug fixes in dbus-glib - screeny

dimkr avatar Dec 17 '14 21:12 dimkr