View this report as an mbox folder.
slim. Full text available.
Subject: bug#301: slim logins don't get registered in utmp Date: Wed, 17 Apr 2019 11:33:08 +0100 From: Mark Hindley <email@example.com> To: firstname.lastname@example.org On Fri, Mar 08, 2019 at 05:27:34PM +0000, Mark Hindley wrote: > Ralph, > > Could you try adding this configuration to /etc/slim.conf please? > > # sessreg. You can use the %user variable > sessionstop_cmd exec sessreg -d -l $DISPLAY %user > sessionstart_cmd exec sessreg -a -l $DISPLAY %user > > It fixes slim utmp/wtmp/lastlog registration for me although the process is > identified as ?xdm?. Trying to fix that.... Ralph, Just a follow up on this. Although it is ugly, I think the ?xdm? in the IDLE column out from w is technically correct: w is unable to determine the correct idle time for X. You need xprintidle or the like for that. Other than that, sessreg correctly registers sessions in utmp and lastlog for me. Can you confirm it works for you? Mark