Hi, I installed wmware in windows 7 and running ubuntu 12.04. For first time it works fine but if I shutdown the laptop and tried to use it does not allow me to login. It try to login but come back to login desktop again. If I press Ctrl + Alt + F1 then it give me option to login (as running a terminal). I tried to delete /.Xauthority but did not help.

In some other post it say to use sudo chown -R $USER:$USER $HOME but how can I insert $ ?
Any other way to solve it?