Code: Select all
0100100100100000011000010110110100100000
0100111001100001010011100010000100100000
0100100100100000011000010110110100100000
0110000100100000011011010110000101101110
00100001
Not if you install by way of plasma-meta.I wonder if it's possible to run kde plasma on systems where systemd-logind and elogind are absent?
Code: Select all
$ grep -lE "logind|systemd" */*ebuild
drkonqi-legacy/drkonqi-legacy-6.3.80_p20250417.ebuild
drkonqi/drkonqi-6.3.5-r1.ebuild
drkonqi/drkonqi-6.3.6.ebuild
drkonqi/drkonqi-6.4.2.ebuild
kwin-x11/kwin-x11-6.4.2.ebuild
kwin/kwin-6.3.5-r2.ebuild
kwin/kwin-6.3.6.ebuild
kwin/kwin-6.4.2.ebuild
plasma-firewall/plasma-firewall-6.3.5.ebuild
plasma-firewall/plasma-firewall-6.3.6.ebuild
plasma-firewall/plasma-firewall-6.4.2.ebuild
plasma-meta/plasma-meta-6.3.5-r2.ebuild
plasma-meta/plasma-meta-6.3.6.ebuild
plasma-meta/plasma-meta-6.4.2.ebuild
plasma-workspace/plasma-workspace-6.3.5-r2.ebuild
plasma-workspace/plasma-workspace-6.3.6.ebuild
plasma-workspace/plasma-workspace-6.4.2.ebuild
powerdevil/powerdevil-6.4.2.ebuild
Code: Select all
0100100100100000011000010110110100100000
0100111001100001010011100010000100100000
0100100100100000011000010110110100100000
0110000100100000011011010110000101101110
00100001
I do not know whether this is relevant, but I have Plasma+elogind and use weston for havin sddm being on wayland instead of X. Weston needs seatd, so it is installed with USE="elogind -builtin -server -systemd" and works just fine. /usr/lib64/libseat.so.1 just asks elogind instead of its own server then.Zucca wrote:I considered installing elogind on that machine where I'd like to test out KDE, but then I stumbled upon Turnstile. So I'd still need seatd for seat management (I do want a seat aware system, I have use for it).
Well, elogind is not "stubbed out" but simply systemd-logind + some extras. It is explicitly _not_ a service manager, that would have been the core of systemd, and would make elogind useless when run by actual service managers like openrc. And unfortunately they don't elaborate on the "other useful functionality", so I have no idea what I am missing.While there are workarounds such as elogind, these are far from ideal. For instance, elogind is just a stubbed out version of upstream logind, and only provides the bare minimum, so systems using it are left without support for user services and other useful functionality.
Interesting. What extras?Yamakuzure wrote:Well, elogind is not "stubbed out" but simply systemd-logind + some extras.
Code: Select all
0100100100100000011000010110110100100000
0100111001100001010011100010000100100000
0100100100100000011000010110110100100000
0110000100100000011011010110000101101110
00100001
Expanding on Anon-E-moose's answer: sys-auth/elogind gets pulled only by kde-plasma/plasma-meta, because it installs sys-apps/dbus[elongind] and sys-fs/udisks[elogind]. Now, USE flag elogind makes sys-apps/dbus add extra code to dbus-daemon for processing configuration files that contain <policy at_console=value>, and makes sys-fs/udisks build the udisksd daemon (which does need either elogind or systemd-logind).Zucca wrote:I wonder if it's possible to run kde plasma on systems where systemd-logind and elogind are absent?
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though

Code: Select all
No backend specificed, automatically choosing drm
kwin_wayland_drm: failed to open drm device at "/dev/dri/card0"
kwin_wayland_drm: No suitable DRM devices have been found
Zucca wrote:Interesting. What extras?Yamakuzure wrote:Well, elogind is not "stubbed out" but simply systemd-logind + some extras.
Sure. In my books at least.Yamakuzure wrote:Do those qualify as "extras"? :)
Code: Select all
0100100100100000011000010110110100100000
0100111001100001010011100010000100100000
0100100100100000011000010110110100100000
0110000100100000011011010110000101101110
00100001
I see. Here's what happens for KWin 6.3.5:Chiitoo wrote:Did some quick testing after updating a year-old install, and reminded myself of what happens when trying to start LXQt with 'kwin_wayland' with seatd running.
Suppose this is some kind of a permission issue (the device/file /is/ there):
Code: Select all
No backend specificed, automatically choosing drm kwin_wayland_drm: failed to open drm device at "/dev/dri/card0" kwin_wayland_drm: No suitable DRM devices have been found
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though

Zucca wrote:Sure. In my books at least.Yamakuzure wrote:Do those qualify as "extras"?
Two questions:
- can I set my custom XDG_RUNTIME_DIR while using elogind? Maybe via pam_env?
- Does elogind work on musl based systems?
Are you absolutely sure? So far elogind has always needed substantial patching to build with musl:Yamakuzure wrote:[*]Yes, thanks to the help of the VOID people, elogind is musl-compatible. (And if I do something that changes that, they get me notified quickly via issues and PRs. :-) )[/list]
Code: Select all
ls sys-auth/elogind/files/*musl* | wc -l
9Code: Select all
# Sam James <sam@gentoo.org> (2024-09-30)
# Needs porting to musl (bug #940130)
~sys-auth/elogind-255.5
~sys-auth/elogind-255.17
This is a consequence of how much systemd developers are interested in portabilityasturm wrote:So far elogind has always needed substantial patching to build with musl:
Gentoo carries patchsets for different versions of sys-apps/systemd-utils on musl profiles. I don't know where these come from, but, from the one used for the 255 series, systemd-musl-patches-255.14, it looks like 0010-distinguish-XSI-compliant-strerror_r-from-GNU-specif.patch addresses bug #940130, and 0011-avoid-redefinition-of-prctl_mm_map-structure.patch addresses bug #939218.
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though
It's none of those. It's policykit that will thwart you:Anon-E-moose wrote: ⋮
Not if you install by way of plasma-meta.
If you pick and choose pieces ... maybe.
⋮
Code: Select all
* These packages depend on elogind:
dev-libs/libei-1.4.1 (elogind ? >=sys-auth/elogind-237)
(elogind ? >=sys-auth/elogind-237)
dev-libs/libratbag-0.18 (elogind ? sys-auth/elogind)
(elogind ? sys-auth/elogind)
media-video/pipewire-1.4.6 (elogind ? sys-auth/elogind)
(elogind ? sys-auth/elogind)
media-video/wireplumber-0.5.10 (elogind ? sys-auth/elogind)
(elogind ? sys-auth/elogind)
net-misc/networkmanager-1.48.16 (elogind ? >=sys-auth/elogind-219)
(elogind ? >=sys-auth/elogind-219)
sys-apps/accountsservice-23.13.9 (elogind ? >=sys-auth/elogind-229.4)
(elogind ? >=sys-auth/elogind-229.4)
sys-apps/dbus-1.16.2 (elogind ? sys-auth/elogind)
(elogind ? sys-auth/elogind)
sys-auth/pambase-20250223 (elogind ? sys-auth/elogind[pam])
sys-auth/polkit-126-r1 (!systemd ? sys-auth/elogind)
(!systemd ? sys-auth/elogind)
sys-fs/udisks-2.10.1-r4 (elogind ? >=sys-auth/elogind-219)
(elogind ? >=sys-auth/elogind-219)
sys-libs/pam-1.7.1 (elogind ? >=sys-auth/elogind-254)
(elogind ? >=sys-auth/elogind-254)
sys-process/procps-4.0.5-r2 (elogind ? sys-auth/elogind)
(elogind ? sys-auth/elogind)