Ubuntu 12.04LTS stuck at login mouse and keyboard not responding

9,510

Phew! Thanks for the help blue; so this is what I ended up doing:

  1. From grub boot menu entered recovery
  2. mount -o rw,remount /
  3. Commented out any samba or nfs mounts in my fstab file, as these were interfering with enabling networking.
  4. Enabled networking
  5. sudo apt-get update and sudo apt-get upgrade and sudo apt-get update --fix-missing
  6. dpkg-reconfigure lightdm (I switched to lightdm)
  7. Rebooted, this gave a properly functioning command line login shell. 8.sudo apt-get install ubuntu-desktop
  8. startx

Things seem to be working, but the desktop did crash once for no apparent reason. If the desktop crashes again, I might remove ubuntu-desktop and just use an old 90's style cruddy twm or something.

Share:
9,510

Related videos on Youtube

user169954
Author by

user169954

Updated on September 18, 2022

Comments

  • user169954
    user169954 over 1 year

    I have Ubuntu 12.04LTS installed on a dual-booted machine i5 dual core 8G RAM and it's been working fine, but today for some reason when I logged out and tried to log back in it is stuck at the login page, i.e. the mouse and the keyboard are not responding. The mouse is stuck at the top left corner of my screen, and I can do nothing but to turn the machine off. (I have been using logitech wireless mouse and keyboard.) I can not access the virtual console using Alt F1 or Ctrl Alt F1 either!

    Here is what I have tried so far:

    1. Verified it is not a H/W problem since the mouse and keyboard work fine with windows7
    2. Booted with ubuntu installation dvd and ran trial mode and mouse and keyboard worked fine.
    3. Tried bypassing the login screen by booting into recovery mode and editing tty1.conf, but to no avail.
    4. I moved .Xauthority .profile and .bashrc from my $HOME to another location so my login would proceed completely by system defaults. But this did not help
    5. From recovery mode commandline used to dpkg-reconfigure to switch between gdm and lightgdm. This did not help either.
    6. By the way, when in recovery mode as root from command line I mount the filesystem, all apps work fine. Python is Ok, octave is ok, vi is ok etc.

    I have a feeling if I could only bypass the login screen, and automatically get into the desktop, I will be ok. But I haven't been able to accomplish this either.

    I desperately need help please. Thank you in advance.

    Update: So I tried to switch to lightdm by dpkg-configure lightdm. This at least brings me up to the classical linux commandline login prompt but without a gui. Should I install startx? Should I install ubuntu-desktop?

    • Terminal User
      Terminal User over 10 years
      This happened to me once I remove my xorg-server. You can try to reinstall xorg-server to see if you can solve the problem...
  • user169954
    user169954 almost 11 years
    I tried it, again no effect.
  • blue
    blue almost 11 years
    Try sudo apt-get upgrade and sudo apt-get update --fix-missing
  • O. R. Mapper
    O. R. Mapper about 10 years
    If this was the working solution, please mark it as accepted.
  • O. R. Mapper
    O. R. Mapper about 10 years
    Can you clarify how to get into that recovery mode, please? My Ubuntu is stuck in the same situation, and when I try to boot using the recovery item from Grub, I still get to a login screen where I cannot do anything.
  • O. R. Mapper
    O. R. Mapper almost 10 years
    I have created a separate question for that particular issue.