[Pkg-xfce-devel] Bug#648604: lightdm doesn't update utmp/wtmp

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Tue Oct 16 12:45:07 UTC 2012


Package: lightdm
Followup-For: Bug #648604

FYI, this problem has been fixed in lightdm 1.4.0. I just installed
version 1.4.0-1 from experimental and utmp is correctly updated
again.

However, wtmp is still *not* written and X sessions therefore don't
show up in lastlog. Changing the default display manager to gdm3
fixes that, so it's definetely an issue with lightdm which remains
to be fixed.

Cheers,

Adrian

===================================================================

root at unstable:~# w
 14:29:54 up 2 min,  1 user,  load average: 0.13, 0.15, 0.06
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
root     pts/1    192.168.100.1    14:29    0.00s  0.03s  0.00s w
root at unstable:~# ps aux |grep awesome
glaubitz  1565  0.2  0.5 157852 10996 ?        Ss   14:28   0:00 awesome
glaubitz  1592  0.0  0.0  12372   328 ?        Ss   14:28   0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session awesome
glaubitz  1595  0.0  0.0  24176   560 ?        S    14:28   0:00 /usr/bin/dbus-launch --exit-with-session awesome
root      1766  0.0  0.0   7816   844 pts/1    S+   14:29   0:00 grep awesome
root at unstable:~# dpkg -l lightdm |grep ^ii
ii  lightdm                               1.2.2-4                              amd64        simple display manager
root at unstable:~# apt-get install lightdm -t=experimental
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  brasero-cdrkit dvdauthor ekiga genisoimage growisofs libcapi20-3 libcurl3-nss
  libleveldb1 libodbc1 libopal3.10.4 libpt2.10.4 librados2 librbd1 libsnappy1 libsrtp0
  libunique-1.0-0 liferea liferea-data wodim
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  lightdm
1 upgraded, 0 newly installed, 0 to remove and 382 not upgraded.
Need to get 134 kB of archives.
After this operation, 97.3 kB of additional disk space will be used.
Get:1 http://ftp.de.debian.org/debian/ experimental/main lightdm amd64 1.4.0-1 [134 kB]
Fetched 134 kB in 0s (1,872 kB/s)
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 154996 files and directories currently installed.)
Preparing to replace lightdm 1.2.2-4 (using .../lightdm_1.4.0-1_amd64.deb) ...
Unpacking replacement lightdm ...
Processing triggers for man-db ...
Setting up lightdm (1.4.0-1) ...
Installing new version of config file /etc/pam.d/lightdm ...
Installing new version of config file /etc/pam.d/lightdm-autologin ...
Installing new version of config file /etc/lightdm/lightdm.conf ...
[ ok ] Reloading dbus configuration (via systemctl): dbus.service.
root at unstable:~# w
 14:31:24 up 4 min,  2 users,  load average: 0.30, 0.19, 0.08
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
root     pts/1    192.168.100.1    14:29    0.00s  0.04s  0.00s w
glaubitz tty7     :0               14:31    4:06   0.79s  0.04s awesome
root at unstable:~#

===================================================================

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.5-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lightdm depends on:
ii  adduser                                3.113+nmu3
ii  consolekit                             0.4.5-3.1
ii  dbus                                   1.6.8-1
ii  debconf [debconf-2.0]                  1.5.46
ii  libc6                                  2.13-35
ii  libglib2.0-0                           2.32.3-1
ii  libpam0g                               1.1.3-7.1
ii  libxcb1                                1.8.1-1
ii  libxdmcp6                              1:1.1.1-1
ii  lightdm-gtk-greeter [lightdm-greeter]  1.1.6-2

Versions of packages lightdm recommends:
ii  xserver-xorg  1:7.7+1

Versions of packages lightdm suggests:
ii  accountsservice  0.6.21-6
ii  upower           0.9.17-1

-- debconf information:
  lightdm/daemon_name: /usr/sbin/lightdm
* shared/default-x-display-manager: gdm3



More information about the Pkg-xfce-devel mailing list