Results 1 to 8 of 8

Thread: Log in Failure

  1. #1
    Join Date
    Apr 2005
    Beans
    73
    Distro
    Ubuntu 14.04 Trusty Tahr

    Log in Failure

    Hello,

    This morning when I booted my 12.04LTS desktop it would not let me log in.

    What happens is when I get to the screen to select user name and enter password, after entering the correct password it just blanks the screen and then brings you back to the log in screen again.

    If you type in the wrong password it gives you the error message, so I know I am entering the correct password when I do.

    I also have a "guest" account that has no password required, and when I tried to use that account it just loops back to the log in screen again.

    I tried selecting different versions of the kernel from grub, both regular and recovery versions and that makes no difference.

    Since the last Live disk I have is 10.10 it doesn't seem to play nicely with my DVD drive, so I couldn't open a Live session of Ubuntu.

    So I went and bought a new HDD (and a 8-gig usb drive) then swapped out the misbehaving HDD for the new one and installed 10.10 on the new HDD (which is how I got to here).

    Does anyone recognise this problem? I searched the forum titles for the same issue, and there seem to be a few similar, but they are usually for much older versions of Ubuntu.

    I was thinking that my best bet would to be to make a Bootable USB drive for 12.04 and then swap the old HDD back in and see if I can fix things that way.

    If it would help diagnose the problem I could also pop the misbehaving HDD in an external cradle before reinstalling.

    My PC is a AMD Phenom II X6 1055 with 8G of ram and a AMD/ATI radeon 5850. No other peripherals other than the DVD drive.

    I wasn't downloading or updating anything when I shut down.

    Cheers,

    Brad

  2. #2
    Join Date
    Apr 2005
    Beans
    73
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Log in Failure

    OK, so now I have a bootable USB stick with the latest 12.04 LTS iso image on it, and I know it works (it's how I got here this time).

    However before I pull out my new HDD to put back the old misbehaving one, I booted onto the machine with the 10.10 HDD still in it, and I got a number of questions, like 'install in new partition', 'upgrade 10.10 to 12.04' and 'erase 10.10 and install 12.04'.

    But there were no 'would youlike to repair the current os' options.

    So can someone please tell me if the live CD will ask me about repairing the 12.04 on my old disk?

  3. #3
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Log in Failure

    First make sure you are not running out of space in your misbehaving HD (/home, root, or other essential system partitions).
    Code:
    df -h
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |
    [SIGPIC][/SIGPIC]

  4. #4
    Join Date
    Apr 2005
    Beans
    73
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Log in Failure

    Thanks for the reply bapoumba.

    The misbehaving HDD had ~800Gb free space last time I checked (a few days before it went bad).

  5. #5
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Log in Failure

    Quote Originally Posted by Brad wilkinson View Post
    Thanks for the reply bapoumba.

    The misbehaving HDD had ~800Gb free space last time I checked (a few days before it went bad).
    OK, fine with me, but just make sure _some_ particular partition is not running out of space (/boot may be if you have one for ex, or root if you have kept may kernels). The fact your guest user cannot log in leads to some problem with the system and not only with a particular user.

    Some errors could help pinpoint the issue. Can your boot in one of the virtual terminals ?
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |
    [SIGPIC][/SIGPIC]

  6. #6
    Join Date
    Apr 2005
    Beans
    73
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Log in Failure

    I could get to the login screen (GDM?) but from that point I was unable to do anything as I described in the first post.

    So I don't know if I would be able to run a terminal session, as I would still have to log in, which seemed to be the problem I was having with the graphical connection.

    EDIT

    As far as I know, the 12.04 install that is playing up is all by itself on a ~1Tb partition on a 2Tb drive. I didn't manually include different partitions for the various /directories, so unless that is part of the installation they should all have plenty of room.

    I never manually repartitioned it for different kernel versions, whenever they hit the repo's I just let synaptic/apt do its thing.
    Last edited by Brad wilkinson; March 11th, 2014 at 10:43 AM. Reason: Answer more questions

  7. #7
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Log in Failure

    Quote Originally Posted by Brad wilkinson View Post
    I could get to the login screen (GDM?) but from that point I was unable to do anything as I described in the first post.

    So I don't know if I would be able to run a terminal session, as I would still have to log in, which seemed to be the problem I was having with the graphical connection.
    You'll have to check it from a live session i'm afraid then.

    Here are the steps to chroot to a partition (up to step #5) http://ubuntuforums.org/showthread.p...4#post12877164

    Then you'll have to test your different partitions. As i'm not that comfortable with the chroot, I'll ping steeldriver to see if they can assist you.
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |
    [SIGPIC][/SIGPIC]

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

    Re: Log in Failure

    Before trying a chroot environment, I'd suggest *trying* to log in at one of the non-GUI virtual terminals (Ctrl-Alt-F1 / Ctrl-Alt-F2 etc.) - the GUI session startup does a lot of extra stuff besides login so it's by no means a given that it won't work. If you can get in that way, we can look at the display manager log files to see if anything jumps out. It's certainly unusual for ALL logins to be affected - most often the problem is with a particular user's session / profile / home dir.

    I don't have any experience with gdm (did you install gdm manually or is that a left-over from upgrading? the default for 12.04 is lightdm). Another possibility might be to install / switch to lightdm.

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
  •