I was trying to restart the X server with
sudo /etc/init.d/gdm restart, and doing so brought me to a black screen with some messages I don't remember, and left me hanging like that. So I had to do a hard reboot. So now when booting I get to the ubuntu logo on the purple background and it just hangs like that. Doesn't accept keyboard input, I can't alt+d or ctrl+alt+f2.
I edited the ubuntu line in the grub menu and removed
quiet but that didn't do anything. How do I diagnose this?