If you are trying to login to your system and getting into a loop cycle, then the reason could be the .Xauthority file.
Check the file by issuing the following command:
Alt + Ctrl + F1
Login with your credentials.
$ ls -lah
The .Xauthority file should belong to the user you are trying to login with.
If it is not, probably this is the issue.
Solve it by assigning it to the user you want to login with.
Issue the following command:
$ chown username:username .Xauthority
The above command should solve the issue.
Check the file by issuing the following command:
Alt + Ctrl + F1
Login with your credentials.
$ ls -lah
The .Xauthority file should belong to the user you are trying to login with.
If it is not, probably this is the issue.
Solve it by assigning it to the user you want to login with.
Issue the following command:
$ chown username:username .Xauthority
The above command should solve the issue.
No comments:
Post a Comment