• Home »
  • »
  • Arrow keys not working in VMWare Server 2.0 Guest

Arrow keys not working in VMWare Server 2.0 Guest

I recently had to do a install of VMWare server with 4 guest operating systems and once I got it all going I found that the arrow keys were not working. On some hosts they were mapped to control or shift and on the other hosts they just did not work. After a little searching I found a simple solution. Below I outline how to fix this small issue.

First of all make sure all you Virtual Machines are shut down and you are logged out of the VMware console.

You need to locate the home directory of which ever user you are running the server under and then:


  1. cd /home/$user/.vmware

Where $user is the name of your user, for me it was /home/vmware/.vmware

Once you get in there you need to issue the command:


  1. ls -la

And look for a file called config. If the file is present then open it in a file editor and remove everything and replace it with the following code:


  1. xkeymap.keycode.108 = 0x138 # Alt_R
  2. xkeymap.keycode.106 = 0x135 # KP_Divide
  3. xkeymap.keycode.104 = 0x11c # KP_Enter
  4. xkeymap.keycode.111 = 0x148 # Up
  5. xkeymap.keycode.116 = 0x150 # Down
  6. xkeymap.keycode.113 = 0x14b # Left
  7. xkeymap.keycode.114 = 0x14d # Right
  8. xkeymap.keycode.105 = 0x11d # Control_R
  9. xkeymap.keycode.118 = 0x152 # Insert
  10. xkeymap.keycode.119 = 0x153 # Delete
  11. xkeymap.keycode.110 = 0x147 # Home
  12. xkeymap.keycode.115 = 0x14f # End
  13. xkeymap.keycode.112 = 0x149 # Prior
  14. xkeymap.keycode.117 = 0x151 # Next
  15. xkeymap.keycode.78 = 0x46 # Scroll_Lock
  16. xkeymap.keycode.127 = 0x100 # Pause
  17. xkeymap.keycode.133 = 0x15b # Meta_L
  18. xkeymap.keycode.134 = 0x15c # Meta_R
  19. xkeymap.keycode.135 = 0x15d # Menu

If there is no file called config just create one and add the preceding code.

This will tell VMWare server how to map the keys on start up and should correct the problem.