Paul Eggert wrote:
> > And what is the "who" output that you get with this patch?
>
> I get what I got before, but without the gdm-greeter lines.
>
> > $ who
> > eggert pts/0 2026-04-18 08:41 (47.154.25.11)
> > gdm-greeter seat0 2026-04-17 17:26
> > gdm-greeter tty1 2026-04-17 17:26
> >
> > Were you only remotely logged in? And no one sitting at "seat0"?
>
> Yes.
Good.
Meanwhile, I did the experiment with various desktop environments
in Fedora 44. Like you, I logged in through ssh and ran "who" and "who -l".
GNOME:
Before:
$ who
bruno pts/0 <date> (192.168.178.188)
gdm-greeter seat0 <date>
gdm-greeter tty1 <date>
After:
$ who
bruno pts/0 <date> (192.168.178.188)
$ who -l
LOGIN seat0 <date> 1180 id=c1
LOGIN tty1 <date> 1180 id=c1
KDE:
Before:
$ who
bruno pts/0 <date> (192.168.178.188)
plasmalogin seat0 <date>
plasmalogin tty1 <date>
After:
$ who
bruno pts/0 <date> (192.168.178.188)
$ who -l
LOGIN seat0 <date> 1150 id=c1
LOGIN tty1 <date> 1150 id=c1
LXQt:
Before:
$ who
bruno pts/0 <date> (192.168.178.188)
sddm seat0 <date>
sddm tty1 <date>
After:
$ who
bruno pts/0 <date> (192.168.178.188)
$ who -l
LOGIN seat0 <date> 1061 id=c1
LOGIN tty1 <date> 1061 id=c1
MATE, Xfce, Cinnamon:
Before:
$ who
bruno pts/0 <date> (192.168.178.188)
lightdm seat0 <date> (:0)
After:
$ who
bruno pts/0 <date> (192.168.178.188)
$ who -l
LOGIN seat0 <date> 1124 id=c1
LXDE:
Before:
$ who
bruno pts/0 <date> (192.168.178.188)
After:
$ who
bruno pts/0 <date> (192.168.178.188)
$ who -l
Summary:
- Your patch is effective in moving the greeters to the "LOGIN" type.
- The name of the greeter (gdm-greeter / plasmalogin / sddm / lightdm)
is thereby lost, but that is OK, as it was only a technical artifact.
- The Wayland-based greeters, other than LXDE, are registered with
seat and tty. The X11-based greeters are registered only with seat.
- LXDE is buggy: it does not register even with the seat.
Reported at https://github.com/lxde/lxsession/issues/49 .
Bruno