Tuesday 21 January 2014

UBUNTU-System Stuck in Login Loop

Hi Ubuntu users,you might some times face these problem like when you try to log in with proper credentials it will get logged in immediately a black screen appears. Weird thing without even you see the content on the black screen your machine again show you log in screen.And the process repeats and make you vexed.Here is the solution which i found and made may machine work .


Step 1: Press ctrl+alt+F3 in your machine .you will get shell screen log in to it .

Step2 : Run ls-lah command in the shell .Check for .Xauthority in the output shown.If the output is like
           -rw------- 1 root root 53 Jan 21 10:19 .Xauthority


Step 3: Do  sudo chown username:username .Xauthority and try logging in .It worked for me and               try  this yourselves if you got stuck in the similar way


Thanks and Regards
JavasimpleStuff

No comments:

Post a Comment