Bug 973618
Summary: | no restart and shutdown opition in lightdm menu | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Wolfgang Ulbrich <fedora> | ||||||||
Component: | lightdm | Assignee: | Rex Dieter <rdieter> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | urgent | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 19 | CC: | awilliam, christoph.wickert, dan.mashal, gregor, kevin, nonamedotc, rdieter, sfranzen85, steve.bz | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | AcceptedFreezeException | ||||||||||
Fixed In Version: | lightdm-1.6.0-10.fc19 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2013-06-22 02:32:08 UTC | Type: | Bug | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 834091 | ||||||||||
Attachments: |
|
Description
Wolfgang Ulbrich
2013-06-12 11:10:10 UTC
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). |