At some point it seems like the "last" command output changed to include both the TTY and the DISPLAY values: jmccann tty1 :0 Fri Sep 11 11:54 still logged in We should update the last-compat output accordingly.
Actually, I think this is a side effect of GDM writing the DISPLAY value into ut_host field and always writing the tty into the ut_line field.
commit 85cfd65a204477e22b258b01d29ab78503074290 Author: William Jon McCann <jmccann@redhat.com> Date: Mon Sep 14 18:18:41 2009 -0400 show display in host field if the host isn't set This is consistent with how we write the wtmp records in GDM. https://bugs.freedesktop.org/show_bug.cgi?id=23944
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.