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

Thread: Password doesn't work

  1. #1
    Join Date
    Jun 2012
    Beans
    6

    Password doesn't work

    So I restarted my Ubuntu 12.04 LTS desktop after installing some software and when I get to the login screen, I type my password and the screen goes black like its loading and then comes back to the login in screen. I thought I must have misspelled the password, but if I purposely misspell it, it tells me in red (invalid password, please try again) at the login screen.

    So I decided to reset it via this link and according to the root director I did reset it properly.

    However, when I get back to the login screen and type in the newly reset password, I get the black, loading like screen and then it takes me back to the login screen.

    Any suggestions?

  2. #2
    Join Date
    Jun 2012
    Location
    Colorado springs, CO
    Beans
    52
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Password doesn't work

    OK, lets see if your password works.
    type:
    Code:
    CTL+ALT+F1
    This will drop to console mode. see if your login works here. if it does, then you will get a welcome message, and a $> prompt.

  3. #3
    Join Date
    Apr 2012
    Beans
    5,698

    Re: Password doesn't work

    ... as above, then do

    Code:
    ls -l ~/.*authority
    If either of them has become owned by root then remove them

    Code:
    sudo rm ~/.Xauthority
    Then go back to the X virtual terminal (usually Ctrl-Alt-F7) and try again.

  4. #4
    Join Date
    Jun 2012
    Beans
    6

    Re: Password doesn't work

    Quote Originally Posted by blackflame2996 View Post
    Code:
    CTL+ALT+F1
    I did this, typed my username/password and got to the :~$

    However, when I did the next step of

    Quote Originally Posted by steeldriver View Post
    ... as above, then do

    Code:
    ls -l ~/.*authority
    I get the following:

    Command 'ls' is available in '/bin/ls'

    The command could not be located because '/bin' in not included in the PATH environment variable.

    ls: command not found



    After that it returns to the :~$ prompt

  5. #5
    Join Date
    Jun 2012
    Beans
    3

    Re: Password doesn't work

    You can try a direct path

    Code:
    /bin/ls -l ~/.*authority

  6. #6
    Join Date
    Jun 2012
    Beans
    6

    Re: Password doesn't work

    Quote Originally Posted by jarro221 View Post
    You can try a direct path

    Code:
    /bin/ls -l ~/.*authority
    So using this I got the following:


    -rw----- 1 username username 21550 June 20 12:49 /home/username/.ICEauthority


    -rw----- 1 username username 0 June 22 16:20 /home/username/.Xauthority



    Now going back to steeldriver's post, should I use the following code to remove the .Xauthority:

    Code:
    sudo rm ~/.Xauthority

  7. #7
    Join Date
    Apr 2012
    Beans
    5,698

    Re: Password doesn't work

    no... it seems like that is not your problem - your .Xauthority / .ICEauthority ownership and permissions look fine to me

    it looks like there are more serious issues - starting with why your VT shell doesn't have a correctly set $PATH variable

    you could check ~/.xsession-errors and/or your greeter log to see if there are any clues there

  8. #8
    Join Date
    Jun 2012
    Beans
    6

    Re: Password doesn't work

    So do you think that this could be something more serious? I'm asking because I am by no means a Linux/Ubuntu expert and I don't really know where to go from there.

  9. #9
    Join Date
    Apr 2012
    Beans
    5,698

    Re: Password doesn't work

    well I am running 11.10 but I think the lightdm bits should be the same - what does

    Code:
    sudo tail /var/log/lightdm/x-0-greeter.log
    give? in particular look for lines about "Loading user" and "Authentication"

  10. #10
    Join Date
    Jun 2012
    Beans
    6

    Re: Password doesn't work

    Quote Originally Posted by steeldriver View Post
    well I am running 11.10 but I think the lightdm bits should be the same - what does

    Code:
    sudo tail /var/log/lightdm/x-0-greeter.log
    give? in particular look for lines about "Loading user" and "Authentication"
    After Crtl-Alt-F1 I wrote the above code. Got the following:


    Command 'sudo' is available in '/usr/bin/sudo'
    The command could not be located because '/usr/bin' is not included in the PATH environment variable.
    sudo: command not found

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
  •