I'd like to also add that lock as never worked in KDE for me under nixos.

On Thu, 20 May 2010, Eelco Dolstra wrote:

Hi,

I noticed that sleep / suspend-to-RAM in KDE is broken.  Running "pm-suspend" as
root does work.  This may be a PolicyKit/polkit (whatever it's called this week)
problem, since dbus-send gives this error:

[ee...@dutibo:~]$ dbus-send --system --print-reply \
 --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer \
 org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0
Error org.freedesktop.Hal.Device.UnknownError: error:
org.freedesktop.Hal.Error: Could not determine whether caller is privileged
org.freedesktop.Hal.Device.Error

There is a file
/etc/PolicyKit/policy/org.freedesktop.hal.power-management.policy that specifies
that normal users can suspend, but apparently no equivalent file for polkit.

P.S. we shouldn't have both PolicyKit and polkit, it's confusing.



--
Russell O'Connor                                      <http://r6.ca/>
``All talk about `theft,''' the general counsel of the American Graphophone
Company wrote, ``is the merest claptrap, for there exists no property in
ideas musical, literary or artistic, except as defined by statute.''
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to