so after looking into this for far too long it appears this is systemd-shim doing it's thing.
apparently systemd-shim mimics some of the core systemd functionalities and interfaces, but without launching or managing the full systemd init process. it sets up fake per user instances of systemd and also intercepts Dbus communication from apps that want to talk to systemd. It passes the messages onto sysv init instead.
The reason we are seeing the message is because it is not setting up a full per user instance of systemd. It's setting up just enough to fool apps that need systemd.
Somewher along the line, you have PAM involved as well as Dbus (the more the merrier) so it basically goes something like this:
lightdm starts ---> talks to PAM ------> PAM modules start -------> systemd.logind & systemd-shim
On MX19.4 specifically then:
we also have this script which is invokingsystemd-shim:
/usr/lib/x86_64-linux-gnu/systemd-shim-invoke
I think the fake per user instance systemd files it creates are:
Code: Select all
cat /run/systemd/users/118
# This is private data. Do not parse.
NAME=lightdm
STATE=closing
STOPPING=no
RUNTIME=/run/user/118
REALTIME=1753594018345457
MONOTONIC=9769909
SESSIONS=c1
SEATS=seat0
ACTIVE_SESSIONS=
ONLINE_SESSIONS=
ACTIVE_SEATS=
ONLINE_SEATS=
AND
Code: Select all
cat /run/systemd/users/1000
# This is private data. Do not parse.
NAME=bittertruth
STATE=active
STOPPING=no
RUNTIME=/run/user/1000
DISPLAY=1
REALTIME=1753594024207118
MONOTONIC=15631570
SESSIONS=1
SEATS=seat0
ACTIVE_SESSIONS=1
ONLINE_SESSIONS=1
ACTIVE_SEATS=seat0
ONLINE_SEATS=seat0
If anyones on MX21 or higher, then you don't need to worry about all this, LOL. I think later versions started using elogind which does the job of systemd.logind and systemd-shim.