I’ve had a bit of a weird problem, due to a weird config I’m running here at the moment.
I’m running an Ubuntu 9.04 desktop, and a bunch of Ubuntu VMs in VMWare Server 2.0, but my VMWare host is actually Windows 2003. Which is sort of contrary to most other people, who are running Windows VMs under *nix hosts…
Hence, why it’s been so hard to find a solution to fixing my problem with keymapping when I connect to the console on my VM clients. The issue is to do with the mapping of keys, and stuff like the arrow keys don’t work. Problem is, there are heaps of fixes out there for fixing it on a Linux host, but my issue was with my Ubuntu desktop machine; I could access the VM consoles from Windows machines no worries, it was just Ubuntu.
So, after spending literally about 2 hours on google, I found the solution, tucked away in this forum post.
And the fix is bloody simple. On your Linux desktop that you want to connect to the VM server with (not on the VM host itself)
1. Open up /home/{username}/.vmware, where {username} is the user account you, er, "use". If you’re doing this in Nautilus, you’ll need to Show Hidden Files
2. Create a new file in there called config.
3. Edit config in a text editor, and add the line:
xkeymap.nokeycodeMap = "TRUE"
4. Save it, and enjoy!
I hope other people with this problem find this (surely I can’t be the only person in the world trying to use Ubuntu to connect to a Windows VMWare server?).