Bug 23944

Summary: show both TTY and DISPLAY in last-compat output
Product: ConsoleKit Reporter: william.jon.mccann
Component: DaemonAssignee: william.jon.mccann
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description william.jon.mccann 2009-09-14 14:16:56 UTC
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.
Comment 1 william.jon.mccann 2009-09-14 15:10:10 UTC
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.
Comment 2 william.jon.mccann 2009-09-14 15:30:30 UTC
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.