From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#35068: GDM crashes when it cannot find any .desktop files Date: Sun, 21 Apr 2019 22:12:42 +0200 Message-ID: <87v9z72k3p.fsf@gnu.org> References: <87lg0um9qb.fsf@gnu.org> <20190420170649.30c05dbd@scratchpost.org> <20190421113749.0439cbc9@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:59564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIIpi-0000vb-SM for bug-guix@gnu.org; Sun, 21 Apr 2019 16:13:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIIph-0002y2-Td for bug-guix@gnu.org; Sun, 21 Apr 2019 16:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35584) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hIIph-0002xt-Nu for bug-guix@gnu.org; Sun, 21 Apr 2019 16:13:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hIIph-0005yg-IE for bug-guix@gnu.org; Sun, 21 Apr 2019 16:13:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20190421113749.0439cbc9@scratchpost.org> (Danny Milosavljevic's message of "Sun, 21 Apr 2019 11:37:49 +0200") 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.org@gnu.org Sender: "bug-Guix" To: Danny Milosavljevic Cc: 35068@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Danny Milosavljevic skribis: > Apr 21 11:23:57 localhost gdm: XXX gdm: value =3D=3D NULL for key =3D=3D = PATH=20 > Apr 21 11:23:57 localhost gdm: Child process -1384 was already dead.=20 > Apr 21 11:23:57 localhost gdm: Child process 1381 was already dead.=20 > Apr 21 11:23:57 localhost gdm: Unable to kill session worker process=20 Good catch! Looks like setting PATH in GDM=E2=80=99s environment isn=E2=80=99t enough, = though=E2=80=A6 Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline 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: + ;; . + "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)) --=-=-=--