GNU bug report logs - #41516
Slim package unnessesarily conflates default-user/default-session with autologin

Previous Next

Package: guix;

Reported by: Stefan Huchler <stefan.huchler <at> mail.de>

Date: Sun, 24 May 2020 22:19:02 UTC

Severity: normal

To reply to this bug, email your comments to 41516 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#41516; Package guix. (Sun, 24 May 2020 22:19:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Huchler <stefan.huchler <at> mail.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 24 May 2020 22:19:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Huchler <stefan.huchler <at> mail.de>
To: bug-guix <at> gnu.org
Subject: Slim package unnessesarily conflates default-user/default-session
 with autologin
Date: Mon, 25 May 2020 00:17:53 +0200
The 3 options of default-user / default-login-session and autologin are
not as tight coupled and should in fact it's the wrong way coupled:

> When @var{auto-login?} is true, log in automatically as
> @var{default-user} with @var{auto-login-session}.

So you can set auto-login? #t and don't set the other 2 values and it
then succesfully reconfigures but just presents the normal login screen
and not autologins.

But if you only use default-user or auto-login-session but keep
auto-login? #f this values get not written in the config and therefor
the settings get just ignored:

(if (slim-configuration-auto-login? config)
    (string-append "auto_login yes\ndefault_user "
                   (slim-configuration-default-user config) "\n")
    "")

At least that is true for user, I find no code for the
auto-login-session but when I set it without autologin it seems to get
ignored, too.

But the default user setting works independent from autologin:
https://wiki.archlinux.org/index.php/SLiM#Set_default_username

In fact the default-session seems to be also only useful for autologin
as far as I can tell:

  (let* ((xinitrc (xinitrc #:fallback-session
                           (slim-configuration-auto-login-session
                           config)))
...
login_cmd  exec " xinitrc " %session
...
)

There seems to be different ways to have per user default sessions or
global so I am not 100% sure about that, but you can set default user
without conflating that with autologin, while you maybe need a
default-user for autologin you don't need autologin for a default-user.





This bug report was last modified 3 years and 330 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.