Bug#1125682: xterm sessions do not appear in loginctl output

Vincent Lefevre <[email protected]>
Newsgroups gmane.linux.debian.devel.x
Message-ID <20260204094659.GW3036__45730.0312163838$1770198570$gmane$org@qaa.vinc17.org>
On 2026-02-04 03:48:50 -0500, Thomas Dickey wrote:
> On Wed, Feb 04, 2026 at 04:43:25AM +0100, Vincent Lefevre wrote:
> > No, as since the removal of utmp, this is now a required feature, as
> > said by Chris Hofstaedtler.
> 
> I forget who's Chris - some generally acknowledged authority on software
> requirements?  If so, you should mention the allusion by their role.

He's the maintainer of bsdutils.

> > > 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).
> 
> I don't see another route to getting the data into systemd's cache.
> 
> (its documentation is poor, but you may have something specific in mind)

I don't know, but apparently, systemd should not be used directly,
but via PAM (it seems that systemd would then be used transparently
via pam_systemd).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.