Open Suse 10.2 dumping me back to the login screen

Open Suse 10.2 was giving me some trouble with KDE dumping me back to the login screen for my user account even though the password was correct. It went something like me typing the login id and password and pressing enter, the screen going black and then, poof! back to the login screen.

I was able to login as root, able to login through my user login on the console by pressing alt+ctrl + f1 and also was able to login to a new account I created by loging in to the gui and using Yast. With help from the www.thinkdigit.com/forum members and lots from Google, finally found this source
http://suseforums.net/index.php?showtopic=5073

It was pretty simple actually. Get into the console into the user’s home directory (the user who is unable to logon) and remove the file .xinitrc

rm .xinitrc

That’s it. Now I just tried logging in and everything is back to normal.