ScottAllender.com

developer geek... social media advocate...
community activist

 Recent Posts
Feb 18

Written by: Scott Allender
2/18/2009 7:25 PM 

Wow.  Long title.  But a huge pain in the ars if (like me) you use Linux hosting a Windows VM.  When I first started using VMware Workstation 6.5, I was stoked.  Stable, worked well with any VMs regardless of where I created them.  Then I started noticing that specific keys on my keyboard wouldn't work.  Or would act like I pressed a different key.  My favorite was when I repeatedly tapped the down arrow on my keyboard only to see my start bar launch.

I did some research, and like my most Linux solutions, it was DIY.  Manually add the key mappings to the *.vmx file.  Well, after upgrading my system to a new linux kernel, my vm lost it's key mappings.  Probably unrelated, but still damn frustrating.  On top of that, I completely forgot what the hell I did to fix it in the first place.

So tonight I was doing more research, and I found the greatest thread ever in VMware Communities.  Completely accurate as to my problem, the only thing it lacked was a solution spelled out for me.  At the bottom of thread though, lo and behold, was a KB article.

The gist of the KB article was that new versions of Linux are using a new version of the evdev drivers.  This is causing some issues with key mapping in VMware Workstation.  Simply open /etc/vmware/config in your favorite text editor (nano is my preferred) and add the following line at the bottom of the file:

xkeymap.noKeycodeMap = "TRUE"

This means that Workstation will not interpret keystrokes based on keycodes, but based on the symbols of the keys, which I'm guessing is different from previous versions of the evdev driver.  Putting this line in your /etc/vmware/config will make sure that all vms on your Linux host map the correct keys.  Pretty handy if I do say so myself.

Tags:

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
CAPTCHA image
Enter the code shown above in the box below
Add Comment   Cancel 
 Welcome!

Welcome to scottallender.com.  I'm an IT pro out of St. Louis, based out of St. Louis, MO.  I specialize in Microsoft .Net Technologies, DotNetNuke, and other various technologies.  I also volunteer my time in my home town of Maryland Heights, MO.  Bounce around the site if you're interested in finding out more.

my rss feed   Feel free to subscribe to the feed.

 Current Twitter Status
  • @christoc will do!
    9/5/2010 2:32:06 PM by n3bu1a
  • Race has started again.#gatewaycup
    9/5/2010 1:55:37 PM by n3bu1a
  • Strappinf the rider to a stretcher. Looks bad. #gatewaycup
    9/5/2010 1:46:50 PM by n3bu1a
  • The race has been stopped #gatewaycup
    9/5/2010 1:45:53 PM by n3bu1a
  • RT @microsoft_cares: Should you be infected with conficker or ANY virus the PCSafety team at Microsoft offers FREE assistan…"
    3/31/2009 4:01:36 PM by n3bu1a
 Recently Read Items
 Search