After Entering My Ubuntu Login Password It Just Shows My Profile Again

One of the more mutual and arguably nigh frustrating bugs experienced past Ubuntu users is the login kicking loop. When you lot endeavour to log in to Ubuntu after starting up, yous get taken right back effectually to the same login screen, and the procedure repeats indefinitely.

It might seem similar you lot're out of luck, but in that location are a couple of means to break the loop. The most mutual cause is a strange permission event with a file Ubuntu needs to start the graphical desktop. You can piece of work your fashion effectually it past entering the command line beat and correcting the file permission. It's a quick fix, and it works in most cases.

Log in to the Shell

Ubuntu Login Screen

First Ubuntu like you normally would. Let it get all the way to the login screen. When you get there, don't sign in. Instead, press Ctrl + Alt+F3 on your keyboard. Ubuntu volition driblet out of the graphical login screen and into a black and white terminal.

Ubuntu Terminal Prompt

Enter your username in the prompt, and then provide your password when asked. You'll arrive in a familiar-looking terminal screen. You tin can navigate hither exactly like you lot do in your graphical last windows.

Ubuntu Terminal Logged In
Ubuntu Lookup Xauthority

The file you lot need to bank check is in your home folder. After logging in, y'all should already exist at that place. The file is a hidden "dot file," so you're going to need to use the correct flags when looking it upwardly. Search using ls and grep in the following command.

You should see the file listed with the permissions first, followed past the username and grouping that ain it. If you see "root" listed at that place, you've constitute the source of the problem.

Change the Permissions of Xauthority

At present that you know what's causing the trouble, it'due south time to fix information technology right. Instead of root, your user and grouping should own that Xauthority file. You can change the ownership by running the chown command with sudo.

Remember to replace username with your own username.

That should get off without a hitch, so you're ready to endeavour logging in once again. Press Ctrl + Alt + F7 to return to your normal login screen. Log in to Ubuntu!

Other Options

If that didn't work, or your Xresources file was owned by your regular user, you have a couple of other options to try. These aren't necessarily guaranteed either, but they're worth a try.

Change "/tmp" permissions

Sometimes the "/tmp" folder, which stores the temporary files your reckoner is working on, experiences the exact aforementioned issue equally the Xauthority folder. The process of fixing it is very similar.

Ubuntu TMP Permissions

Become ahead and log in to the concluding again, then cheque the permissions of "/tmp."

Yous're looking at the permissions for the top entry, the single "." If they look like "drwxrwxrwt," you're okay. If not, you lot should reset them to that state with chmod and sudo.

Reinstall Your Desktop Surroundings

If you're having absolutely zippo luck in getting to your desktop and go along going dorsum to the login screen even after you've tried all this stuff, y'all're probably encountering issues with your display managing director (the login screen you're frustrated with) and the fashion information technology's communicating with the desktop environs.

To set up this, we'll accept to practise something a little more drastic and perform a make clean re-install of your desktop environment.

Starting time past going back into the panel or final fashion and removing the DE packet for your distro:

If you installed some other desktop environment aslope information technology, remove it as well (east.chiliad., plasma-desktop). For now, don't bother reinstalling those. We'll just be getting dorsum "ubuntu-desktop" during this process to make sure you reboot into the purest environment possible.

To make this process more than rigorous, we'll need to operate with a fully updated and clean organization.

Smashing! You should have a shiny, clean Ubuntu distro running no desktop surround at all by now.

Now, install Ubuntu Desktop.

Before you lot do anything else, think to reboot:

With any luck, i of these methods solved the problem, and yous're able to log in to Ubuntu equally usual.

Often Asked Questions

1. Is this just Ubuntu-related?

No, while testing login loop scenarios, the same problems appear in every other distro that is using the X11 server, and in some scenarios, even in Wayland.

The suggestions in this article piece of work perfectly for other distros as long as you lot keep in mind that they use different bundle managers and have different packet names. For instance, to reinstall a desktop in Arch, I'd do:

The process is like but the flags in the first control perform the duties Ubuntu would with a few others.

2. How practise I preclude this effect?

The all-time manner to prevent system breakages is to brand consistent updates and backup. One of my favorite tools to exercise this with is timeshift. Installing this awarding makes you capable of performing powerful incremental backups of your system that work in a similar way to how Windows' System Restore works (except it'south faster!).

To create a backup:

To start the restoration wizard:

To list your backups:

It'southward very simple to use, even for people who are just starting to understand the final. If you tin kick to desktop, you can too manage timeshift through its GUI application!

three. I am trying to get into last way just keep getting my original login screen. What exercise I exercise?

This could exist because your system for any reason decided to run your display manager on that particular TTY session. Each Ctrl + Alt + F-key combination takes you to a different session. Try a different office fundamental in that combination.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

dillowancterionts.blogspot.com

Source: https://www.maketecheasier.com/fix-ubuntu-login-loop/

0 Response to "After Entering My Ubuntu Login Password It Just Shows My Profile Again"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel