Sep 9, 2009

Keyboard layout problem in VMware Server 2

Recently I’ve installed VMware Server 2 which are needed for some of my projects. I was very excited and look forward to install OS in it. However, on my first OS installation, I noticed that the keyboard layout was wrong. I have no choice but to abort the installation and find the solution for that problem. After doing several searching, I found out that I need to add something in the vmware configuration file. For my future reference, here are the solution;
$ sudo vim /etc/vmware/config
and add this line into the config file;
xkeymap.nokeycodeMap = “TRUE”
save, exit, and your done. NOTE: You cannot pipe the echo command to the /etc/vmware/config with sudo, as you’ll end up getting the Permission denied, unless you can change to root and pipe the echo command. For example;
$ sudo su $ echo -e “xkeymap.nokeycodeMap = \”TRUE\”" >> /etc/vmware/config $ exit