From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Prikler Subject: bug#39281: gdm doesn't start Date: Mon, 27 Jan 2020 06:24:36 +0100 Message-ID: <078e812400c0944093ac949b71a8782bf5401caf.camel@student.tugraz.at> References: <93d47bbc972a326dd8479b7ecee7ec83@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52279) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ivwtU-0008U5-Bs for bug-guix@gnu.org; Mon, 27 Jan 2020 00:25:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ivwtT-0000rR-5c for bug-guix@gnu.org; Mon, 27 Jan 2020 00:25:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51757) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ivwtS-0000qj-NW for bug-guix@gnu.org; Mon, 27 Jan 2020 00:25:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ivwtS-0001nd-JF for bug-guix@gnu.org; Mon, 27 Jan 2020 00:25:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: 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-mx.org@gnu.org Sender: "bug-Guix" To: Jack Hill , Raghav Gururajan Cc: sirgazil@zoho.com, 39281@debbugs.gnu.org Am Sonntag, den 26.01.2020, 23:50 -0500 schrieb Jack Hill: > I believe that I've found the problem! > > Using the technique that Ludo’ described in > ;, I was able to grab an > strace > of gdm (attached) while it was failing to start properly. I was > suspicious > of the following line: > > """ > 418 22:46:10 sendto(8, "<13>Jan 26 22:46:10 gdm: GdmManager: > couldn't > look up username gnome-initial-setup\n", 83, MSG_NOSIGNAL, NULL, 0) = > 83 > <5.487224> > """ > > so I removed gnome-initial-setup from the propagated-inputs with the > following patch, and, indeed, that resolved the problem with gdm on > my > system. > > While I'm still not exactly sure why this was causing gdm problems, > and > why `herd restart xorg-server` caused gdm to start working correctly, > I > think that removing gnome-initial-setup from the gnome meta-package > is the > right thing to do. Instead, perhaps it could be provided via its own > service, auto-selected by the installer. If I recall correctly from > other > distros (e.g. Fedora), the gnome-initial-setup wizard is run from its > own > user on first boot, and after it finishes, the user is logged in as > themselves. That said, gnome-initial-setup did seem to run fine for > me the > first time I logged into gnome after it was installed, and hasn't > stared > again. The problem is, that adding gnome-initial-setup in any way to the operating-system config will likely trigger this bug as well, and not adding it at all will skip the initial setup until it is installed at user level (at this point, I'd argue it to be no longer necessary). You could try creating a file named "/var/lib/gdm/.config/gnome- initial-setup-done" with the contents "yes" to skip the initial setup, but I'm pretty sure, that it will be looked up regardless. 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. Btw. are there more logs regarding gnome-initial-setup than this one? At least in my case none of them seem to land in greeter.log or messages. Regards, Leo