Bugzilla – Bug 492825
GNOME power manager takes minutes to load, opening settings freezes and suspend/hybernate options are gone.
Last modified: 2011-03-01 23:58:04 UTC
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; nl-nl) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16 The GNOME power manager refuses to load. When clicking the shutdown button in the `computer' menu it takes a couple of minutes for the selection window (shutdown/reboot) to appear and the options for suspend and hybernate are missing (they used to be there but after the latest automatic update they were gone). Also starting the settings manager for power mangagement causes the application window to freeze. It could also be a problem with ACPI or an upstream GNOME power management problem because I encountered a similar problem (clicking the power button causes a freeze) on a (different and completely unrelated) Ubuntu machine, also after a recent update. Reproducible: Always Steps to Reproduce: 1.Click on computer -> shutdown 2.Wait 3. Actual Results: Takes minutes to load shutdown screen and hybernate/suspend options are missing. Expected Results: Almost instantanious (order of seconds) loading of the selection window with all four (shutdown,reboot,suspend,hybernate) options.
Holger: what's the right way to determine if it's a gnome-power-manager issue, a hal issue, a acpi issue, or even something else?
Hard to say :-) Isn't there another way to bring up the shutdown menu? Maybe on the command line where an strace is possible? This could be even related to a ConsoleKit/D-Bus security update. Pim, please attach the output of polkit-auth executed as user. Does 'powersave -u/-U' work as user and puts the system to sleep?
(In reply to comment #2) > Hard to say :-) Isn't there another way to bring up the shutdown menu? Maybe on > the command line where an strace is possible? Well, you can always run "gnome-session-save --shutdown-dialog". In the end, though, you'll want to strace gnome-session since the command line just calls a dbus method.
Ok. Pim, can you please also run "gnome-session-save --shutdown-dialog" from the command line? Does this also last long until the dialog is opened?
Created attachment 290430 [details] strace of gnome-session after calling gnome-session-save --shutdown-dialog
Sorry for the delay. Tried the following: 1. gnome-session-save --shutdown-dialog ** (gnome-session-save:9268): WARNING **: Failed to call shutdown: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. 2. strace gnome-session see attached file. 3. powersave -u works!
I failed to see this: (In reply to comment #0) > The GNOME power manager refuses to load. Does this mean you have no power manager icon? Is it running? If not, what's the output if you run it from the command line with "--no-daemon --verbose"?
No answer, so closing. Please reopen if you can reproduce on a recent version of openSUSE.