0

'Unable to Log In
Starting the sessions has failed.

Erro -> Session returned -> error code 1'

Using gdm3 I can log in normally, with Lightdm that Elementary uses I can't log in.

I already reinstalled the elementary desktop and the error persists, has anyone gone through it?

https://i.stack.imgur.com/gmSz7.jpg

2 Answers 2

0

The error, I suppose, sits in Ubunta and there is no solution or no one knows how to fix it. I sit with the same trouble.

1
  • Edited the answer above. Check the solution.
    – Sysadmin
    Jun 18, 2020 at 18:24
0

Check who is the owner of .Xauthority file. It should be a user instead of root.

Press ctrl alt and F1 for example. Login. Then type

cd /home/username

Username of course is the name of the user you are using to login to system. Then type

ls -al

You will see who is the owner of the .Xauthority. If root root then type

sudo chown username:username .Xauthority

Then type

sudo reboot

After that you should be able to login.

1
  • Your participation is much appreciated👍 Let me inform you that we love informative answers with step by step guide. Please try to post detailed information so that it is simple enough for someone with zero technical knowledge to easily understand.
    – Hasan
    Jun 18, 2020 at 13:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.