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

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Thu Oct 18 12:42:13 UTC 2012

Hi Yves-Alexis,

while working to extend lightdm to btmp also, I read through the
upstream bug report again and saw that the last log issue was discussed
as well and it was in fact addressed.

In order to have lightdm write to the last log, you have to enable the
pam_lastlog.so module in /etc/pam.d/lightdm with:

session optional pam_lastlog.so

The last log is then written correctly. I therefore suggest to add the
aforementioned line to the lightdm PAM configuration file instead of
patching the code, thus ignoring my suggested patch.



More information about the Pkg-xfce-devel mailing list