My laptop was working perfectly, but suddenly today I turned it on and after GRUB, the Plymouth splash flashed and then the screen went black with a blinking cursor. After blinking like 6 times, the cursor disappears and the screen stays completely black. Ubuntu won't boot after that and the computer is non-responsive to Ctrl+Alt+Del, so I have to reboot by holding the power button and then turning it back on.
I tried using the Recovery Mode to see if it was a problem with X or whatever... But it always seemed to crash when it was going to ask me to login. I did some research on the Internet and then tried holding Shift while booting up and then pressing 'e' when GRUB showed up. I then removed "quiet splash" and tried with "text" there. Computer booted up and I didn't get any errors. Logged in with my user and password, and then did a manual startx. After that the laptop starts and runs perfectly, as I'm using it right now to write this message.
I think the problem is something in gdm, but I don't know what. I thought maybe it was a problem with Plymouth, but I imagine failsafex from Recovery Mode would skip Plymouth and just send you to log in.
Does anybody have any idea how to get gdm to work again? Or any idea what could be wrong with it?