From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#35068: GDM crashes when it cannot find any .desktop files Date: Sat, 20 Apr 2019 17:06:49 +0200 Message-ID: <20190420170649.30c05dbd@scratchpost.org> References: <87lg0um9qb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/reE=MtXvVHfgvB+.m7rw7jm"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:46307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHra3-00077U-1s for bug-guix@gnu.org; Sat, 20 Apr 2019 11:07:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hHra2-0004I1-4x for bug-guix@gnu.org; Sat, 20 Apr 2019 11:07:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33099) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hHra2-0004Hk-2U for bug-guix@gnu.org; Sat, 20 Apr 2019 11:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hHra1-0006X5-OS for bug-guix@gnu.org; Sat, 20 Apr 2019 11:07:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87lg0um9qb.fsf@gnu.org> 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: 35068@debbugs.gnu.org --Sig_/reE=MtXvVHfgvB+.m7rw7jm Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, I just got hit by a similar problem. I've got .xinitrc in my home directory and no .xsession file. The former just invokes startfluxbox. Now after guix system reconfigure, gdm got selected as login manager. After I log in at the gdm prompt, it enters an endless loop, switching terminals with almost no delay--which makes further debugging difficult. I *think* I saw an authentication failure after I typed in my user name, but I can't be sure. It doesn't ever ask for my password. I'm writing this from a recovery shell which I entered like the following: * Reboot * Let gdm start * Do NOT log in (if I did, it would endless-loop the machine) * Press Ctrl-Alt-F2 * on the text console, invoke "ps -ef |grep xorg" and type the command line so shown again, but insert ":1" as the first argument. * Press Ctrl-Alt-F3 * Invoke: DISPLAY=3D:1 startfluxbox * Press Alt-F8 I have the following suggestions for improvements: (1) Please back off after trying to login so one can actually debug things. If the login doesn't work on the first try it won't work on the next 245 tr= ies in the next second either. (2) Please have a failure fallback that at least returns you to gdm instead= of looping forever. (3) If there is an error message plase show it in a dialog box-- there's xdialog and zenity that allows you to show a dialog box easily. (4) Please honor .xsession and .xinitrc if it's there (5) Please make gdm state the key to use in order to select a session type. I've still got no idea how to select a different session type in gdm. --Sig_/reE=MtXvVHfgvB+.m7rw7jm Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAly7NYkACgkQ5xo1VCww uqUUTQf/apuVfGIHCnnB1w09huXo2YrolL3qNt3SzX2NrsDZkrnH3n7K/34AzTnT x9Vhs3yGULdb/zEpfa7Utzr50lUzQhp1/Zs5JM/WZzvmAtDc5D0dD7pFfqmI+n96 AkQwgx7fmWpZmMJ5K6/0oMHxycO9KJg0S4mfuWseAmNsx6qP3tN4+k184SN0EhZk f+A9lbAKRSdcvCC1MOMcU/5lX/iVs6DNeNFOsIkO2uOqobSayfp4T8oxcjmiEIkL vKwuZqgsnTdkRiFwmJ6UhbsPl4EgBf4hJWTGuq3ylaDxkjCAiqb090Clp3o67pVb 7JhubsQob4KXrCuvk/OuCdY78x8pbA== =N932 -----END PGP SIGNATURE----- --Sig_/reE=MtXvVHfgvB+.m7rw7jm--