https://bugzilla.novell.com/show_bug.cgi?id=341605#c6
Carlos Robinson
(In reply to comment #4 from Carlos Robinson)
(In reply to comment #3 from Holger Macht)
then, where is the correct place to tell the computer to hibernate when I press the power button?
It should be gnome-power-manager or kpowersave.
But in runlevel 3 in 10.2 the hibernation could trigger with the power button. Surely this behavior has to be independent of the desktop. In any case, in gnome-power-manager the actions defined for both the power button and suspend are "hibernate". In KDE, I think the settings were grayed out (see below).
Does 'powersave -U' work as user whenever it doesn't work with
gnome-power-manager?
cer@nimrodel:~> powersave -U User is not allowed for hal-power-hibernate according to PolicyKit.
This seems like the root cause. Does powersave -U work as root?
Yes. I have a windomaker session started in console 8, and tried there. It triggers the same response as pm-hibernate, with the green splash screen with a progress bar. By the way, after aborting the hibernation (backspace) the mouse click in windowmaker stopped working. More. I have started a second session (in console 8) as **root**, using kde this time. I don't see any kpowersave icon in the task bar. I search for "kpower" or "power" in the control panel, there is none. I start "powersave" in a konsole, and I'm told it is already running. So I kill it, and restart it again: I get the prompt back, but nothing to be seen anywhere. Where is the kpowersave program, applet, or whatever it is, that I can find it and configure it? I'm root, so I'm allowed anything. Finally, the "leave" menu only offers logout and end. No suspend or hibernate anywhere.
/etc/PolicyKit/PolicyKit.conf is the default, almost empty file.
This (/usr/share/PolicyKit/policy/hal-power.policy) should be responsible.
It contains this:
<policy id="hal-power-hibernate">
<description>Hibernate the system</description>
<message>System policy prevents hibernating the system</message>
<defaults>
Who/what is lying to powersave to tell it that this machine can not hibernate?
Nobody does. It just tells that _S3_ (s2ram) is not available, which is correct.
Well, both gnome and kde refuse to hibernate, and the machine is perfectly capable of hibernating. I do it several times per day, by command line. Something somewhere is telling those programs not to hibernate.
Please also post the output of ck-list-sessions.
nimrodel:~ # ck-list-sessions nimrodel:~ # cer@nimrodel:~> ck-list-sessions cer@nimrodel:~> Nothing, no output. Where should I look? And there is no help at all: cer@nimrodel:~> pinfo ck-list-sessions Przemek's Info Viewer v0.6.9 Error: could not open info file, trying manual Error: No manual page found cer@nimrodel:~> ck-list-sessions --help Usage: ck-list-sessions [OPTION...] Help Options: -?, --help Show help options Application Options: -V, --version Version of this application And it doesn't say what those "options" may be... What? Now error console 10 has dissapeared? Can that be related to any of the above tests? :-O -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.