著者: Jaret Cantu 日付: To: Edward Bartolo, T.J. Duchene CC: dng 題目: Re: [Dng] Is it useful to create a .so file to replace functions
imported from libsystemd & Co.?
On 05/18/2015 07:20 AM, Edward Bartolo wrote: > xfce4-power-manager, xfce4-session, upowerd don't look like using
> libsystemd directly. I found many functions imported from udev but my
> assumption is that these are already provided by gudev although I may
> be wrong.
>
> My XFCE4 installation in Devuan cannot shutdown or restart as these
> options for some reason unknown to me are greyed out.
Hope someone finds this useful:
My XFCE desktop was able to shutdown/reboot just fine. Then, I tried
installing a systemd-free gnome3. There was some upgrading, gdm
certainly didn't work, and I had to fall back to my wdm/xfce desktop.
Turns out, next time I tried to reboot, I had the grayed-out options
like you did.
After some digging in the xfce4-session code, I suspected that I was
getting denied the right to shutdown from ConsoleKit. I was right: