I updated my Ubuntu Linux to 14.04 and now the mouse and keyboard don't work in the login screen. I tried re-installing grub from a Live USB, but it's still not working. I would really appreciate your help.

  • does the keyboard work before the boot loader, when it is controlled by the BIOS ?, like to hit del, f2 or whatever to enter setup... Commented Dec 13, 2014 at 20:07
  • yes it does. It doesn't work only in login screen.
    – Ivana
    Commented Dec 13, 2014 at 20:10
  • I also have installed Windows 7 Ultimate, and I don't have any problems login in that SO.
    – Ivana
    Commented Dec 13, 2014 at 20:11
  • Do the Mouse and Keyboard work in a normal Terminal? Press Ctrl + Alt + F3 at the login screen, then try logging in.
    – eyoung100
    Commented Dec 13, 2014 at 20:30
  • I press Ctrl + Alt + F3 at the login screen but doesn't work.
    – Ivana
    Commented Dec 13, 2014 at 20:36

3 Answers 3


Reinstall input device drivers

sudo apt-get install --reinstall xserver-xorg-input-all
  • 3
    I just did it, but still not working.
    – Ivana
    Commented Dec 13, 2014 at 20:25
  • 1
    Have you updated your system with sudo apt-get update && sudo apt-get upgrade ? I found there was some bug that could cause it.
    – kirill-a
    Commented Dec 13, 2014 at 20:53
  • How can she do that if she can't login?
    – eyoung100
    Commented Dec 13, 2014 at 21:35
  • 2
    Thanks for your answers! I try update and upgrade booting with a ubuntu live ubs. But it still not working.
    – Ivana
    Commented Dec 13, 2014 at 22:09
  • 1
    Can you login with recovery mode? When grub is showing list of options, there should be recovery mode for ubuntu.
    – kirill-a
    Commented Dec 14, 2014 at 8:40

half-way fix: reboot, choose in boot menu older kernel, boot it. keyboard and mouse works. then you can login and fix your configs. ps: if you can not boot anymore (cause you kill your grub) then only one way to fix: you must make boot usb flash drive and boot from it. then mopunt your HDD and backup/fix your configs.


Boot into recovery mode, hold shift after the BIOS loads.

Select the second kernel with (recovery mode). If you still have the same problem, mouse/keyboard not responding then reboot and try again with the next available recovery mode kernal. I have once had to use the third option before it worked.

Turn on networking network then fix the packages dpkg. Once complete resume. The video drivers may be wonky, either way reboot.

Keyboard and mouse should be working again.

  • What if no options work? Commented Mar 2, 2017 at 15:11
  • Unable to start network, therefore dpkg doesn't work !!
    – user391339
    Commented Mar 2, 2018 at 5:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .