Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Login Screen Cycles - Won't Accept Password

  1. #1
    Join Date
    May 2008
    Location
    Morehead City, NC
    Beans
    88
    Distro
    Ubuntu 16.04 Xenial Xerus

    Login Screen Cycles - Won't Accept Password

    I am unable to get past the login screen. It won't accept passwords, the screen momentarily goes black, and then returns to the login screen.

    I recently found out that you can use CTRL-ALT-F1 to switch from the login screen to the command line. My password works in that situation and I was able to enter terminal mode.

    I typed in "startx" to see what would happen. I received several error messages that pointed to the "xkeyboard-config" file being corrupt.

    That would seem to confirm why I could not use the login screen to login, but could login from the terminal mode.

    How can this file be fixed? Or, how can "startx" be deleted and then reinstalled?

  2. #2
    Join Date
    Aug 2011
    Location
    Melbourne, Australia.
    Beans
    Hidden!
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Login Screen Cycles - Won't Accept Password

    Hi,

    I'm not sure, but this may help -
    http://www.psychocats.net/ubuntu/resetpassword
    PopularPages: A very handy Documentation Search Tool used by many.
    PopularPages Wiki Thread
    My New Blog

  3. #3
    Join Date
    May 2008
    Location
    Morehead City, NC
    Beans
    88
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Login Screen Cycles - Won't Accept Password

    Quote Originally Posted by BlinkinCat View Post
    I'm not sure, but this may help -
    http://www.psychocats.net/ubuntu/resetpassword
    Thanks. I had already tried that, did not work. The passwords do work from the command line. So problem would have to be in the keyboard configuration file.
    Last edited by Steve R.; December 14th, 2012 at 02:09 AM.

  4. #4
    Join Date
    Apr 2012
    Beans
    7,256

    Re: Login Screen Cycles - Won't Accept Password

    Hmm.. well if you just switch to a VT with Ctrl-Alt-Fn that leaves the whole Xserver / lightdm running in TTY7 I think - so I'd be surprised if startx worked in that scenario - usually you'd need to manually stop the lightdm service first

    Have you checked your .Xauthority file didn't just get messed up? logged in to your VT, try

    Code:
    ls -l ~/.{ICE,X}authority
    and report back

  5. #5
    Join Date
    May 2008
    Location
    Morehead City, NC
    Beans
    88
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Login Screen Cycles - Won't Accept Password

    I didn't see anything. .Xauthority was 0 bytes long. Still got the message "Keyboard initialization failed. Missing or incorrect setup for the Xkeybaord-Config". It occurred to me that this error message itself is a misleading error message as the login screen was just pushed into the background so I was actually starting a second instance.

    That's probably going to be it for tonight.

  6. #6
    Join Date
    Apr 2012
    Beans
    7,256

    Re: Login Screen Cycles - Won't Accept Password

    OK more important is ownership / permissions - they should be

    Code:
    -rw------- 1 user user 2258 2012-12-03 18:29 /home/user/.ICEauthority
    -rw------- 1 user user   52 2012-12-03 18:29 /home/user/.Xauthority
    i.e. owned and writable by 'user'

  7. #7
    Join Date
    May 2008
    Location
    Morehead City, NC
    Beans
    88
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Login Screen Cycles - Won't Accept Password

    Quote Originally Posted by steeldriver View Post
    OK more important is ownership / permissions - they should be

    Code:
    -rw------- 1 user user 2258 2012-12-03 18:29 /home/user/.ICEauthority
    -rw------- 1 user user   52 2012-12-03 18:29 /home/user/.Xauthority
    i.e. owned and writable by 'user'
    Good point, they were owned by "root". I went ahead and corrected the ownership.
    I experimented by toggling between "lightdm" and "gdm", still had the same problem.
    Last edited by Steve R.; December 14th, 2012 at 03:52 AM.

  8. #8
    Join Date
    Apr 2012
    Beans
    7,256

    Re: Login Screen Cycles - Won't Accept Password

    OK that happens... if they're root owned just delete ('rm') them - they will get regenerated with correct ownership next time you successfully log in to your X session

  9. #9
    Join Date
    May 2008
    Location
    Morehead City, NC
    Beans
    88
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Login Screen Cycles - Won't Accept Password

    I may have a match. I received the following error message in the file ".xsession-errors"
    openConnection: connect: No such file or directory
    cannot connect to brltty at :0
    mkdtemp: private socket dir: Permission denied
    A writeup on this error appeared on Judson's Notes - Ubuntu login screen loop!. From what I could tell, my "libxfce4util.so.6" was in the correct place, though under the additional sub-directory of "x86_64linuxgnu"
    I experimented around some, but nothing worked.

    I will need to look into this post too: login loop after 4.10 install - libxfce4util.so.6 not found
    Last edited by Steve R.; December 15th, 2012 at 06:10 AM.

  10. #10
    Join Date
    May 2008
    Location
    Morehead City, NC
    Beans
    88
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Login Screen Cycles - Won't Accept Password

    I have achieved partial success in that I can now login under my wife's account and I get to the Ubuntu desktop. I did get a bunch of Ubuntu "internal error messages". I hope that those will clear-up through further clean-up. Additionally, when logging into my wife's account, the screen goes nuts for a few seconds.

    I still can't directly login into my account. To solve that issue, I plan save my user files under my wife's account, delete myself, and then reinstall myself as a user. For now, I need to take a break and fix some real-world issues.

    Essentially, I ended up deleting the packages for the Ubuntu desktop, Lamp, Xorg, and brllty. I then slowly reinstalled one by one, but that didn't resolve the login issue until I reset the "/tmp" directory's read/writer permissions.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •