This makes it possible to launch a Wayland compositor using ConsoleKit2 as the session controller.
Tested with a customized Weston. But this should make KDE's kwin_wayland work I think. (It supports CK2 already)
huh. So I tried it, ck works fine, KWin however wasn't actually ported to FreeBSD…
I made an attempt: https://reviews.freebsd.org/differential/diff/52600/ — it starts up, but
deviceFromSyspath("/dev/dri/card0") is actually not necessary anymore! card enumeration seems to work fine since https://github.com/FreeBSDDesktop/libudev-devd/commit/f11ee5b418c740ba6fd4c946ab10b0d89702e4d0