Bug#895292: Restart, Suspend, Hibernate, Shut Down all greyed out in lightdm
Vincent Lefevre
vincent at vinc17.net
Tue Apr 10 14:35:20 BST 2018
On 2018-04-10 12:45:51 +0200, Michael Biebl wrote:
> Do you use hidepid for /proc?
No, I don't.
> > Apr 9 15:33:25 ypig dbus-daemon[2930]: [system] Successfully activated service 'org.freedesktop.ConsoleKit'
>
> Please uninstall/purge consolekit. It's not only useless when logind is
> used, but actively harmful:
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888892
Done. But this doesn't solve the problem.
I get in /var/log/syslog:
[...]
Apr 10 15:06:46 ypig dbus-daemon[2968]: [system] Activating service name='org.freedesktop.login1' requested by ':1.4' (uid=0 pid=3014 comm="/usr/sbin/lightdm ") (using servicehelper)
Apr 10 15:06:47 ypig dbus-daemon[2968]: [system] Activating service name='org.freedesktop.systemd1' requested by ':1.5' (uid=0 pid=3160 comm="/lib/systemd/systemd-logind ") (using servicehelper)
Apr 10 15:06:47 ypig dbus-daemon[2968]: [system] Successfully activated service 'org.freedesktop.login1'
Apr 10 15:06:47 ypig dbus-daemon[2968]: [system] Successfully activated service 'org.freedesktop.systemd1'
Apr 10 15:06:59 ypig dbus-daemon[3338]: [session uid=124 pid=3336] Activating service name='org.a11y.Bus' requested by ':1.0' (uid=124 pid=3324 comm="/usr/sbin/lightdm-gtk-greeter ")
Apr 10 15:06:59 ypig dbus-daemon[3338]: [session uid=124 pid=3336] Successfully activated service 'org.a11y.Bus'
Apr 10 15:07:08 ypig dbus-daemon[2968]: [system] Activating service name='org.freedesktop.PolicyKit1' requested by ':1.5' (uid=0 pid=3160 comm="/lib/systemd/systemd-logind ") (using servicehelper)
Apr 10 15:07:08 ypig polkitd[3361]: started daemon version 0.105 using authority implementation `local' version `0.105'
Apr 10 15:07:08 ypig dbus-daemon[2968]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
The lightdm.log diff:
ypig:~> logdiff -u lightdm.log-237 lightdm.log-238
[... identical lines except pid's ...]
DEBUG: Activating VT 7
-DEBUG: Activating login1 session c1
-DEBUG: Seat seat0 changes active session to c1
-DEBUG: Session c1 is already active
DEBUG: Greeter connected version=1.18.3 resettable=false
[... identical lines except pid's ...]
In seat0-greeter.log for systemd 237, I have:
** Message: 15:24:55.160: Starting lightdm-gtk-greeter 2.0.4 (Feb 21 2018, 10:34:28)
** Message: 15:24:55.247: [Configuration] Reading file: /usr/share/lightdm/lightdm-gtk-greeter.conf.d/01_debian.conf
** Message: 15:24:55.255: [Configuration] Reading file: /etc/lightdm/lightdm-gtk-greeter.conf
** (lightdm-gtk-greeter:3321): WARNING **: 15:24:57.408: [PIDs] Failed to execute command: upstart
[...]
In seat0-greeter.log for systemd 238, I have:
** (process:3321): WARNING **: 15:06:56.930: Failed to open CK session: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
** Message: 15:06:58.135: Starting lightdm-gtk-greeter 2.0.4 (Feb 21 2018, 10:34:28)
** Message: 15:06:58.206: [Configuration] Reading file: /usr/share/lightdm/lightdm-gtk-greeter.conf.d/01_debian.conf
** Message: 15:06:58.214: [Configuration] Reading file: /etc/lightdm/lightdm-gtk-greeter.conf
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: nouveau
** (lightdm-gtk-greeter:3324): WARNING **: 15:07:00.342: [PIDs] Failed to execute command: upstart
[...]
So, it seems that with systemd 238, the login1 session is not
activated (and as a consequence, it tries to open a CK session,
which does not work, but this is not the issue here).
--
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
More information about the Pkg-systemd-maintainers
mailing list