unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Andreas Enge <andreas@enge.fr>
Cc: 22835@debbugs.gnu.org
Subject: bug#22835: Autologin
Date: Sun, 28 Feb 2016 11:32:46 +0100	[thread overview]
Message-ID: <87wpppcegh.fsf@elephly.net> (raw)
In-Reply-To: <20160227231453.GA11981@solar>


Andreas Enge <andreas@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

  reply	other threads:[~2016-02-28 10:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-27 23:14 bug#22835: Autologin Andreas Enge
2016-02-28 10:32 ` Ricardo Wurmus [this message]
2016-02-28 10:53   ` Andreas Enge
2016-02-28 15:55     ` Ludovic Courtès
2019-02-19 22:23 ` bug#22835: Close Andreas Enge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wpppcegh.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=22835@debbugs.gnu.org \
    --cc=andreas@enge.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).