[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35068: GDM crashes when it cannot find any .desktop files
From: |
Ludovic Courtès |
Subject: |
bug#35068: GDM crashes when it cannot find any .desktop files |
Date: |
Sun, 21 Apr 2019 22:12:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Danny Milosavljevic <address@hidden> 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’.
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))
- bug#35068: GDM crashes when it cannot find any .desktop files, Ludovic Courtès, 2019/04/01
- bug#35068: GDM crashes when it cannot find any .desktop files, Danny Milosavljevic, 2019/04/20
- bug#35068: GDM crashes when it cannot find any .desktop files, Ludovic Courtès, 2019/04/20
- bug#35068: GDM crashes when it cannot find any .desktop files, Danny Milosavljevic, 2019/04/21
- bug#35068: GDM crashes when it cannot find any .desktop files, Danny Milosavljevic, 2019/04/21
- bug#35068: GDM crashes when it cannot find any .desktop files,
Ludovic Courtès <=
- bug#35068: GDM crashes when it cannot find any .desktop files, Timothy Sample, 2019/04/25
- bug#35068: GDM crashes when it cannot find any .desktop files, Danny Milosavljevic, 2019/04/25
- bug#35068: GDM crashes when it cannot find any .desktop files, Timothy Sample, 2019/04/25
- bug#35068: GDM crashes when it cannot find any .desktop files, Danny Milosavljevic, 2019/04/26
- bug#35068: GDM crashes when it cannot find any .desktop files, Ludovic Courtès, 2019/04/26
- bug#35068: GDM crashes when it cannot find any .desktop files, Timothy Sample, 2019/04/26
- bug#35068: GDM crashes when it cannot find any .desktop files, Ludovic Courtès, 2019/04/27