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

Thread: i can't login in ubuntu 12.04 LTS.

  1. #1
    Join Date
    May 2013
    Beans
    12

    i can't login in ubuntu 12.04 LTS.

    i can't login with the correct password in ubuntu desktop. i cant get through. it keeps me back in to login page when I try to login correctly. please help me. what am i gonna suppose do to?

  2. #2
    Join Date
    May 2013
    Beans
    12

    i can't login in ubuntu 12.04 LTS.

    i can't login with the correct password in ubuntu desktop. i cant get through. it keeps me back in to login page when I try to login correctly. please help me. what am i gonna suppose do to?

  3. #3
    Join Date
    Jan 2013
    Location
    Norrkoping, Sweden
    Beans
    144
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: i can't login in ubuntu 12.04 LTS.

    What account are you using?
    If your'e trying to login with root you can't. root is disabled by default, you have to login using the account you created during install.

  4. #4
    Join Date
    May 2010
    Location
    uk
    Beans
    9,249
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: i can't login in ubuntu 12.04 LTS.

    Threads merged.

    Please don't create multiple threads on the same subject.

    It dilutes community effort and creates work for staff.
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

    Thinking about becoming an Ubuntu Member?

  5. #5
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: i can't login in ubuntu 12.04 LTS.

    If you cannot login using the same account created during the installation, then you have a few choices.
    a) reinstall, noting the userid and password carefully this time
    b) some easy hacking of the password and shadow password files using a LiveCD. This method is very fast for someone already familar with the shell and CLI, but for someone used to point-n-click, it is likely too complex. http://www.howtogeek.com/howto/linux...m-the-live-cd/ provides instructions.
    c) Find a Linux password-reset tool and use it. Looks like this method http://naveenubuntu.blogspot.com/201...untu-1204.html makes resetting a password trivial.

    I would try option C first. That appears to be trivial, if it actually works. It also points out a huge security problem wiht default Ubuntu installs. Physical computer access means complete access.

  6. #6
    Join Date
    May 2010
    Location
    uk
    Beans
    9,249
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: i can't login in ubuntu 12.04 LTS.

    Hi

    Quote Originally Posted by alpimj View Post
    i can't login with the correct password in ubuntu desktop. i cant get through. it keeps me back in to login page when I try to login correctly. please help me. what am i gonna suppose do to?
    When did this start happening ?

    In the session before it happened, did you install graphics drivers, any other software or have a software update ?

    Are you getting any message telling you the password is incorrect ?

    It sounds like X windows may be crashing.

    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

    Thinking about becoming an Ubuntu Member?

  7. #7
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,193
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: i can't login in ubuntu 12.04 LTS.

    Guys; 'nother thought;

    Have the permissions on the .ICEauthority or .Xauthority files changed ? Could be the cause if these files are no longer owned by <the user> account. Easy enough to check:

    1. At the login screen, press Ctrl+Alt+F1 to get to the console.
    2. Log in there.
    3. Check if ".ICEauthority" is owned by you:
    Terminal Code:
    Code:
    ls -al .ICEauthority
    4. If it isn't (but possibly by root), change it to you:
    Terminal Code:
    Code:
    sudo chown USERNAME:USERNAME .ICEauthority
    5. Switch back to the login screen by pressing Ctrl+Alt+F7 or F8
    6. Try again to log in.
    If it worked, see here about a possible cause:
    http://www.psychocats.net/ubuntu/graphicalsudo


    better take a look at the permissions on ~/.Xauthority, too. It often gets changed when ~/.ICEauthority gets changed. The same fix applies.


    hope this helps
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  8. #8
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: i can't login in ubuntu 12.04 LTS.

    ~/.ICEauthority and ~/.Xauthority can be deleted safely when you aren't running X ... or just before logout. They will be recreated as needed.

    The only time I've needed to remove those were after I started X/Windows from a different account by my $HOME was not reset for the other account. Basically, it is when sudo gets used when it shouldn't.
    Last edited by TheFu; May 15th, 2013 at 11:16 AM.

  9. #9
    Join Date
    Feb 2011
    Location
    Somewhere...
    Beans
    1,554
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: i can't login in ubuntu 12.04 LTS.

    Quote Originally Posted by Bashing-om View Post
    Guys; 'nother thought;

    Have the permissions on the .ICEauthority or .Xauthority files changed ? Could be the cause if these files are no longer owned by <the user> account. Easy enough to check:

    1. At the login screen, press Ctrl+Alt+F1 to get to the console.
    2. Log in there.
    3. Check if ".ICEauthority" is owned by you:
    Terminal Code:
    Code:
    ls -al .ICEauthority
    4. If it isn't (but possibly by root), change it to you:
    Terminal Code:
    Code:
    sudo chown USERNAME:USERNAME .ICEauthority
    5. Switch back to the login screen by pressing Ctrl+Alt+F7 or F8
    6. Try again to log in.
    If it worked, see here about a possible cause:
    http://www.psychocats.net/ubuntu/graphicalsudo


    better take a look at the permissions on ~/.Xauthority, too. It often gets changed when ~/.ICEauthority gets changed. The same fix applies.


    hope this helps
    Seconded. About 8 out 9 times I encountered the error was due to the permissions of those files. Worth fixing them before going nuclear.

  10. #10
    Join Date
    May 2013
    Beans
    12

    Re: i can't login in ubuntu 12.04 LTS.

    Quote Originally Posted by Bashing-om View Post
    Guys; 'nother thought;

    Have the permissions on the .ICEauthority or .Xauthority files changed ? Could be the cause if these files are no longer owned by <the user> account. Easy enough to check:

    1. At the login screen, press Ctrl+Alt+F1 to get to the console.
    2. Log in there.
    3. Check if ".ICEauthority" is owned by you:
    Terminal Code:
    Code:
    ls -al .ICEauthority
    4. If it isn't (but possibly by root), change it to you:
    Terminal Code:
    Code:
    sudo chown USERNAME:USERNAME .ICEauthority
    5. Switch back to the login screen by pressing Ctrl+Alt+F7 or F8
    6. Try again to log in.
    If it worked, see here about a possible cause:
    http://www.psychocats.net/ubuntu/graphicalsudo


    better take a look at the permissions on ~/.Xauthority, too. It often gets changed when ~/.ICEauthority gets changed. The same fix applies.


    hope this helps



    it didn't work

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
  •