Two Arch Systems - Identical, loginctl shows TTY for one, not the other?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Devs, All,

Recently across several distros there have been issues with loginctl not showing a TTY associated with a login. This has caused various issues with processes that rely on the user TTY for one thing or another.

So I decided to test Arch on two backup servers, both current though today, both boot to multi-user target. On one box TTY=pts/0 is associated with my user login, on the other there is no TTY associated, e.g.

02:41 fenrir:~> loginctl show-session auto
Id=1
User=1000
Name=david
Timestamp=Sat 2024-08-31 02:37:24 CDT
TimestampMonotonic=164549181
VTNr=0
TTY=pts/0
^^^^^^^^^
Remote=yes
RemoteHost=192.168.6.104
Service=sshd
Scope=session-1.scope
Leader=776
Audit=1
Type=tty
Class=user
Active=yes
State=active
IdleHint=no
IdleSinceHint=1725090076000000
IdleSinceHintMonotonic=395959270
LockedHint=no

  The other:

02:40 valhalla:~> loginctl show-session auto
Id=1
User=1000
Name=david
Timestamp=Sat 2024-08-31 02:26:09 CDT
TimestampMonotonic=32411169
VTNr=0
Remote=yes
RemoteHost=192.168.6.104
Service=sshd
Scope=session-1.scope
Leader=712
Audit=1
Type=tty
Class=user
Active=yes
State=active
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
LockedHint=no

How is that possible and what to check? Seems freedesktop.org and provided another mystery. Ideas?


--
David C. Rankin, J.D.,P.E.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux