I can still reproduce this on my lab machines with all updates
installed.
Mar 26 12:05:28 $HOSTNAME lightdm: pam_unix(lightdm:session): session opened
for user $USER by (uid=0)
Mar 26 12:05:28 $HOSTNAME lightdm: pam_ck_connector(lightdm:session): nox11
mode, ignoring PAM_TTY :0
Mar 26 12:05:32 $HOSTNAME polkitd(authority=local): Registered Authentication
Agent for unix-session:/org/freedesktop/ConsoleKit/Session2 (system bus name
:1.41 [/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1], object
path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
while last shows nothing:
---# last -n 10
root pts/0 devel01.informat Mon Mar 26 12:52 still logged in
reboot system boot 3.2.0-20-generic Mon Mar 26 12:05 - 12:54 (00:49)
reboot system boot 3.2.0-20-generic Mon Mar 26 12:02 - 12:54 (00:51)
reboot system boot 3.2.0-20-generic Mon Mar 26 12:00 - 12:54 (00:53)
w only shows my ssh session
---# w
12:54:58 up 50 min, 1 user, load average: 0.00, 0.01, 0.05
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/0 $REMOTE_HOST 12:52 0.00s 0.38s 0.00s w
console kit can display the session:
---# ck-list-sessions
Session2:
unix-user = '14443'
realname = 'Meow Meow'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2012-03-26T10:05:28.151601Z'
login-session-id = '4294967295'
--
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:
Confirmed
Status in “lightdm” package in Ubuntu:
Confirmed
Status in “lightdm” source package in Oneiric:
Confirmed
Status in “lightdm” source package in Precise:
Confirmed
Bug description:
When logged into a graphical session, I get no acknowledgement from
who, w or last that I am logged in:
$ who
$ w
16:48:14 up 1 day, 1:08, 0 users, load average: 0.68, 0.83, 0.84
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
last only reports tty logins, not graphical logins.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: lightdm 1.0.1-0ubuntu6
ProcVersionSignature: Ubuntu 3.0.0-12.19-generic-pae 3.0.4
Uname: Linux 3.0.0-12-generic-pae i686
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu2
Architecture: i386
Date: Fri Oct 7 16:47:23 2011
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110921.3)
ProcEnviron:
LANGUAGE=en_CA:en
PATH=(custom, user)
LANG=en_CA.UTF-8
SHELL=/bin/bash
SourcePackage: lightdm
UpgradeStatus: No upgrade log present (probably fresh install)
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 : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp