I have Dell Precision T-3620 Workstation and I have installed ubuntu 16.04 in it. It worked well for 1 day. One Day, I had to run a command on the terminal so I pressed Ctrl + Alt + F1 before logging in. I did my work and when I restarted it, I faced a problem. When I write the password, the screen just flashes and the login screen comes again in front of me. When it asks for password, I give it. It waits for sometime and the screen bounces back to the login screen, It recognizes incorrect password and I can login through the terminal but I can't access my files and when I add the correct password, it waits and screen bounces back. Someone said to remove .Xauthority, so I pressed Ctrl + Alt + F1 and typed
rm .Xauthority But it still didn't work.
Please anyone help me out.
Thanks in advance..............