[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No suspend in XFCE without systemd?



Brian wrote:

> Perhaps you can be more detailed about two things?
> 
> 1. What does your customer mean by "does not want systemd""? If this a
> matter of not wanting systemd as the init system Jessie already
> accomodates this.
> 
> 2. What steps did you take to accomodate his wishes?

The devil in the details - don't forget to allow any to suspend or hibernate

cat /usr/share/polkit-1/actions/org.freedesktop.upower.policy

  <action id="org.freedesktop.upower.suspend">
....
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
+        <allow_any>yes</allow_any>
    </defaults>
  </action>

  <action id="org.freedesktop.upower.hibernate">
....
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
+        <allow_any>yes</allow_any>
    </defaults>
  </action>


works like a charm .... no it works like before

regards


Reply to: