After recently upgrading my media center to 10.04 (for the LTS) and making lots of updates which may have overwritten stuff (configs), the login was impossible at the name selection menu.
VNC doesn't work either, it says the server refuses the connection. (10061) On the other hand, I can still connect to the server via SSH, and the Samba shares are unaffected.
When I try to login at the computer itself, the screen flashes black a few times and it then brings me back to the name selection menu.
Via SSH, I tried deleting the xauthority file from the /home directory, renaming it and rebooting afterwards didn't do it either.
I tried reinstalling gdm to no avail.
Can someone explain the difference between X and gdm?