hibernate/suspend doesn't work without root privileges

Bug #323852 reported by Ivan Zorin
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gnome-power-manager

I use Ubuntu Jaunty with latest updates.
Problem: hibernate/suspend doesn't work via gnome menu or gnome-power-cmd.sh command
Steps to reproduce:
1. power on your system.
2. log in
3. open some window
4. Run Menu -> Shut Down... -> Hibernate/Suspend
What should happens: system should be hibernated/suspended
What happens: screen just locks

As far as I know, these commands also can be executed via gnome-power-cmd.sh command, so here log of this commands:
> gnome-power-cmd.sh suspend
Suspending
*here lock screen happens*
Error org.freedesktop.DBus.Error.NoReply: 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.
Failed
> gnome-power-cmd.sh hibernate
Hibernating
*here lock screen happens*
Error org.freedesktop.DBus.Error.NoReply: 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.
Failed
>

Possible solution:
hibernate/suspend system via pm-utils like this:
sudo(!) pm-hibernate or sudo(!) pm-suspend - without root privileges these commands won't run; it's a possible solution, but it has at least two inconvenient moments:
1. you must run it from terminal (so, you can't binding this action at some key - for example, at power button)
2. you must type your password each time for hibernate/suspend, which pretty annoying

P.S. I've tested it at asus eeepc 901, if this significance.
P.P.S. I don't exclude, that only me have this issue, but, however, it's very strange issue, so, if you have any clues about this, welcome - i will be very appreciate for any useful information about this.

Revision history for this message
olol85 (olol85) wrote :

Same issue here. It showed up after an upgrade on debian (testing).

pm-suspend/hibernate works fine too.

Revision history for this message
olol85 (olol85) wrote :

bug is fixed with version 2.24.2-2
\o/

Ivan Zorin (iaz)
Changed in gnome-power-manager:
status: New → Fix Released
Revision history for this message
Fishy (marc-fishy) wrote :

Still happening on my machine.

Can someone give an idea of the fix ?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.