I just did a fresh install of ubuntu 12.04. When i get to the login screen, my keyboard and mouse won't work. I tried to go to recovery mode through grub but the keyboard wont work on the recovery menu GUI. how do i go around it?

thanks in advance!


Install or reinstall the input drivers:

Open a terminal by pressing Ctrl+Alt+T and copy paste following command and press Enter.

sudo apt-get install xserver-xorg-input-all

If it is already installed, then purge and reinstall it:

sudo apt-get --purge autoremove xserver-xorg-input-all && sudo apt-get install xserver-xorg-input-all
| improve this answer | |

Mouse and keyboard don't work in graphical mode of Ubuntu Unity.


sudo apt-get purge xserver-xorg
sudo apt-get autoremove

If you work in recovery mode you probably haven't dns to fix it:

echo nameserver >> /etc/resolv.conf
sudo apt-get install xorg
sudo apt install gdm

Choose gdm-light or gdm3. Both are working.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.