-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
elogind replacement #19
Comments
InitWare has a logind (inherited from systemd) which I ported, to some extent, to NetBSD along with FreeBSD. But the parts of interest to desktop environments (seat management etc) are not working right, though. That part of the codebase of logind is written in a very Linux-specific way. |
I am "planning" to implement login1 in Rust for FreeBSD as part of https://github.com/DankBSD/complexd (currently I only have a hostname1 implementation there). Someday it'll be a thing maybe :) There's also good old ConsoleKit2 (& my fork that fixes drm support on FreeBSD) — being the direct predecessor of logind, it has a very similar API on the D-Bus. In fact KDE's KWin still does support it. Might be an option to update CK2 to the new (login1) API. Call it CK3? :D On the other hand since there is a ported logind here… changes could be made similar to my CK2 changes to make it all work for desktop environments? What exactly is not working right? |
It's some time ago that I last played with it - but some issues I can remember it having on NetBSD is that it doesn't know how to enumerate devices (DRM, inputs, etc), it doesn't know how to tell the current VT and when a VT is changed, and it doesn't know on which vt you are trying to login (on Linux it does a "semi-ugly" thing which didn't seem to work on NetBSD:) InitWare/cmd/login/pam-module.c Lines 151 to 155 in 17263ea
I think Kenny Levinsen's seatd and libseat are also interesting entrants to this market; libseat (a seat management library which can work with either a logind or seatd backend; maybe more backends could appear) already commands an impressive share of the Wayland compositor market, and I think it's even used by WL-Roots, which is a popular framework for building Wayland compositors with. |
Hey, |
Inquiring minds want to know whether a standalone library implementing the bits of logind GNOME/KDE want to have is part of the roadmap.
The text was updated successfully, but these errors were encountered: