Inception problem: keymap for ‘a’ key broken inside twice-virtualized Ubuntu KVM guest

Running an Ubuntu virtualized virtual guest inside a virtual KVM host inside VMware Fusion 4 for OSX?

You may have noticed that when ssh -X to the virtual KVM host machine then attaching to virtual guest graphic console (VNC) via the graphical utility, virt-manager, the key ‘a’ doesn’t work!

Alas, a broken keymap! It’s like if Leonardo DiCaprio was running around with a missing right eye in the Inception hotel.

How to fix the easy way?

$ virsh
Welcome to virsh, the virtualization interactive terminal.
Type:  'help' for help with commands
       'quit' to quit
virsh # list
 Id Name                 State
  2 ubu1                 running
virsh # edit 2

Make sure have keymap=’en-us’ in graphics line.

<graphics type=’vnc’ port=’-1′ autoport=’yes’ keymap=’en-us’/>

This entry was posted in Linux. Bookmark the permalink.