gdm3 won't start by default after upgrade to 18.10 from 18.04
I had the same problem on both my Ubuntu 18.04 boxes after upgrade to 18.10. Both are configured with nvidia grahpics and to use the vanilla gnome session Ubuntu provides (not the Unity-ish version they munged together). Much faffing with nvidia drivers had no effect.
I did two other things - not sure which brought it back. From this answer
Edit /etc/gdm3/custom.conf
as a sudo
and uncomment the line to force Xorg over Wayland
WaylandEnable=false
I also installed ubuntu-session
:
sudo apt install ubuntu-session
But not sure whether that is really required so I suggest you try editing /etc/gdm3/custom.conf
and rebooting first.
hth
Related videos on Youtube
jimouris
Computer Security PhD student at the University of Delaware. BSc and MSc degrees from University of Athens, Greece.
Updated on September 18, 2022Comments
-
jimouris over 1 year
When I configure gdm as my default display manager (
dpkg-reconfigure gdm3
) and then reboot, I get a black screen with a blinking cursor. From there, I cannot do anything since the ttys does not work (ctrl+alt+F1 to F7). I could not figure out why.In order to resolve this issue, I boot into safe mode, reconfigure lightdm and then reboot.
I observed that gdm could not start for some reason (hence the black screen).
$ systemctl status gdm.service ● gdm.service - GNOME Display Manager Loaded: loaded (/lib/systemd/system/gdm.service; static; vendor preset: enabled) Active: inactive (dead) Nov 04 16:46:05 rigel systemd[1]: gdm.service: Unit cannot be reloaded because it is inactive.
When I manually start gdm
systemctl status gdm.service
I am able to logout and log back in using gdm. After reboot, the black screen occurs again with the blinking cursor.Any ideas? Thanks.
GNOME Shell 3.30.1 Ubuntu 18.10 cosmic Kernel: x86_64 Linux 4.18.0-10-generic NVIDIA driver 410.73 (GeForce GTX 970)
-
Admin over 5 yearsHow old is this computer? Laptop or desktop? Video card? Does it boot if you set nomodeset in the kernel boot line in GRUB?
-
Admin over 5 years@heynnema Thanks for the suggestion. The computer is a desktop (not old, about 3 years). My video card is Nvidia GeForce GTX 970. I tried the
nomodeset
flag in GRUB but I got the same error. -
Admin over 5 yearsYou could try reinstalling gdm3. Maybe the update didn't complete.
sudo apt-get update
andsudo apt-get install --reinstall gdm3
. Thensudo dpkg-reconfigure gdm3
and reboot. -
Admin over 5 yearsI have also tried that, did not work.
-
Admin over 5 yearsUpdate: Disabling
Wayland
and reinstallingubuntu-session
fixed the issue, as @adrinux suggested.
-
-
jimouris over 5 yearsThanks!! I have tried to disable Wayland
WaylandEnable=false
(I saw it in the same answer as you), but it had not worked. However, reinstallingubuntu-session
fixed the problem. -
adrinux over 5 yearsOut if interest did you revert that change to
WaylandEnable=false
before reinstallingubuntu-session
? -
jimouris over 5 yearsYes, I first disabled
Wayland
and then reinstalledubuntu-session
. -
knoftrix over 4 yearsFor me reinstalling ubuntu-session worked. No need to disable wayland. The problem started after upgrade from 18.10 to 19.04.