Bugzilla – Bug 410817
xdm lacks consolekit support
Last modified: 2010-09-11 09:29:28 UTC
Clicking on the Shutdown within XFCE menu do nothing and clicking on the Restart do logout but doesn't restart the computer. I have xdm as display manager as dafult.
Xfce just issues DBus message, which is processed with System D-Bus. It seems there is some problem with PolicyKit/DBus. $ dbus-send --system --dest=org.freedesktop.Hal --type=method_call --print-reply /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Reboot Error org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freedesktop.hal.power-management.reboot no <-- (action, result) On another machine (KDM+Xfce): $ dbus-send --system --dest=org.freedesktop.Hal --type=method_call --print-reply /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Hibernate method return sender=:1.1 -> dest=:1.174 reply_serial=2 int32 0
I guess xdm lacks consolekit support so users are not considered as active.
Created attachment 234146 [details] mandriva patches against xdm 1.1.8 I was able to find patches from Mandriva that add console-kit support to Xdm. I think they are worth trying. See attachment (run configure --with-consolekit to build console kit support).
Pavol, why are these patches not applied upstream? Has this ever been discussed in the X.Org communitiy? Please open a bugreport on bugs.freedesktop.org (product: xorg, component: xdm) and add me (sndirsch@suse.de) to Cc. You need to register first. Thanks.
Stefan: reported as https://bugs.freedesktop.org/show_bug.cgi?id=17325
*** Bug 537364 has been marked as a duplicate of this bug. ***
Are the patches mentioned by Takashi mentioned in the upstream bug already applied in 11.2? Bug #537364 suggests otherwise ... :-/
adding #528829 for reference
(In reply to comment #8) > Are the patches mentioned by Takashi mentioned in the upstream bug already > applied in 11.2? Yes, they are. Make sure you see the follwing entry in RPM changelog: ------------------------------------------------------------------- Tue Aug 18 14:40:43 CEST 2009 - tiwai@suse.de - add missing ConsoleKit-devel to buildrequires