When creating an RHEL virtual machine under RHEL6 KVM host, why is the keyboard mapped incorrectly?
Issue
- When virt-manager is used to create a virtual machine, the VNC keymap is set to some unknown value by default.
- During the installation of any version of RHEL, the keyboard mapping for most of the keys is incorrect on the vnc display.
- To get the right key mapping one need to enter the immediate right key. i.e. to enter the character "t", one needs to press the "y" key.
- When the VM installation is finished, one can manually edit the guest xml using
virsh edit xxxxand addkeymap='en-us'to the<graphics type='vnc'stanza to resolve this. - How can we fix this issue completely without implementing the above work around to get it corrected during and after the installation?
Environment
- Red Hat Enterprise Linux (RHEL) 6
- Virtual Machine Manager (virt-manager)
- gtk-vnc
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
