Devuan bug report logs - #301
slim logins don't get registered in utmp

Package: slim; Maintainer for slim is Devuan Dev Team <devuan-dev@lists.dyne.org>;

Reported by: Ralph Ronnquist <ralph.ronnquist@gmail.com>

Date: Thu, 7 Mar 2019 10:03:01 UTC

Severity: normal

Done: Mark Hindley <mark@hindley.org.uk>

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#301: slim logins don't get registered in utmp
Reply-To: Mark Hindley <mark@hindley.org.uk>, 301@bugs.devuan.org
Resent-From: Mark Hindley <mark@hindley.org.uk>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: owner@bugs.devuan.org
Resent-Date: Fri, 08 Mar 2019 17:33:01 UTC
Resent-Message-ID: <handler.301.B301.1552066205669@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: report 301
X-Devuan-PR-Package: slim
X-Devuan-PR-Keywords: 
Received: via spool by 301-submit@bugs.devuan.org id=B301.1552066205669
          (code B ref 301); Fri, 08 Mar 2019 17:33:01 UTC
Received: (at 301) by bugs.devuan.org; 8 Mar 2019 17:30:05 +0000
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Fri, 08 Mar 2019 18:30:05 +0100 (CET)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 0A13FF609BC
	for <301@bugs.devuan.org>; Fri,  8 Mar 2019 18:27:46 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=apollo)
	by mx.hindley.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1h2JHd-0001KH-B8; Fri, 08 Mar 2019 17:27:45 +0000
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1h2JHS-0000l0-85; Fri, 08 Mar 2019 17:27:34 +0000
Date: Fri, 8 Mar 2019 17:27:34 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: 301@bugs.devuan.org
Cc: Ralph Ronnquist <ralph.ronnquist@gmail.com>
Message-ID: <20190308172734.GD17160@hindley.org.uk>
References: <13b902a1-2c17-4c1b-691a-f8fccf5a6e2d@gmail.com>
 <20190307184006.GX17160@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20190307184006.GX17160@hindley.org.uk>
X-Debbugs-No-Ack: No Thanks
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
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....

Mark


Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Fri Oct 23 00:18:08 2020;