How do you fix Xauthority?

How do you fix Xauthority?

Change the Permissions of Xauthority Instead of root, your user and group should own that Xauthority file. You can change the ownership by running the chown command with sudo. That should go off without a hitch, so you’re ready to try logging in again. Press Ctrl + Alt + F7 to return to your normal login screen.

How do I run LightDM?

You can try LightDM again with sudo start lightdm. If you have another display manager you want to try (e.g. gdm) start that: sudo start gdm. You can set the default display manager by running sudo dpkg-reconfigure lightdm. Check your system is up to date, especially video drivers.

Which display manager is best?

Perhaps the most popular and certainly the most versatile display manager is LightDM. Having supplanted older display managers in popular distros, it is customizable and feature-packed. LightDM is also lightweight, and supports X.Org and Mir.

Why is there no.xauthority file in my home directory?

I have tried to follow the fixes found here to fix it, but after running ls -la there is no .Xauthority file in my home directory. I think this is related to my login loop problem, but I am not sure how to create a new .Xauthority file? Update: I switched to gdm3 and can now login with Unity for a few seconds.

Why do I keep getting the login screen again?

In login screen, if I enter my password and press ENTER I am getting login screen again. Few tips for you to help me: I created new user (from console) but same problem occurs when this new user tries to login. Please ask if you need more info. Can you provide this file? I had similar issue.. could solve it by restarting gdm:

What to do when Ubuntu login does not work?

Instead of root, your user and group should own that Xauthority file. You can change the ownership by running the chown command with sudo. That should go off without a hitch, so you’re ready to try logging in again. Press Ctrl + Alt + F7 to return to your normal login screen.