Comment 36 for bug 1178373

Revision history for this message
In , Guido Berhoerster (gber) wrote :

(In reply to Eric Koegel from comment #14)
> Created attachment 5498 [details]
> Suspend/hibernate upower 0.99 (no logind)
>
> Since everyone else is doing the logind piece, I wrote a small patch so
> xfce4-session will work with upower 0.99 but without logind.

Although I think it would be a good thing not to rely on logind, please do not extend this crude and ugly sudo hack that BSD and Solaris users have to put up with, but replace xfsm-shutdown-helper with a small DBus service and use PolicyKit to authorize access to shutdown/suspend methods. xfsm-shutdown-helper should just go away, PolicyKit is nowadays available even on the BSDs and Solaris.