Comment 62 for bug 870297

Revision history for this message
Lauri Tirkkonen (lotheac) wrote : Re: Lightdm logins not being logged in wtmp

The package in precise-proposed works for me.

lightdm 1.2.1-0ubuntu1.1
ltirkkon tty7 2012-07-17 10:33
 10:34:34 up 37 min, 1 user, load average: 0.55, 0.53, 0.49
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
ltirkkon tty7 10:33 37:24 1.13s 0.09s /bin/sh /etc/xd

However, the included pam config doesn't stack pam_lastlog, so wtmp is still not being updated (it should show my desktop session as 'still logged in'):
flashman ~ % ssh root@test-precise 'dpkg-query --show lightdm && last -n1'
lightdm 1.2.1-0ubuntu1.1
root pts/0 flashman Tue Jul 17 10:32 - 10:32 (00:00)

wtmp begins Fri Jul 13 19:23:13 2012