[ubuntu] Login Screen Cycles - Won't Accept Password

view story

http://ubuntuforums.org – I am unable to get past the login screen. It won't accept passwords, the screen momentarily goes black, and then returns to the login screen. I recently found out that you can use CTRL-ALT-F1 to switch from the login screen to the command line. My password works in that situation and I was able to enter terminal mode. I typed in "startx" to see what would happen. I received several error messages that pointed to the "xkeyboard-config" file being corrupt. That would seem to confirm why I could not use the login screen to login, but could login from the terminal mo (Hardware)