You are not logged in.
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
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
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!!
Offline
Thanks!
Offline