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

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



On 8/31/24 5:56 AM, Genes Lists wrote:
On Sat, 2024-08-31 at 02:49 -0500, David C. Rankin wrote:
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
...

Interesting - I am curious if

    loginctl list-sessions

show anything useful?


Basically it shows the same thing.

I'll have to start the other two backups up later this evening (they are loud as hell, old Supermicro 4U and 2U with a total of 12 38mm 7500 RPM fans)

  On two other boxes, I get:


06:10 2pi:~> loginctl list-sessions
SESSION  UID USER  SEAT LEADER CLASS   TTY IDLE SINCE
      6 1000 david -    7423   user    -   no   -
      7 1000 david -    7429   manager -   no   -

2 sessions listed.


  and (booting to graphical target)

06:10 valkyrie:~> loginctl list-sessions
SESSION  UID USER    SEAT  LEADER CLASS         TTY   IDLE SINCE
     89  620 lightdm -     11720  manager-early -     no   -
     94 1000 david   -     13259  user          pts/0 no   -
     95 1000 david   -     13266  manager       -     no   -
     c2  620 lightdm seat0 11713  greeter       -     no   -

4 sessions listed.


  and an opensuse Tumbleweed box booting to graphical target with kdm:

06:10 wizard:~> loginctl list-sessions
SESSION  UID USER  SEAT  LEADER CLASS   TTY IDLE SINCE
      1 1000 david seat0 1608   user    -   no   -
      2 1000 david -     1759   manager -   no   -

2 sessions listed.


It also seems booting to graphical target depends on which DM is used. lightdm seems to ensure a TTY is seen while kdm and sddm don't.

Stumbled across this issue on opensuse tumbleweed where lack of TTY broke several of their helper scripts for posting to paste.opensuse.org where TTY info was used to enable copy-to-clipboard.


--
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