From: "Ludovic Courtès" <ludo@gnu.org>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: 35068@debbugs.gnu.org
Subject: bug#35068: GDM crashes when it cannot find any .desktop files
Date: Sun, 21 Apr 2019 22:12:42 +0200 [thread overview]
Message-ID: <87v9z72k3p.fsf@gnu.org> (raw)
In-Reply-To: <20190421113749.0439cbc9@scratchpost.org> (Danny Milosavljevic's message of "Sun, 21 Apr 2019 11:37:49 +0200")
[-- Attachment #1: Type: text/plain, Size: 454 bytes --]
Danny Milosavljevic <dannym@scratchpost.org> skribis:
> Apr 21 11:23:57 localhost gdm: XXX gdm: value == NULL for key == PATH
> Apr 21 11:23:57 localhost gdm: Child process -1384 was already dead.
> Apr 21 11:23:57 localhost gdm: Child process 1381 was already dead.
> Apr 21 11:23:57 localhost gdm: Unable to kill session worker process
Good catch!
Looks like setting PATH in GDM’s environment isn’t enough, though…
Ludo’.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1642 bytes --]
diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index d4e73c13b4..26cfad6044 100644
--- a/gnu/services/xorg.scm
+++ b/gnu/services/xorg.scm
@@ -859,7 +859,11 @@ the GNOME desktop environment.")
;; can depend on GNOME Shell directly.
(cons #$gnome-shell
'#$(gdm-configuration-gnome-shell-assets
- config)))))))))
+ config)))))
+
+ ;; GDM wrecks havoc when PATH is unset:
+ ;; <https://bugs.gnu.org/35068>.
+ "PATH=/run/current-system/profile/bin"))))
(stop #~(make-kill-destructor))
(respawn? #t))))
diff --git a/gnu/system/examples/desktop.tmpl b/gnu/system/examples/desktop.tmpl
index 3931bad60d..e3afe0b8e2 100644
--- a/gnu/system/examples/desktop.tmpl
+++ b/gnu/system/examples/desktop.tmpl
@@ -62,12 +62,7 @@
;; by clicking the gear. Use the "desktop" services, which
;; include the X11 log-in service, networking with
;; NetworkManager, and more.
- (services (append (list (service gnome-desktop-service-type)
- (service xfce-desktop-service-type)
- (set-xorg-configuration
- (xorg-configuration
- (keyboard-layout keyboard-layout))))
- %desktop-services))
+ (services %desktop-services)
;; Allow resolution of '.local' host names with mDNS.
(name-service-switch %mdns-host-lookup-nss))
next prev parent reply other threads:[~2019-04-21 20:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-01 8:05 bug#35068: GDM crashes when it cannot find any .desktop files Ludovic Courtès
2019-04-20 15:06 ` Danny Milosavljevic
2019-04-20 20:22 ` Ludovic Courtès
2019-04-21 9:37 ` Danny Milosavljevic
2019-04-21 9:43 ` Danny Milosavljevic
2019-04-21 20:12 ` Ludovic Courtès [this message]
2019-04-25 18:49 ` Timothy Sample
2019-04-25 19:15 ` Danny Milosavljevic
2019-04-26 1:02 ` Timothy Sample
2019-04-26 9:36 ` Danny Milosavljevic
2019-04-26 8:10 ` Ludovic Courtès
2019-04-26 18:32 ` Timothy Sample
2019-04-27 16:27 ` Ludovic Courtès
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=87v9z72k3p.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=35068@debbugs.gnu.org \
--cc=dannym@scratchpost.org \
/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).