No Keyboard with VMWare Player/Workstation and Ubuntu 10.04

Today when cranking up VMware with Ubuntu 10.04 I lost my keyboard. Here’s what you do to get in. Unfortunately for me, this didn’t work, because the virtual keyboard wouldn’t work for me either. Since it was a fresh install here were my steps:

  1. Click New Virtual Machine

    1

  2. Choose “I will install the operating system later”

    2

  3. Choose linux and Ubuntu on the next screen

    3

  4. Name it whatever and wherever you want it located on the next screen.
  5. Give it your required size, etc.
  6. Once created, right click on it and choose Edit
  7. Under hardware -> CD/DVD choose Use ISO image and use your ISO image as the CD

    4

  8. Boot the VM
  9. Run your 10.04 setup, the way you want to.
  10. When you get to the keyboard layout – test your keyboard. It should work!
  11. Finish install and you now have a working VM, but no VM tools yet. VM tools installation coming next!!

Getting VM Tools working: (If you want them working)

  1. Once you are logged in, pull up a Terminal from the menu.
  2. According to this blog (And thanks very much!)
  3. First let’s make a backup: sudo cp /etc/default/console-setup /etc/default/console-setup.BACKUP
  4. sudo nano /etc/default/console-setup
  5. Look for: (If it doesn’t need changes – then skip this step)

    XKBMODEL=”SKIP”
    XKBLAYOUT=”us”
    XKBVARIANT=”U.S. English”
    XKBOPTIONS=””

  6. Change to:

    XKBMODEL=”pc105″
    XKBLAYOUT=”us”
    XKBVARIANT=””
    XKBOPTIONS=””

  7. If it’s already set that like it was for me then click the VMWare tools install at the bottom of the VM screen. It should be there when you have it in the smaller window view.
  8. It should open a virtual directory on your VM showing a vmwaretools.XXXX.tar.gz
  9. Double click it and extract it where you want it
  10. Once extracted, browse to that folder with a Terminal
  11. Run: sudo ./vmware-install.pl
  12. Take all the default options in the install, unless you know exactly what you are doing

    5

  13. Finish the install

    6

  14. Once it says it’s complete do a restart to ensure everything went okay!

That should be it. I hope that helps someone out there and if you need help, post below.

Author:  Crimm

Software engineer (PHP, Bat, VBS), Sr. Systems Admin, Techie, Father, Gamer, Anime watcher (Wannabe Otaku), & full of geek!

  • http://none pdizzle

    thanks! worked like a charm :lol:

  • neil

    Thanks a lot! It worked just perfect for me as well

  • Jason

    Thanks,

    This was as frustrating as hell, appreciate the Blog.
    :)

  • http://crimm.me Crimm

    I’m glad this is working for everyone :grin:

  • Ryan

    Many thanks! Both with the keyboard issue and installing the vmware tools.

  • Seb

    Thx a lot ! It’s works fine.

  • http://mingtomb.info ming tombs

    I fond this archive from google.I think it is a good archive.Thank you!