]> git.ipfire.org Git - thirdparty/systemd.git/commit
logind: pick up tty info from utmp only for tty sessions 38034/head
authorLennart Poettering <lennart@poettering.net>
Wed, 2 Jul 2025 14:25:42 +0000 (16:25 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 2 Jul 2025 14:25:42 +0000 (16:25 +0200)
commitbd578c2d66286a874c1bddf6ea7203e38fa16fa9
tree668c2cf2b88390b0eb96c9822ba0763f6ab041dc
parentd3f04a6fa541280a8a205a3d4d2313a043b7a32d
logind: pick up tty info from utmp only for tty sessions

Let's tighten the rules for picking up TTY information from utmp: let's
do so only for TTY session, nothing else. Apparently people have issues
with graphical sessions with certain terminal emulators that install
entries in utmp for each emulator window.

Alternative for: #38027
src/login/logind-utmp.c