Keeps going back to the login screen
I am trying to login to a CentOS 6.3 linux machine but after entering login info, it goes back to login screen again. It works fine at the CLI (run level3) but not at run level 5. I tried checking /var/log/messages and /etc/log/secure but could not find any clue.
Please help me to resolve this issue.
Thanks in advance!