2

I've tried just about everything I've found suggested. Every time I put in my password, it looks like it is logging in, but then it cycles back to the password entry page.

Anyone have this issue as well and know of any fixes?

7
  • rm .X* in your home directory? Usually this problem is caused by $HOME/.Xauthority being screwed up. Oct 26, 2015 at 23:00
  • Am I able to do that from the login screen? So far, any combination of ctrl+alt+F1 etc. have not worked... Would booting into a Live CD work?
    – tgrowl
    Oct 27, 2015 at 23:38
  • You need to get to a shell somehow. Either boot GRUB into recovery mode, or if you're booting EFI, append the 'recovery' kernel parameter to the boot line. Oct 28, 2015 at 0:20
  • "tried just about everything I've found suggested" - please mention what you have tried so far.Please provide links to solutions you have tried, if possible. Also are you able to login to guest session ?
    – Ravan
    Oct 29, 2015 at 9:40
  • I have not yet tried deleting $HOME/.Xauthority. I have tried all shell access methods with no luck. I will reply back tonight to update on whether or not deleting that file works. Thank you for the support. And I disbaled the Guest session feature.
    – tgrowl
    Oct 30, 2015 at 23:52

2 Answers 2

4

Start the system, and open a terminal by pressing Ctrl+Alt+F2 and type:

sudo rm -r $HOME/.Xauthority

Press Ctrl+Alt+F7 to return to the login screen. This should solve the issue.

2
  • This worked for me
    – Suici Doga
    May 17, 2016 at 1:14
  • OMG Haha thanks so much to user4300. I don't have the reputation to comment on the awnser but that's the only thing that worked after debugging the whole day Jun 30, 2020 at 0:59
1

Ctrl+Alt+F1 to F6 switches to terminal on logon screen. Ctrl+Alt+F7 goes back to logon screen. This solution is from the beginning of Linux history.

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.