GNU bug report logs -
#22835
slim-service takes undocumented parameter and behaves surprisingly on auto-login
Previous Next
Reported by: Andreas Enge <andreas <at> enge.fr>
Date: Sat, 27 Feb 2016 23:16:02 UTC
Severity: normal
Done: Andreas Enge <andreas <at> enge.fr>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 22835 <at> debbugs.gnu.org (full text, mbox):
Andreas Enge <andreas <at> enge.fr> writes:
> I am trying to create a configuration using slim-service with autologin.
>
> Looking at the code in gnu/services/xorg.scm, I find the following definition:
> (define* (slim-service #:key (slim slim)
> (allow-empty-passwords? #t) auto-login?
> (default-user "")
> (theme %default-slim-theme)
> (theme-name %default-slim-theme-name)
> (xauth xauth) (shepherd shepherd) (bash bash)
> (auto-login-session #~(string-append #$windowmaker
> "/bin/wmaker"))
> (startx (xorg-start-command)))
>
> The parameter auto-login-session is not documented in guix.texi.
>
> It also is a bit surprising; since I had added only xfce to my packages,
> I expected this to start. Or is this impossible to realise?
I have a working auto-login configuration using “modify-services”:
(services (modify-services %desktop-services
(slim-service-type config =>
(slim-configuration (inherit config)
(auto-login? #t)
(default-user "rekado")))))
~~ Ricardo
This bug report was last modified 6 years and 89 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.