4

I want to use gdm3 but unfortunately, it does not work. After booting it just completely hangs.

enter image description here
boot process stopped after Started GNOME Display Manager

It just does not do anything. Installing lightdm and activating it via sudo dpkg-reconfigure lightdm does work but then again that's not what I want.

I tried several things already:

  • Reinstalling NVIDIA drivers
  • Changing my run level to multi-user.target
  • Using update-rc.d -f gdm3 remove && update-rc.d gdm3 defaults to reconfigure gdm3
  • Installing the packages that I need sudo apt-get install ubuntu-gnome-desktop gnome-shell gnome
  • Reinstalling gdm3

Does anyone know how I can get gdm3 to work?

Niklas
  • 594
  • 2
  • 7
  • 18
  • 2
    How old is this computer? Exactly WHERE does it hang? Do you see the splash screen? At the GRUB menu, edit the kernel line that says "quiet splash" and add "nomodeset" and see if that allows it to boot. If it does, I'll give you a permanent fix. Report back to @heynnema – heynnema Jan 05 '19 at 02:49
  • @heynnema When I'm booting I'm seeing the GNU GRUB version 2.02 screen. I went to advanced options -> Ubuntu with Linux 4.18.0-10-generic and added `nomodeset` so it's now `linux /boot/vmlinuz-4.18.0-10-generic root=UUID=62de2584-320c-49c3-85f4-057c6c967281 ro quiet splash nomodeset $vt_handoff`. I pressed `F10`. Got to the Splash Screen showing Ubuntu 18.10 and from the same log messages appeared as above and this is the point where it hangs. This computer is quite old. ~2012 NVIDIA 660TI with Intel i7 3770k – Niklas Jan 05 '19 at 12:33
  • Please see my answer for something quick to try. If it doesn't work, we may try to uninstall the Nvidia drivers, and see what happens. Report back to @heynnema – heynnema Jan 05 '19 at 23:16
  • How did you "Changing my run level to multi-user.target"? – heynnema Jan 07 '19 at 22:58
  • `sudo systemctl isolate multi-user.target && sudo systemctl enable multi-user.target && sudo systemctl set-default multi-user.target` – Niklas Jan 09 '19 at 18:27

2 Answers2

4

Not sure if this is going to fix your problem, but it's quick, so it's worth a try...

You may have a problem with an older computer, with an older GPU. Try this...

  • boot to recovery mode
  • choose root access

type:

sudo mount -o remount,rw /      # to remount the disk r/w

sudo pico /etc/gdm3/custom.conf # edit this file

change:

#WaylandEnable=false

to:

WaylandEnable=false

Then reboot.

heynnema
  • 68,647
  • 15
  • 124
  • 180
  • Went into Grub. Selected Ubuntu with Linux 4.18.0-10-generic (recovery mode). From there I got to the point where I'm seeing `Started Update UTMP about System Runlevel Changes` and from there I'm stuck again. It does not go further. – Niklas Jan 07 '19 at 22:40
  • @Niklas Is this what's happening AFTER the mod in my answer? Do you have both Intel and Nvidia GPU's on your system? If so, go to the BIOS and temporarily select the Intel GPU and see if you get farther. If you do, the Nvidia driver is suspect. What version is it? – heynnema Jan 07 '19 at 22:57
  • 1
    Sorry for the long silence. Finally solved this by disabling my NVIDIA graphics card and using the normal Intel one. Now everything works. Thanks for all of your help. – Niklas Apr 29 '19 at 21:08
  • @Niklas how did you disable the NVIDIA graphics card? I have a similar problem and would like to see if that helps for me. – Elias May 03 '19 at 14:13
  • I went into the BIOS and switched the Graphic card selection from Auto to the Intel One. You can look up how to change that on the manufacturer website of your mainboard. – Niklas May 04 '19 at 18:58
0

I can't comment yet but this is an extension of Niklas comment on heynnema's answer.

I ran into this issue booting my new installation of 20.04.3 which is the latest LTS version. So the problem still exists, and this solution still works.

Niklas was correct that the problem is in the BIOS most likely. However there is an alternate solution if you still want to use your Nvidia graphics card instead of the built in Intel one.

The only change here is instead of disabling your card in favor of the built in graphics unit, there should be a list of options above the graphics selection in the BIOS under the name "BUS Options" or something similar. Within this menu you will see an option to enable/disable the built in video card. If you disable it, you should be able to boot to GDM successfully with your Nvidia card.

This is the steps I took for my machine, your BIOS may be different. Though I believe the core problem here is that both the built in and PCI graphics units are enabled, causing something to hang during boot time. There may be a fix to enable both, but a solid solution for now is to simply disable one or the other.