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 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/870297 Title: Lightdm logins not being logged in wtmp Status in Light Display Manager: Fix Released Status in “lightdm” package in Ubuntu: Fix Committed Status in “lightdm” source package in Oneiric: Triaged Status in “lightdm” source package in Precise: Triaged Bug description: Impact: Systems using LightDM have no entries in the utmp record for logins, so tools like 'w' and 'who' do not show LightDM sessions. Testcase: 1. Start Ubuntu system 2. Log into session 3. Open gnome-terminal 4. Run 'who' command Expected result: You should see TWO entries (the first is from LightDM, the second is from gnome-terminal): <username> tty7 YYYY-MM-DD HH:MM <username> pts/0 YYYY-MM-DD HH:MM (:0) Observed result: You see only one entry: <username> pts/0 YYYY-MM-DD HH:MM (:0) Regression potential: Bugs in utmp code cause cause issues logging in To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm/+bug/870297/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp