I just noticed that when running a VM on VMware Workstation 6.5 and Ubuntu 8.10(but this problem probably also occurs on other non-Windows OS’es), you can’t use the arrow keys. But also ctrl-alt-ins isn’t working, which is annoying cause you would have to do it with the mouse. And no arrow keys also means that you can’t browse through your command-line history in Windows or Linux for that matter. Luckily there are two work arounds:

  1. sudo gedit /etc/vmware/config
  2. If that doesn’t work try adding the following:
    xkeymap.keycode.108 = 0×138 # Alt_R
    xkeymap.keycode.106 = 0×135 # KP_Divide
    xkeymap.keycode.104 = 0x11c # KP_Enter
    xkeymap.keycode.111 = 0×148 # Up
    xkeymap.keycode.116 = 0×150 # Down
    xkeymap.keycode.113 = 0x14b # Left
    xkeymap.keycode.114 = 0x14d # Right
    xkeymap.keycode.105 = 0x11d # Control_R
    xkeymap.keycode.118 = 0×152 # Insert
    xkeymap.keycode.119 = 0×153 # Delete
    xkeymap.keycode.110 = 0×147 # Home
    xkeymap.keycode.115 = 0x14f # End
    xkeymap.keycode.112 = 0×149 # Prior
    xkeymap.keycode.117 = 0×151 # Next
    xkeymap.keycode.78 = 0×46 # Scroll_Lock
    xkeymap.keycode.127 = 0×100 # Pause
    xkeymap.keycode.133 = 0x15b # Meta_L
    xkeymap.keycode.134 = 0x15c # Meta_R
    xkeymap.keycode.135 = 0x15d # Menu

Thanks goes out to AlexPX and Johannes for pointing us out to this solution. There’s also a KB article on this one I just noticed.