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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22835 in the body.
You can then email your comments to 22835 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#22835
; Package
guix
.
(Sat, 27 Feb 2016 23:16:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Andreas Enge <andreas <at> enge.fr>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sat, 27 Feb 2016 23:16:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
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?
Andreas
Information forwarded
to
bug-guix <at> gnu.org
:
bug#22835
; Package
guix
.
(Sun, 28 Feb 2016 10:33:02 GMT)
Full text and
rfc822 format available.
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
Information forwarded
to
bug-guix <at> gnu.org
:
bug#22835
; Package
guix
.
(Sun, 28 Feb 2016 10:54:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 22835 <at> debbugs.gnu.org (full text, mbox):
On Sun, Feb 28, 2016 at 11:32:46AM +0100, Ricardo Wurmus wrote:
> Andreas Enge <andreas <at> enge.fr> writes:
> > 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)))
> > 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”:
Sorry, I forgot to describe what "does not work" in my opinion. With
auto-login? set to #f, I get the login screen with a selection of sessions.
By default, xfce and ratpoison, since these are the packages present in the
default configuration. I deleted ratpoison from my configuration, so I can
only log in to xfce after typing user and password.
Now when I set auto-login? to #t, it does not log into xfce, but launches
the command given in auto-login-session. So I end up with windowmaker, which
did not even appear in the package list (but probably gets pulled in auto-
matically somehow). So at the least, the parameter needs to be documented.
I easily modified it to launch startxfce4 of the xfce package instead, and
ended up in xfce. Maybe this could be made the default choice anyway to
be consistent with our example desktop configuration?
More logically would be to log into one of the sessions that is also
proposed when auto-login? is set to #f. But this looks more complex, even
more so when there are several options present (which ones to choose?),
so maybe just documenting the command would be enough.
Andreas
Information forwarded
to
bug-guix <at> gnu.org
:
bug#22835
; Package
guix
.
(Sun, 28 Feb 2016 15:56:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 22835 <at> debbugs.gnu.org (full text, mbox):
Side comment: could you change the subject to a phrase that reflects
what the bug is? :-)
(Use the ‘retitle’ command of request <at> debbugs.gnu.org,
<http://debbugs.gnu.org/server-refcard.html>.)
Ludo’.
Changed bug title to 'slim-service takes undocumented parameter and behaves surprisingly on auto-login' from 'Autologin'
Request was from
Andreas Enge <andreas <at> enge.fr>
to
control <at> debbugs.gnu.org
.
(Sun, 28 Feb 2016 16:09:02 GMT)
Full text and
rfc822 format available.
Reply sent
to
Andreas Enge <andreas <at> enge.fr>
:
You have taken responsibility.
(Tue, 19 Feb 2019 22:24:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Andreas Enge <andreas <at> enge.fr>
:
bug acknowledged by developer.
(Tue, 19 Feb 2019 22:24:02 GMT)
Full text and
rfc822 format available.
Message #21 received at 22835-done <at> debbugs.gnu.org (full text, mbox):
This can probably be closed, as nobody really remembers any more
what it is about.
Andreas
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 20 Mar 2019 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 88 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.