[Nix-dev] Suspend in KDE broken

roconnor at theorem.ca roconnor at theorem.ca
Thu May 20 13:55:30 CEST 2010


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:
>
> [eelco at 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.''



More information about the nix-dev mailing list