Ubuntu: An UnIdentified Loop

Ubuntu is a very popular operating system, especially in the programming community. Though, It is undoubtedly one of the best-operating systems out there it has its flaws. The Infamous Ubuntu login loop is an issue that doesn’t let you log in to your system. You open your device enter your username and password on the login screen and it denies access. This issue is more common than it appears to be especially for programmers. Follow these steps to fix this issue:

Fix Ownership settings of config files

.Xauthority and .ICEauthority are the crucial config files whose ownership settings sometimes get messed up. Type these two commands to fix this issue: In the below two commands username is replaced by your actual username

sudo chown username:username .Xauthority
sudo chown username:username .ICEauthority
sudo shutdown -r now

/tmp folder

The /tmp folder is one of the most crucial folders in the ubuntu system. If the system is not able to access this folder it can destroy your entire system. In order to fix this issue run these two commands:

cd /
sudo chmod 1777 /tmp
sudo shutdown -r now

Reinstall Ubuntu Environment

If none of the above works you might need to reinstall the ubuntu desktop environment. In order to do so run these commands

sudo apt remove ubuntu-desktop
sudo apt update
sudo apt dist-upgrade
sudo apt autoremove
sudo apt clean
sudo apt install ubuntu-desktop
manorinfinity Written by:

Complex Problem Solver, Outloud Thinker, An Outstanding Writer, and a very curious human being

Be First to Comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.