← Back to team overview

desktop-packages team mailing list archive

[Bug 870297] Re: Lightdm logins not being logged in wmtp

 

Here's a copy and paste of what I posted on ubuntuforums.org:

Users logged in via GUI not listed by 'who', 'w', or 'last'.
It looks like some update on September 30 or October 1 inhibits correct tracking of GUI logins. At a guess, I think lightDM is not updating /var/log/wtmp. I'm not sure, though, and I'd appreciate suggestions on how to narrow it down so I can make a proper bug report.

I often log in to my desktop via ssh, then execute 'w' or 'who' to see
if anyone is logged in, before I do any work on my system. I executed
'w', found that there was only one user logged in, which was me, then I
started x11vnc and connected to my desktop, only to see that my stepson
was logged in and playing Minecraft. I tried 'who', and it indicated
only my login; 'last' didn't show my son's login today.

'last' did show his login via GUI from yesterday, before I applied a batch of updates, so that's why I think this was just broken:
Code:

kidongui     tty7         :0               Thu Sep  1 16:50 - 21:37
(04:46)

I did see that his processes were correctly listed by 'ps' and 'top'.

-- 
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 wmtp

Status in “lightdm” package in Ubuntu:
  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/ubuntu/+source/lightdm/+bug/870297/+subscriptions