unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: 35068@debbugs.gnu.org
Subject: bug#35068: GDM crashes when it cannot find any .desktop files
Date: Sat, 20 Apr 2019 17:06:49 +0200	[thread overview]
Message-ID: <20190420170649.30c05dbd@scratchpost.org> (raw)
In-Reply-To: <87lg0um9qb.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1584 bytes --]

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=: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 tries
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.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2019-04-20 15:07 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 [this message]
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
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=20190420170649.30c05dbd@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=35068@debbugs.gnu.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).