Description of problem: After a fresh installed MATE desktop from f19 netiso TC2, shutdown and restart options didn't displayed in lightdm panel menu. In /var/log/lightdm/x-0-greeter.log i found this warning. ** (process:468): WARNING **: Failed to open CK session: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files Installing consolekit-x11 fix the issue, after a restart the menu items displayed well are working. Also 'suspend on lid close' didn't work without consolekit, but i'm not shure if this lightdm related. Version-Release number of selected component (if applicable): lightdm-1.6.0-9.fc19.x86_64 How reproducible: Steps to Reproduce: 1. Install MATE Desktop from netinstall iso f19 TC2 and reboot. 2. try to to restart/shutdown from lightdm panel menu. Actual results: no shutdown/restart option in panel menu Expected results: shutdown/restart option in panel menu Additional info:
Created attachment 760098 [details] lightdm.log
Created attachment 760099 [details] x-0.log
Created attachment 760100 [details] x-0-greeter.log
I'm seeing this also on a TC6 xfce spin install.
I can confirm now: * selinux isnt it (enabled/permissive doesn't matter) * polkit.rules seems correct Now, testing different bindings (gtk/gobject vs qt/kde). * gtk/gobject doesnt work
A ha! * lightdm-kde works OK, time to re-review the systemd-login patch to lightdm-gobject bindings
For example, working -qt bindings code example: if ( d->login1Interface->isValid() ) { QDBusReply<QString> reply1 = d->login1Interface->call("CanReboot"); if (reply1.isValid()) { return (reply1.value()=="yes"); } } -gobject bindings equivalent: /** * CanReboot, CanPowerOff returns a string "yes", "no", or "challenge", not a boolean as ConsoleKit **/ if (g_variant_is_of_type (result, G_VARIANT_TYPE ("(s)"))) { g_variant_get (result, "(b)", str_result); if(g_strcmp0(str_result,true_result) == 0) { function_result = TRUE; } ... Now, I get to wrap by brain around how this g_variant stuff is supposed to work again. :-/
lightdm-1.6.0-10.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/lightdm-1.6.0-10.fc19
nominating blocker, xfce/mate spins won't be able to shutdown/restart from login screen without this fix.
+1 FE (since it's non blocking desktops, I don't think it can really be a blocker)
Package lightdm-1.6.0-10.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing lightdm-1.6.0-10.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-11449/lightdm-1.6.0-10.fc19 then log in and leave karma (feedback).
+1
+1 here too, setting accepted freeze exception.
1.6.0-10 fixes the issue. restart and shutdown options are back.
thanks! setting VERIFIED. can you up-karma the update if you didn't already?
lightdm-1.6.0-10.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
I still get this problem: kernel 3.10.4-300.fc19.x86_64 $ rpm -q lightdm lightdm-1.6.0-10.fc19.x86_64 Suspend works with gnome, not with MATE lenovo G570 laptop. Fn-F1: beeps and (sometimes) produces a window with "Failure reported as: Cannot suspend" No sleep/hibernate options in the shutdown window. Same with and without ConsoleKit-x11. selinux not enforced. Nothing in any log looks helpful.
I also still have this issue on Fedora 20 with KDE and lightdm 1.8.5-2. It must still be something to do with permissions, as the buttons are present and working when I run $ lightdm -d --test-mode.
Steven, please file a separate bug, yours is likely different
(In reply to Rex Dieter from comment #19) > Steven, please file a separate bug, yours is likely different Done (1076493).