When logging in from xdm(1), utmp entries with a ttyname of ":0", ":1", ...
are made by an invocation of sessreg(1) in /usr/local/lib/X11/xdm/Xstartup.
who(1) does not display these entries. "who -q", however, does.
How-To-Repeat: Run xdm. Log in. Start a shell. Run "who".
Mark this PR as suspended: I think the problem actually resides in how xdm
registers the session in utmp. This is done by the command sessreg in
/usr/local/lib/X11/xdm/Xstartup. Instead of using -l $DISPLAY -h "", I suggest
using just -h $DISPLAY (no -l), so that xdm behaves like gdm does and adds a
more invormative entry in utmp.
Just in case we want to reopen this PR: Notice that w(1) is affected too.
while this is an application bug; we can support these entries without
harm so we should
For bugs matching the following criteria:
Status: In Progress Changed: (is less than) 2014-06-01
Reset to default assignee and clear in-progress tags.
Mail being skipped