It won't start X server automatically as a regular user but instead shows Logon screen. When I enter my password it flashes for a second and it's back to Logon screen again. Then I tried to log in as Guest user and it all went well. How can I fix this. Please help.
To answer guntbert's question: Sorry but I don't know how to copy ls -lA output here. But i think it has something to do with .Xauthotiry beacuase it started poping up this error in terminal "xauth: timeout in locking authority file".