You are not logged in.

#1 2008-05-08 19:30:21

hennes
Member
Registered: 2008-03-31
Posts: 50

[Solved] Gnome Power Manager: Won't suspend/hibernate

Hi.

I'm having a problem with Gnome's power manager not letting me suspend/hibernate from the GUI. I can perfectly suspend/hibernate from the commandline with

sudo pm-suspend
sudo pm-hibernate

However when I choose suspend or hibernate from the Gnome shutdown dialog nothing happens. The user.log simply says

May  8 21:16:09 angus gnome-power-manager: (jm) Resuming computer
May  8 21:16:09 angus gnome-power-manager: (jm) suspend failed
May  8 21:16:16 angus gnome-power-manager: (jm) Resuming computer
May  8 21:16:16 angus gnome-power-manager: (jm) hibernate failed

I'm suspecting that this is somehow related to dbus, because of this:

[root@angus jm]# gnome-power-cmd.sh suspend
Suspending
Failed to open connection to session message bus: 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.

and this

[jm@angus ~]$ gnome-power-cmd.sh suspend
Suspending
Error org.freedesktop.DBus.GLib.UnmappedError.GpmControlError.Code0: The message was not sent due to DBUS security rules

Can anyone help?

Last edited by hennes (2008-05-09 09:29:50)

Offline

#2 2008-05-08 23:37:19

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,398
Website

Re: [Solved] Gnome Power Manager: Won't suspend/hibernate

What groups is your user in?  Something is telling me that your problem is that you need to be in the "power" group for g-p-m to work.  But then again, those voices have been wrong before...

Offline

#3 2008-05-09 06:56:25

hennes
Member
Registered: 2008-03-31
Posts: 50

Re: [Solved] Gnome Power Manager: Won't suspend/hibernate

I already tried that yesterday, but just now I recognized that the 'groups' command doesn't list the power group for my user until I reboot the laptop.


Yay, things can be so simple. Thank you very much!! big_smile

Offline

#4 2008-07-21 19:14:45

azolotko
Member
Registered: 2008-04-25
Posts: 5

Re: [Solved] Gnome Power Manager: Won't suspend/hibernate

Thanks!

Offline

Board footer

Powered by FluxBB