On 2026-02-03 20:32:56 -0500, Thomas Dickey wrote:
> On Fri, Jan 16, 2026 at 12:19:04AM +0100, Vincent Lefevre wrote:
> > Package: xterm
> > Version: 406-1
> > Severity: normal
> 
> perhaps wishlist.

No, as since the removal of utmp, this is now a required feature, as
said by Chris Hofstaedtler.

> In a quick check, "xterm -ls" does run a "login" shell, but systemd
> doesn't know about that (something to investigate).

This should be independent from whether the shell is a login shell,
anyway ("logind" is probably misnamed as the intent is to also
handle the terminal sessions).

> strace reminds me that xterm isn't able to write to utmp since that's
> been removed.  If it hadn't been removed, (again looking at strace),
> "who" and "w" would see that information in addition to what it gets
> via systemd's intentionally undocumented sessions data.

"who" is unfortunately underspecified. "w -t" sees all the
terminal sessions (but it does not use systemd for that, and
in theory, the -t option should not be needed).

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to