On 8/25/24 11:41 AM, Darrell Anderson via tde-users wrote:
I'm looking for confirmation about whether TDM
passes login information to the
operating system.
For me the who, w, and last commands do not show any tty logins when using
TDM. The who, w, and last commands function as expected with SDDM, showing tty
logins. (pts logins are irrelevant.)
Also, are there any specific tdmrc options that might cause this?
This is a tricky one, likely systemd/logind related. It is also affecting
opensuse xfce and kdm3 logins on Tumbleweed (systemd-256.5)
Likely a dm issue not giving or getting the needed info to the latest
systemd/logind. You can confirm with:
$ loginctl list-sessions --no-legend
2 1000 david - 1758 manager - no -
3 1000 david seat0 85628 user - no -
(remove --no-legend if you want to see where TTY goes -- but adds tabs to output)
No TTY information is present. You can get more information using:
$ loginctl show-session auto
Id=3
User=1000
Name=david
Timestamp=Fri 2024-08-23 22:26:14 CDT
TimestampMonotonic=154723429995
VTNr=7
Seat=seat0
Display=:0
Remote=no
Service=xdm
Scope=session-3.scope
Leader=85628
Audit=3
Type=x11
Class=user
Active=yes
State=active
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
LockedHint=no
Updated lightdm has no problem providing tty info. Looks like a
freedesktop.org and systemd "strikes again!" issue that will have to be dealt
with.
--
David C. Rankin, J.D.,P.E.