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: Mon, 27 Jan 2020 06:24:36 +0100	[thread overview]
Message-ID: <078e812400c0944093ac949b71a8782bf5401caf.camel@student.tugraz.at> (raw)
In-Reply-To: <alpine.DEB.2.20.2001262334250.11123@marsh.hcoop.net>

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 
> <https://issues.guix.gnu.org/issue/34580#17>;, 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

  parent reply	other threads:[~2020-01-27  5:25 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     ` Leo Prikler [this message]
2020-01-28  9:37       ` bug#39281: gdm doesn't start Leo Prikler
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=078e812400c0944093ac949b71a8782bf5401caf.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).