Bug#1125682: xterm sessions do not appear in loginctl output
Thomas Dickey <[email protected]>
| Newsgroups | gmane.linux.debian.devel.x |
|---|---|
| Message-ID | <aYKhyP8Hbh11wPib__28482.4116317154$1770169289$gmane$org@prl-debianold-64.jexium-island.net> |
On Fri, Jan 16, 2026 at 12:19:04AM +0100, Vincent Lefevre wrote: > Package: xterm > Version: 406-1 > Severity: normal perhaps wishlist. > In Debian, utmp has been replaced by systemd/logind. But xterm > sessions do not appear in loginctl output. This is needed for > "wall" to work in Debian: systemd (when working correctly...) will only make sessions for logins. xterm doesn't create sessions by default. In a quick check, "xterm -ls" does run a "login" shell, but systemd doesn't know about that (something to investigate). 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. > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1115259#10 > > "wall is built with systemd/logind support, the modern replacement > for utmp. that's not a good use of "modern". -- Thomas E. Dickey <[email protected]> https://invisible-island.net
signature.asc
(application/pgp-signature, 659 B)
-----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmmCocUACgkQzCr0RyFn vgOsgwv9EzZqIQyvlr3Dqh0st/Lm3HlFGkaP+KplodPu3UmEhQEBVVG+VlZowAgI yUHpTql+BYIQ+9iBMI0jg8zkAn3o2f8kG2+X4mBRUDUZM9Bw0yPYbUKKsoWGFaz+ YiFu/0qY2X/HGDamy1kNtei+zakrStuqzdNDDIZCHFhjXWn5T/IL7OG8XS/jlpWr 7LvKnkFUYQJvAOMI5ceD/MXFp8/+WQ+tTrvMPZlM16+R2VvKMjINFMBlbNxhddVd Rv40IwfbqmT95t5+uXYAgzEcnckgBPOyCNN0ffBaP/UBMbq+nEcZonY+GZ1Ezjjh D5eXxlzQEFwSKOEXfAQjahzhfvC2R56jhwRsoPitWbxH3MAN2e5i5v7wwtWGi2KB lLfcWXoU1u+4/Q7YFzmNGb7wA96I6kgolBcZZoK3y5ZX63KAyvv2Snl/cu8lQLr3 VRSCzTo/KnmU7xSb8wuNFsFel8MYqln8CkKo0FOdepNP9LxX9PbnLh2lGUkssgjm 2gRpLPG6 =TLVX -----END PGP SIGNATURE-----