Bug 23944 - show both TTY and DISPLAY in last-compat output
Summary: show both TTY and DISPLAY in last-compat output
Status: RESOLVED FIXED
Alias: None
Product: ConsoleKit
Classification: Unclassified
Component: Daemon (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: william.jon.mccann
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-14 14:16 UTC by william.jon.mccann
Modified: 2009-09-14 15:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.