Hi, Thanks for this.
On Sat, Aug 29, 2026 at 12:07:30PM +0100, Abasileuton Ltd wrote: > Now, I can suggest to you three solutions: > > (i) Stop using the patch > "Use-libsystemd0-compatible-cgroups-layout.patch" > (ii) File a bug against Xorg > to use "GetSession" instead of "GetSessionByPID" > (iii) Implement, in elogind, the missing bits that systemd has. > > The easiest solution is (i), > but I guess you want to link against > libsystemd0 in Debian, > so this may not be an option. > > Meanwhile, I doubt anyone could convince upstream Xorg > to make this change, > since it is not really a bug in Xorg. > So (ii) is probably only an option > if one were to add a patch to the Debian xserver-xorg package. > > And (iii) seems like quite a bit of work, > though I might be able to help if you choose this option. Your analysis here is pretty close to my thinking. I am reluctant to remove the patch in (i) as it would mean going back to having to keep the libelogind0 and libsystemd0 ABIs in sync. That was always problematic with variable levels of activity upstream. Even now Debian systemd is 261.2 and elogind upstream is at 257.16. (ii) also seems unlikely for the reasons you identify. So, (iii) is the way to go, irrespective of the work. Mark

