On 2019-02-25 01:20 +0100, Adam Borowski wrote: > Control: tags -1 +patch > > [Can't test it right now, perhaps in the evening todorrow. Noticed > this bug filed on #-changes] > >> xserver-xorg-core has a hard dependency on libpam-systemd. Violates >> "Depends: This declares an absolute dependcy... > > No, it has only Recommends. On the other hand, apt handles unwanted > Recommends in a very nasty way, making it seem the dependency is absolute > if there's any way the Recommends could possibly become satisfied (such > as by switching the init to systemd). > >> I blasted libpam-systemd off my system and Xorg didn't even blink. > > If I recall correctly, logind (such as libpam-systemd) is needed if you run > X not as root. The vast majority of us uses gdm3/lightdm/sddm/wdm/xdm/... > which happen to run as root, which makes the dependency indeed wrong even > for Recommends.
I think you are mistaken here, with gdm3 (the default display manager) the X server does _not_ run as root by default. > But, instead of removing, you can change: > Recommends: libpam-systemd > to > Recommends: default-logind | logind > > which works nicely with elogind. Makes sense. Can you confirm that rootless X works with elogind? Use gdm3 as display manager, or startx and no display manager. Cheers, Sven