Created attachment 347858 [details] logind/consolekit runtime detection patch As you already know, I like to be able runtime detect consolekit/logind so that one can transition to systemd (or go back to openrc+consolekit) easily and with less pain. The attached patch (not upstreamed but feel free to do it) makes xfce4-session able to use logind only if it's running and fallback to consolekit otherwise, if xfce4-session is compiled with --systemd.
=xfce4-session-4.10.1-r2 is using Fedora systemd compat patch, and will stay as is now, it's the last stable likely from 4.10 series >=xfce4-session-4.11 comes with UPower 0.99 support and is for ~arch up until upstream releases final 4.12, and the patch in this bug is no longer suitable for this version http://bugzilla.xfce.org/show_bug.cgi?id=10076 should be adapted to work of http://bugzilla.xfce.org/show_bug.cgi?id=9952
Closing. Reopen if you got updated work.