I see the only thing it does is enforcing policykit: REQUIRED_USE="systemd? ( policykit )" Maybe the only thing we need to do here is do the same for USE elogind?
Looking at xfsm-systemd.{c,h} all it seems to use is logind interface, so it should indeed work with elogind (and enforcing the same in REQUIRED_USE as described above).
Would you be able to test it with elogind?
If no one else does, I guess...
Yes, tested lock session, restart, worked fine without extra configuration.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d8ffcc9eeb16d9245969085b169fa73acbdd43d commit 3d8ffcc9eeb16d9245969085b169fa73acbdd43d Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2019-03-31 18:07:55 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-03-31 18:19:59 +0000 xfce-base/xfce4-session: Add USE=elogind equiv to USE=systemd Add USE=elogind that works the same as USE=systemd, i.e. pulls policykit flag in. We eventually want to probably rewrite this to something saner but let's settle with this for now. Closes: https://bugs.gentoo.org/682126 Signed-off-by: Michał Górny <mgorny@gentoo.org> xfce-base/xfce4-session/xfce4-session-4.12.1-r2.ebuild | 5 +++-- xfce-base/xfce4-session/xfce4-session-4.13.1.ebuild | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-)