unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Prikler <leo.prikler@student.tugraz.at>
To: Jack Hill <jackhill@jackhill.us>,
	Raghav Gururajan <raghavgururajan@disroot.org>
Cc: sirgazil@zoho.com, 39281@debbugs.gnu.org
Subject: bug#39281: gdm doesn't start
Date: Tue, 28 Jan 2020 10:37:37 +0100	[thread overview]
Message-ID: <ab9bb7fdaad38c88983f9557ef55d8851224af25.camel@student.tugraz.at> (raw)
In-Reply-To: <078e812400c0944093ac949b71a8782bf5401caf.camel@student.tugraz.at>

[-- Attachment #1: Type: text/plain, Size: 1049 bytes --]

Am Montag, den 27.01.2020, 06:24 +0100 schrieb Leo Prikler:
> Perhaps some GNOME people know how to disable this in other ways, but
> it's the first time I've even seen the dialog, so there's not much
> else I can say.
Welp, I found the culprit.  It appears to be a bug in gdm-service-type
rather than the gnome meta-package.  Specifically, the default GDM
setting appears to be to launch the initial-setup inside GDM "on first
boot", whatever GDM interprets that to be.  This can be disabled by
setting "daemon/InitialSetupEnable=false".
Adding this setting to GDM does not affect the initial user setup,
which is probably what raghavgururajan wanted to achieve with the
inclusion of this package into gnome.  It only skips the initial system
setup -- a step that Guix should already take care of on its own.

I've attached a patch, that should take care of this bug.  So far, I've
only tested it in a VM (with the package added back into gnome), so it
would be nice if one of you could test this with a real reboot before
commiting.

Regards,
Leo

[-- Attachment #2: 0001-services-Disable-initial-setup-in-GDM.patch --]
[-- Type: text/x-patch, Size: 1292 bytes --]

From 9c467dfeb2ab942cf70c0f7f75886e052c864907 Mon Sep 17 00:00:00 2001
From: Leo Prikler <leo.prikler@student.tugraz.at>
Date: Mon, 27 Jan 2020 23:56:57 +0100
Subject: [PATCH] services: Disable initial setup in GDM.

* gnu/services/xorg.scm (gdm-configuration-file):
Disable gnome-initial-setup.  Starting it from GDM is probably not the right
idea, given that a configuration record for gdm already exists, and it also
causes bugs like #39281.
---
 gnu/services/xorg.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index 9c84f7413f..2b2fd7539d 100644
--- a/gnu/services/xorg.scm
+++ b/gnu/services/xorg.scm
@@ -862,7 +862,10 @@ the GNOME desktop environment.")
                    "#TimedLoginEnable=false\n"
                    "#TimedLogin=\n"
                    "#TimedLoginDelay=0\n"
-                   "#InitialSetupEnable=true\n"
+                   ;; Disable initial system setup inside GDM.
+                   ;; Whatever settings are set there should already be
+                   ;; taken care of through `guix system'.
+                   "InitialSetupEnable=false\n"
                    ;; Enable me once X is working.
                    "WaylandEnable=false\n"
                    "\n"
-- 
2.25.0


  reply	other threads:[~2020-01-28  9:38 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <d65f5a5c54b87c11f535d6b3080e794c21dbedd6.camel@student.tugraz.at>
2020-01-27  2:26 ` bug#39281: gdm doesn't start Jack Hill
2020-01-27  3:30 ` Raghav Gururajan
2020-01-27  4:50   ` Jack Hill
2020-01-27  4:52     ` bug#39281: [PATCH] gnu: gnome: don't propagate gnome-initial-setup Jack Hill
2020-01-27  5:24     ` bug#39281: gdm doesn't start Leo Prikler
2020-01-28  9:37       ` Leo Prikler [this message]
2020-01-28 18:03         ` Jack Hill
2020-01-28 18:18           ` sirgazil via Bug reports for GNU Guix
2020-01-28 18:21             ` Jack Hill
2020-01-28 18:26               ` sirgazil via Bug reports for GNU Guix
2020-01-28 20:11         ` Danny Milosavljevic
2020-01-27  8:51   ` Raghav Gururajan
2020-01-27 19:08     ` Jack Hill
2020-01-27 19:54       ` sirgazil via Bug reports for GNU Guix
2020-01-27 20:13         ` Jack Hill
2020-01-27 20:24         ` Danny Milosavljevic
2020-01-27 21:06           ` Jack Hill
2020-01-27 20:29         ` Danny Milosavljevic
2020-01-27 22:07           ` sirgazil via Bug reports for GNU Guix
2020-01-28  5:21     ` Raghav Gururajan
2020-01-25 20:32 Jack Hill
2020-01-25 22:32 ` sirgazil via Bug reports for GNU Guix
2020-01-26  3:33   ` Jack Hill

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=ab9bb7fdaad38c88983f9557ef55d8851224af25.camel@student.tugraz.at \
    --to=leo.prikler@student.tugraz.at \
    --cc=39281@debbugs.gnu.org \
    --cc=jackhill@jackhill.us \
    --cc=raghavgururajan@disroot.org \
    --cc=sirgazil@zoho.com \
    /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).