4

At my wit's end here! I can't get gdm to run. Not just not at boot-time, but at all. There's no error message. tty7 stays blank. It doesn't seem to attempt to start an X server. It doesn't log anything in /var/log/gdm or /var/log/Xorg.0.log (anywhere else I should look?).

$ sudo start gdm
gdm start/running, process 17747
$ sudo start gdm
gdm start/running, process 17769
$ sudo start gdm
gdm start/running, process 17791
$ sudo stop gdm
stop: Unknown instance: 

I've purged gdm, installed gdm, reinstalled gdm with -f and -m for good measure, wiped /usr/share/gdm, /etc/gdm, /etc/dconf/db/gdm.d and even ~/.config/dconf/user... nothing! Upgrading to 14.10 didn't help, either.

Running the gdm binary itself starts up some sort of miniature Gnome-Shell with nothing to do.

Gnome-Shell itself works fine with lightdm... minus the screen lock functionality, which I want. Besides, it just bothers me that something doesn't work. :รพ

I'm having this issue on a regular desktop as well as an Eee PC 1215 N with intel/nvidia hybrid graphics. Both have KDE in addition to Gnome-Shell. (Well, I reinstalled the Eee PC with elementary OS yesterday).

Update: sudo start gdm says "gdm start/running" and provides a pid even with the gdm binary itself removed.

1 Answers1

1

I suspect a bug. Maybe gdm's crashing on launch.

In theory sudo apt-get update; sudo apt-get --purge --reinstall install gdm might help if it's corrupted or (more likely as it was likely upgraded when you upgraded your release to Utopic) its config is bad. So I'd try that first.

When that fails, I suggest enabling automated bug reporting to Launchpad, then see if you're offered the chance to submit a bug report when you launch gdm with sudo start gdm. (On 14.10, you likely do not need to do this, as development releases are set up to let you report bugs in this way.)

  • That works for the typical case of checking to see if a program that doesn't appear to run properly is crashing. But since a GUI is likely not running when you attempt to start gdm (if one is, maybe that's the problem!), you may have to manually check to see if Apport generated any data on the crash.

    Assuming you're running sudo start gdm from a text-based virtual console, which is the usual case, you will likely not actually be informed explicitly of the crash. But assuming you set up Apport as detailed above, you can then check to see if there is a .crash file in /var/crash for gdm.

    You can then continue the bug reporting process by running ubuntu-bug ... (from in a GUI) or apport-cli ... (non-graphical), with ... replaced by the name of the .crash file, including the .crash suffix. Either do this from the /var/crash directory or start the filename with /var/crash/.

If Apport generated .crash file and/or prompted you to report a bug, that confirms it's a crash (and thus almost certainly a bug). You can go through with the report, but please read this first.

Eliah Kagan
  • 119,640