From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#22835: Autologin Date: Sun, 28 Feb 2016 11:32:46 +0100 Message-ID: <87wpppcegh.fsf@elephly.net> References: <20160227231453.GA11981@solar> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZyev-0001At-Km for bug-guix@gnu.org; Sun, 28 Feb 2016 05:33:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZyes-0001RP-F2 for bug-guix@gnu.org; Sun, 28 Feb 2016 05:33:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:52413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZyes-0001RI-Bm for bug-guix@gnu.org; Sun, 28 Feb 2016 05:33:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aZyes-0004tk-2l for bug-guix@gnu.org; Sun, 28 Feb 2016 05:33:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <20160227231453.GA11981@solar> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Andreas Enge Cc: 22835@debbugs.gnu.org Andreas Enge 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