On Fri, 4 Apr 2025 at 10:16, Michael Biebl <bi...@debian.org> wrote: > michael@mars:~$ loginctl > SESSION UID USER SEAT LEADER CLASS TTY IDLE SINCE > 3 1000 michael seat0 2116 user tty1 no - > 4 1000 michael - 2125 manager - no - > > 2 sessions listed. > > michael@mars:~$ who > michael seat0 2025-04-02 16:38 > michael tty1 2025-04-02 16:38 > Should 'who' report what loginctl list-sessions or list-users reports? We (procps, w, etc) use the latter by checking the session class for "user*". Without that filter, the output looked a bit weird.
It's probably best both who and w agree. - Craig