Yesterday I upgraded my Ubuntu from 23.10 to 24.04. After successful upgrade, I suspended the system and went to sleep. Today, I noticed that the system stuck at login page. I rebooted the system and noticed that the boot process moves forward but instead of showing the login page, it shows me the list of started services. I didn't notice anything wrong in that log.
I switched to tty2 and by running systemctl status gdm
noticed that it failed to start. And the result was similar to the screenshot of this question.
In tty2 (Ctrl+Alt+2), I ran the following commands to reinstall a fresh gdm3 package:
Right after installation, login screen appeared. I logged in and restarted the system to ensure it continues to work properly.
It fixed my problem.
I just had the same problem today with 24.04. Tried one suggestion from the web and it didn't work. Tried Mostafa's and it did work!
After multiple tries the gdm settings did not work for me.
I have tried to install lightdm and settings or lightdm-gtk-greeter and settings and can't get either of them to work. That's how I ended up with no gdm3 display manager.
BTW, I am using the MATE/GNOME2 desktop which I've used since 2006. Can't stand GNOME!