From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 29 21:37:45 2018 Received: (at submit) by debbugs.gnu.org; 30 Dec 2018 02:37:45 +0000 Received: from localhost ([127.0.0.1]:41743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdQz2-0004lQ-Fv for submit@debbugs.gnu.org; Sat, 29 Dec 2018 21:37:44 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdQz1-0004lD-8v for submit@debbugs.gnu.org; Sat, 29 Dec 2018 21:37:43 -0500 Received: from lists.gnu.org ([208.118.235.17]:37836) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gdQyv-0008IW-OH for submit@debbugs.gnu.org; Sat, 29 Dec 2018 21:37:37 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdQyt-0000aA-Pk for guix-patches@gnu.org; Sat, 29 Dec 2018 21:37:37 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_LOW autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gdQyq-0008D3-Vp for guix-patches@gnu.org; Sat, 29 Dec 2018 21:37:35 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:56499) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gdQyq-0008BS-NG for guix-patches@gnu.org; Sat, 29 Dec 2018 21:37:32 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 790F320FDC for ; Sat, 29 Dec 2018 21:37:30 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 29 Dec 2018 21:37:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=kO1RrR uTnvqFn44G7DZqyJfVh9Xek3jrF0Usqo7+5PI=; b=kQiJDWD8CI4WYzgzUND00G 3vFT4RzgHFlfMboNnnlJYpYXDGeIJj2MM2w/DEdBW80BashfmYdXOhMEoGd8RjX0 HDyjXim2bkruJxAbkH2DGSpP2Wo2bKiVl2g4t+3IYedcZmlCCL7C3NQDvaWMcXsi DoCD8Jon24iEgXWgjEXh4yfg99XOCl+nd7lELJJkOttwKeizhNiNgGiZs6v+NFRH /+IAYw9Cg5Y8+LJ7FFrVAVgCCJDtVlpFntEQT924C8q65AcZ5UcWSWA4DHWPvTHV RfGnHLLw+KzEz46/3nj4jpj7vnvE4EWvW1EG8+pxdCq4wKQaBb2rERNsvqy5rJ9w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrtdelgdegleculddtuddrgedtkedrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkfgggtgfgsehtqhertd dtreejnecuhfhrohhmpefvihhmohhthhihucfurghmphhlvgcuoehsrghmphhlvghtsehn ghihrhhordgtohhmqeenucfkphepjeegrdduudeirddukeeirdeggeenucfrrghrrghmpe hmrghilhhfrhhomhepshgrmhhplhgvthesnhhghihrohdrtghomhenucevlhhushhtvghr ufhiiigvpedt X-ME-Proxy: Received: from mrblack (74-116-186-44.qc.dsl.ebox.net [74.116.186.44]) by mail.messagingengine.com (Postfix) with ESMTPA id B5926100B8 for ; Sat, 29 Dec 2018 21:37:29 -0500 (EST) From: Timothy Sample To: guix-patches@gnu.org Subject: [PATCH 0/4] Make GDM usable Date: Sat, 29 Dec 2018 21:37:29 -0500 Message-ID: <87bm53n3iu.fsf@ngyro.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.25 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) Hi Guix, This patch series tweaks a few things in the GDM package and service so that it kinda works. That is to say, I have started using it as my DM, and I have not pulled all of my hair out yet. :) I will start a different thread on guix-devel about what problems there are and what is left to be done. These patches are simple, and I want to avoid complicating their review with open-ended questions. The only tricky patch is the third one that deletes the =E2=80=9Callow-root= ?=E2=80=9D configuration option. When set, this option allows logging in to any account *without* a password. I don't think that was the intention, and I don't think that feature is useful, so I removed it. I couldn=E2=80=99t = find a similar setup in the example PAM config files shipped with GDM, either. My guess is that the option was intended to allow or disallow root logins, but that is definitely not what it does. -- Tim From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 29 21:42:31 2018 Received: (at 33916) by debbugs.gnu.org; 30 Dec 2018 02:42:31 +0000 Received: from localhost ([127.0.0.1]:41755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdR3f-0004u2-27 for submit@debbugs.gnu.org; Sat, 29 Dec 2018 21:42:31 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:48861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdR3c-0004tm-Gw for 33916@debbugs.gnu.org; Sat, 29 Dec 2018 21:42:28 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 1559E21609; Sat, 29 Dec 2018 21:42:23 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 29 Dec 2018 21:42:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=NRfgJeDKle4I1o4Bafk2y/MCSAGOEdbVT0vFq5t/B bc=; b=A9rg0mcMUDFuYbjwfbeXljY8m1EpHdZzQI4+AaKZ6/PBwVnimIfIH+Vfr rnoj9HH1eIR/uY8mZaWfl47/j2SXmJPRQPNElufP4LMoPhfl7sgACT6NmRTgDgT3 +LDcUEyzdooKuK7AZpGmglh8mQ7+AeDABkJttvcvFs2WLgdYNa3OQI4LpDMlzKiA /CK/yGQBiwPOmTnroWntNL9pTeRLQmDO2A+/j2AJcFngg3AsjNqRtgbIklUcmf5Q Ri9+dbwMHTKgFc7x2gchKo2TwyGo7gkl6HWkgRQcvqlM3OoOFN05gxpoDgMAsowW pOKwkqcZxCT/osja30OP2kLiYJ1Hg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrtdelgdegleculddtuddrgedtkedrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhggtgfgsehtke ertdertdejnecuhfhrohhmpefvihhmohhthhihucfurghmphhlvgcuoehsrghmphhlvght sehnghihrhhordgtohhmqeenucfkphepjeegrdduudeirddukeeirdeggeenucfrrghrrg hmpehmrghilhhfrhhomhepshgrmhhplhgvthesnhhghihrohdrtghomhenucevlhhushht vghrufhiiigvpedt X-ME-Proxy: Received: from mrblack.lan (74-116-186-44.qc.dsl.ebox.net [74.116.186.44]) by mail.messagingengine.com (Postfix) with ESMTPA id 1E8B8100E5; Sat, 29 Dec 2018 21:42:22 -0500 (EST) From: Timothy Sample To: 33916@debbugs.gnu.org Subject: [PATCH 1/4] gnu: gdm: Pass XDG_DATA_DIRS into session environment. Date: Sat, 29 Dec 2018 21:42:01 -0500 Message-Id: <20181230024204.4230-1-samplet@ngyro.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <87bm53n3iu.fsf@ngyro.com> References: <87bm53n3iu.fsf@ngyro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 33916 Cc: Timothy Sample X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/gnome.scm (gdm)[arguments]: Update the pre-configure phase so that GDM preserves the XDG_DATA_DIRS variable when setting up the session environment. --- gnu/packages/gnome.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 415398eee..da12a2987 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -32,6 +32,7 @@ ;;; Copyright © 2018 Jovany Leandro G.C ;;; Copyright © 2018 Vasile Dumitrascu ;;; Copyright © 2018 Björn Höfling +;;; Copyright © 2018 Timothy Sample ;;; ;;; This file is part of GNU Guix. ;;; @@ -5399,6 +5400,11 @@ libxml2.") ;; are met (provided GNOME is installed of course). "gdm_session_set_environment_variable (self, \"XDG_CONFIG_DIRS\",\n" " \"/run/current-system/profile/etc/xdg\");\n" + ;; The session bus (which GDM will initialize from the this + ;; session environment) needs to know where to find the system + ;; service files. + "gdm_session_set_environment_variable (self, \"XDG_DATA_DIRS\",\n" + " \"/run/current-system/profile/share\");\n" ))) ;; Look for custom GDM conf in /run/current-system. (substitute* '("common/gdm-settings-desktop-backend.c") -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 29 21:42:41 2018 Received: (at 33916) by debbugs.gnu.org; 30 Dec 2018 02:42:41 +0000 Received: from localhost ([127.0.0.1]:41759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdR3p-0004uQ-Cy for submit@debbugs.gnu.org; Sat, 29 Dec 2018 21:42:41 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:41187) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdR3o-0004uD-CD for 33916@debbugs.gnu.org; Sat, 29 Dec 2018 21:42:40 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 37D5220A70; Sat, 29 Dec 2018 21:42:35 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 29 Dec 2018 21:42:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=Li2Dn5uWXrnuZbhl7nlUI89ZCjCbfcbMxU6vkJ8jWVM=; b=mFGufEk+ Wk4nKw8zmzQQF/IxbAgAfuHzou5xCX5Ef8/TbkGBLv/c20+cpSL+apsvK4yQIL37 gRpD8yqje3rhU9MF77YjzuNaaiUxPhuscT1oiSVTba+1lxo5Ad6c4Sd4pUzaiwA2 WzJv0IKzrNmsUweojR9U43ZEHJDRCQPX5Tsjz0l32bDdQhp12gtFxiFzvFI2vUIs gR0g124KeObRQrZoJmUSB8NVZk+vm2cTXLuTDYLoDBrbF85oz0ygV9lDNU9OfQMa 8mUJ2uyE+r2Yg9wVadZX3nQkgxdbJsCRjWUQrLEYmeAYIJCUSQdX2hjT6t9AZlPx pEqMdZ6bycUmcw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrtdelgdegleculddtuddrgedtkedrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomhepvfhimhhothhhhicuufgrmhhplhgvuceoshgrmhhplhgvthes nhhghihrohdrtghomheqnecukfhppeejgedrudduiedrudekiedrgeegnecurfgrrhgrmh epmhgrihhlfhhrohhmpehsrghmphhlvghtsehnghihrhhordgtohhmnecuvehluhhsthgv rhfuihiivgeptd X-ME-Proxy: Received: from mrblack.lan (74-116-186-44.qc.dsl.ebox.net [74.116.186.44]) by mail.messagingengine.com (Postfix) with ESMTPA id BAEF3100BB; Sat, 29 Dec 2018 21:42:34 -0500 (EST) From: Timothy Sample To: 33916@debbugs.gnu.org Subject: [PATCH 2/4] gnu: gdm: Change locale settings file. Date: Sat, 29 Dec 2018 21:42:02 -0500 Message-Id: <20181230024204.4230-2-samplet@ngyro.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <87bm53n3iu.fsf@ngyro.com> References: <87bm53n3iu.fsf@ngyro.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 33916 Cc: Timothy Sample X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/gnome.scm (gdm)[arguments]: Set the '--with-lang-file' configure flag to '/etc/environment'. --- gnu/packages/gnome.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index da12a2987..5fec15b5d 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -5338,6 +5338,10 @@ libxml2.") ;; script. It provides a generic one if --enable-gdm-xsession is set. "--enable-gdm-xsession" + ;; Use '/etc/environment' for locale settings instead of the + ;; systemd-specific '/etc/locale.conf'. + "--with-lang-file=/etc/environment" + "--localstatedir=/var" ,(string-append "--with-default-path=" (string-join '("/run/setuid-programs" -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 29 21:42:50 2018 Received: (at 33916) by debbugs.gnu.org; 30 Dec 2018 02:42:50 +0000 Received: from localhost ([127.0.0.1]:41763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdR3x-0004um-Lf for submit@debbugs.gnu.org; Sat, 29 Dec 2018 21:42:49 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:40053) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdR3v-0004uY-Pb for 33916@debbugs.gnu.org; Sat, 29 Dec 2018 21:42:48 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id A757C21286; Sat, 29 Dec 2018 21:42:42 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 29 Dec 2018 21:42:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=mbdorA4t+HgQBTN4Rtnva+Af8NHOvuxJoMYdfvgIl cc=; b=eQ2dw0iehmL3QSnjQ1Lw3tunA69sSsXBaGLBuA8SiKonLDpXzJ7vEJ87P tbHEIXBz1doa/K7Farp4w75jxFyjSAHkddpsnsOkGipBOr5icuQtDot9+vXmrvh+ 0ea7Z+aPcxhxSdMqHxHcsIeCGY4oZaCTr9TuznEJhb9tF1t18ulzgYktpDFkFr+p IgsMgwZiufmI2N+a2FtXC6WxfBlyJh+G+NTc8t71eduv+cKeyrX2SVDuPU+hMkxK 4OsBxnUhSsgYL54iIQsOx1wt5yrcLoHgbavqD5UL0ZosoJwF5uCe373+pGI4Hy5E 0cWel9ALRoqlLzGiW1t4cLrQE+NdA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrtdelgdegleculddtuddrgedtkedrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhggtgfgsehtke ertdertdejnecuhfhrohhmpefvihhmohhthhihucfurghmphhlvgcuoehsrghmphhlvght sehnghihrhhordgtohhmqeenucfkphepjeegrdduudeirddukeeirdeggeenucfrrghrrg hmpehmrghilhhfrhhomhepshgrmhhplhgvthesnhhghihrohdrtghomhenucevlhhushht vghrufhiiigvpedt X-ME-Proxy: Received: from mrblack.lan (74-116-186-44.qc.dsl.ebox.net [74.116.186.44]) by mail.messagingengine.com (Postfix) with ESMTPA id 2A7A5100BB; Sat, 29 Dec 2018 21:42:42 -0500 (EST) From: Timothy Sample To: 33916@debbugs.gnu.org Subject: [PATCH 3/4] services: gdm: Remove 'allow-root?' option. Date: Sat, 29 Dec 2018 21:42:03 -0500 Message-Id: <20181230024204.4230-3-samplet@ngyro.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <87bm53n3iu.fsf@ngyro.com> References: <87bm53n3iu.fsf@ngyro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 33916 Cc: Timothy Sample X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) This option results in allowing all login attempts without asking for credentials. The name is confusing, but rather than rename it, we will remove it, since it seems like a feature that no one would want. * gnu/services/xorg.scm (): Remove 'allow-root?'. (gdm-pam-service): Do not use 'gdm-configuration-allow-root?'. --- gnu/services/xorg.scm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm index ea8433af3..48aa8f68c 100644 --- a/gnu/services/xorg.scm +++ b/gnu/services/xorg.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2017 Andy Wingo ;;; Copyright © 2013, 2014, 2015, 2016, 2017 Ludovic Courtès ;;; Copyright © 2015 Sou Bunnbu +;;; Copyright © 2018 Timothy Sample ;;; ;;; This file is part of GNU Guix. ;;; @@ -625,7 +626,6 @@ makes the good ol' XlockMore usable." gdm-configuration? (gdm gdm-configuration-gdm (default gdm)) (allow-empty-passwords? gdm-configuration-allow-empty-passwords? (default #t)) - (allow-root? gdm-configuration-allow-root? (default #t)) (auto-login? gdm-configuration-auto-login? (default #f)) (default-user gdm-configuration-default-user (default #f)) (x-server gdm-configuration-x-server)) @@ -680,10 +680,9 @@ makes the good ol' XlockMore usable." (auth (list (pam-entry (control "required") (module "pam_permit.so"))))) - (unix-pam-service - "gdm-password" - #:allow-empty-passwords? (gdm-configuration-allow-empty-passwords? config) - #:allow-root? (gdm-configuration-allow-root? config)))) + (unix-pam-service "gdm-password" + #:allow-empty-passwords? + (gdm-configuration-allow-empty-passwords? config)))) (define (gdm-shepherd-service config) (list (shepherd-service -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 29 21:42:59 2018 Received: (at 33916) by debbugs.gnu.org; 30 Dec 2018 02:42:59 +0000 Received: from localhost ([127.0.0.1]:41767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdR47-0004vA-2Q for submit@debbugs.gnu.org; Sat, 29 Dec 2018 21:42:59 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:41961) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdR45-0004ux-Rk for 33916@debbugs.gnu.org; Sat, 29 Dec 2018 21:42:58 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id AD19A20D34; Sat, 29 Dec 2018 21:42:52 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 29 Dec 2018 21:42:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=eU2/o0pLds1ouG67zO49euDL8F01wOYRDVTwrtmpSo0=; b=DGUMAyXv Gb5S6zpsL3AwoxeWD6UIHgt+MOQY0gv2wa44QOd7UPd5nz5TmvaLB2jglyS66k85 0NEABuEOr2p1rgt2YS1lw1Gt4p8qvH8iw8n57DTdPAKMorKLEDuz0FixNHcK9rDq zaQYq1VVqTnZf9n0ibnUSt13AxDCV2Ln6jLUSQCFDKHTlmfsbNoldawt8yIfzKY/ GyfhpcTSJFNV/WJbFOIFxJJffioTpQfxHwWppq4YIbqx+x0iLxGVeDkU6tHeuOso yjhrk9vzm+K55kZXqcTbxAK5g441vND8z81Q6I0OxqoOyU+Zooi4VTmDTl292LTz QdykBR8XhlEJyA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrtdelgdegleculddtuddrgedtkedrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomhepvfhimhhothhhhicuufgrmhhplhgvuceoshgrmhhplhgvthes nhhghihrohdrtghomheqnecukfhppeejgedrudduiedrudekiedrgeegnecurfgrrhgrmh epmhgrihhlfhhrohhmpehsrghmphhlvghtsehnghihrhhordgtohhmnecuvehluhhsthgv rhfuihiivgeptd X-ME-Proxy: Received: from mrblack.lan (74-116-186-44.qc.dsl.ebox.net [74.116.186.44]) by mail.messagingengine.com (Postfix) with ESMTPA id 3447610085; Sat, 29 Dec 2018 21:42:52 -0500 (EST) From: Timothy Sample To: 33916@debbugs.gnu.org Subject: [PATCH 4/4] services: gdm: Enable auto-start. Date: Sat, 29 Dec 2018 21:42:04 -0500 Message-Id: <20181230024204.4230-4-samplet@ngyro.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <87bm53n3iu.fsf@ngyro.com> References: <87bm53n3iu.fsf@ngyro.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 33916 Cc: Timothy Sample X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) GDM is now reliable enough to run automatically. * gnu/services/xorg.scm (gdm-shepherd-service): Do not set 'auto-start?' to '#f'. --- gnu/services/xorg.scm | 2 -- 1 file changed, 2 deletions(-) diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm index 48aa8f68c..b3c24746d 100644 --- a/gnu/services/xorg.scm +++ b/gnu/services/xorg.scm @@ -689,8 +689,6 @@ makes the good ol' XlockMore usable." (documentation "Xorg display server (GDM)") (provision '(xorg-server)) (requirement '(dbus-system user-processes host-name udev)) - ;; While this service isn't working properly, turn off auto-start. - (auto-start? #f) (start #~(lambda () (fork+exec-command (list #$(file-append (gdm-configuration-gdm config) -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 30 04:30:55 2018 Received: (at 33916-done) by debbugs.gnu.org; 30 Dec 2018 09:30:55 +0000 Received: from localhost ([127.0.0.1]:41822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdXQt-0002Tl-C3 for submit@debbugs.gnu.org; Sun, 30 Dec 2018 04:30:55 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:45792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdXQr-0002Tb-Mi for 33916-done@debbugs.gnu.org; Sun, 30 Dec 2018 04:30:54 -0500 Received: from localhost (77.116.200.150.wireless.dyn.drei.com [77.116.200.150]) by dd26836.kasserver.com (Postfix) with ESMTPSA id EDEEE33606B0; Sun, 30 Dec 2018 10:30:51 +0100 (CET) Date: Sun, 30 Dec 2018 10:30:46 +0100 From: Danny Milosavljevic To: Timothy Sample Subject: Re: [bug#33916] [PATCH 0/4] Make GDM usable Message-ID: <20181230103046.5625831f@scratchpost.org> In-Reply-To: <87bm53n3iu.fsf@ngyro.com> References: <87bm53n3iu.fsf@ngyro.com> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/VsMcNmO5nI5vUzUGMwidrSd"; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 33916-done Cc: 33916-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --Sig_/VsMcNmO5nI5vUzUGMwidrSd Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Timothy, thanks! I've pushed this series to master as: 92deb5cc920fcc7617302986180f1abee5fd2b26 89c8656200a21485fd50fe4d277792d7d56c63e0 de409e82261eb147b6614aef8731d795ca664ef0 48c8d067d4ded776939cda6f9c63c25b38ba77fc I've taken a look at gnu/system/pam.scm where unix-pam-service is defined, and it just does "auth sufficient pam_rootok.so". This means that root will be allowed to log in without password (which is what is documented there, too). But how come it (or gdm) then allows any user? Fedora does it differently: See https://fedoraproject.org/wiki/Enabling_Root_User_For_GNOME_Display_Man= ager > auth required pam_succeed_if.so user !=3D root quiet --Sig_/VsMcNmO5nI5vUzUGMwidrSd Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlwokEYACgkQ5xo1VCww uqUBPgf9GXtRxJBVkLru3tvIy3UzVaoUBPAL//PKz+irhiEKsk8GAKOx8nAIJ637 oHyvZ3FQD8Z0VhtWlJvEWF2VqWaA2s6jFIvGV3owM+AHVqiWyIgO0HwuVYmXYtXM Vy8+rZwaGaNBGOJc18hjZFPVXeqoNdTGbLBSLRTqB2EECdPaH3gk4Prx0nEj1maZ pvxyMGYvOPBfGZuCxHjHV3+IkGr1uoS7apk6b/jTpCim0BXEzVTCplMvlK/uriko ZcxP2vqh47/cPyIonEW483FDV6B5Uc2dvGtRAV9BnOuyLj/GjWQSB7t6MhNfqpoj gc/rpueP8K/Okq3oyqs+5b43mAaDBQ== =nb/Q -----END PGP SIGNATURE----- --Sig_/VsMcNmO5nI5vUzUGMwidrSd-- From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 30 09:42:38 2018 Received: (at 33916-done) by debbugs.gnu.org; 30 Dec 2018 14:42:38 +0000 Received: from localhost ([127.0.0.1]:41920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdcIS-0003zL-Nq for submit@debbugs.gnu.org; Sun, 30 Dec 2018 09:42:37 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:60307) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdcIQ-0003z8-P4 for 33916-done@debbugs.gnu.org; Sun, 30 Dec 2018 09:42:31 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 5226C21CE2; Sun, 30 Dec 2018 09:42:25 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 30 Dec 2018 09:42:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=jt0QYOr9ElHqun96RMKkwNOOAmN63kiS662zYEzrj n4=; b=cuOY78SrDP2jA7M3LLYoDS2oBMoP4hq+6d0EXuL4hgfx8tLenvkDD3fTo lbj3+rwC4Q/C3s49hoHWKiS0wCM6LRNUZYGIQwRHW6SeqNtiHMWaq2gRCW0l16Z0 zlMepsk40OGKIxEwNWv0kvmO9MQ5oQlO4yNpRcVzoCqIy1TaLaUr9vpIubpwrW3j da/m90tV4obsj+SyOg60nQ8kLQk7QgvPRagqM9wfYGbvMLwbaQM9CgsuxUsaSOVM HAp2NiUQV9nO/aXGk3RA/W80j5DqVeubCFPwQeM6iyXRW/RbFMTDxNDemi9uAWrm lL6x6j1rQJ0Yeej/wZHY/wKGjtUoA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledruddtgdeileculddtuddrgedtkedrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufhfffgjkfgfgggtgfesthhqredttderjeenucfhrhhomhepvfhimhho thhhhicuufgrmhhplhgvuceoshgrmhhplhgvthesnhhghihrohdrtghomheqnecuffhomh grihhnpehlihhnuhigqdhprghmrdhorhhgpdhfvgguohhrrghprhhojhgvtghtrdhorhhg necukfhppeejgedrudduiedrudekiedrgeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsrghmphhlvghtsehnghihrhhordgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from mrblack (74-116-186-44.qc.dsl.ebox.net [74.116.186.44]) by mail.messagingengine.com (Postfix) with ESMTPA id 4916D10087; Sun, 30 Dec 2018 09:42:24 -0500 (EST) From: Timothy Sample To: Danny Milosavljevic Subject: Re: [bug#33916] [PATCH 0/4] Make GDM usable References: <87bm53n3iu.fsf@ngyro.com> <20181230103046.5625831f@scratchpost.org> Date: Sun, 30 Dec 2018 09:42:23 -0500 In-Reply-To: <20181230103046.5625831f@scratchpost.org> (Danny Milosavljevic's message of "Sun, 30 Dec 2018 10:30:46 +0100") Message-ID: <877efrm5yo.fsf@ngyro.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 33916-done Cc: 33916-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) Hi Danny, Danny Milosavljevic writes: > Hi Timothy, > > thanks! > > I've pushed this series to master as: > > 92deb5cc920fcc7617302986180f1abee5fd2b26 > 89c8656200a21485fd50fe4d277792d7d56c63e0 > de409e82261eb147b6614aef8731d795ca664ef0 > 48c8d067d4ded776939cda6f9c63c25b38ba77fc Thank you! > I've taken a look at gnu/system/pam.scm where unix-pam-service is defined, > and it just does "auth sufficient pam_rootok.so". This means that root > will be allowed to log in without password (which is what is documented > there, too). > > But how come it (or gdm) then allows any user? More specifically, it means that root is authorized to perform whatever action PAM is being asked about without providing a password. In this case, =E2=80=9Croot=E2=80=9D is GDM itself, and the action is =E2=80=9Clog = in as so-and-so=E2=80=9D. Hence, PAM says, =E2=80=9Csure thing, root, log in as whoever you like!=E2= =80=9D The part I=E2=80=99m not certain about is why GDM is running as root. My current understanding is that it is running with effective UID gdm and real UID root. I remember reading in the docs that =E2=80=9Cpam_rootok.so= =E2=80=9D only cares about real UID [1]. > Fedora does it differently: > > See https://fedoraproject.org/wiki/Enabling_Root_User_For_GNOME_Display_M= anager > >> auth required pam_succeed_if.so user !=3D root quiet That looks better. That would be easy to add if people find it useful. (I wouldn=E2=80=99t bother with it, but if Fedora does it, then it must be popular enough.) [1] http://www.linux-pam.org/Linux-PAM-html/sag-pam_rootok.html -- Tim From unknown Sun Jun 22 07:43:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 28 Jan 2019 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator