Bug #1739

Keymap is incorrect in VNC

Added by Romain Vrignaud 12 months ago. Updated 7 months ago.

Status:New Start:07/10/2012
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:compute resources
Target version:Bug scrub
Backlog:No Difficulity:
Votes: 1 (View)

Description

The keymap in embeded VNC is incorrect.
I have an unknown layout.

Don't know what information should I provide to debug this.

libvirt_keymap_passwd_scrambled.png - screen shot of the scrambled password that appears when foreman provisions a VM without setting a keymap (59.3 KB) Joshua Hoblitt, 11/13/2012 01:36 pm


Related issues

related to Foreman - Bug #1644: Changing VNC keymap on a Libvirt VM (via virt-manager or virsh) causes web-based console to choke New 05/19/2012

History

Updated by Joshua Hoblitt 8 months ago

I've seen this problem too and it seems to be dependant on the version of libvirtd that was running at the time theforeman provisioned the VM.

On a SL6.3 hypervisor host, running these packages, I believe the problem is now gone for new VMs.

libvirt-python-0.9.10-21.el6_3.5.x86_64
libvirt-client-0.9.10-21.el6_3.5.x86_64
libvirt-0.9.10-21.el6_3.5.x86_64

What versions are you running?

Updated by Romain Vrignaud 8 months ago

I'm running Fedora 17 hypervisors :
rpm -qa | grep libvirt
libvirt-client-0.9.11.4-3.fc17.x86_64
libvirt-0.9.11.4-3.fc17.x86_64
libvirt-daemon-0.9.11.4-3.fc17.x86_64

Updated by Joshua Hoblitt 7 months ago

The problem seems to have come back for me on all of my libvirt boxes and I'm still running:

libvirt-0.9.10-21.el6_3.5.x86_64
libvirt-python-0.9.10-21.el6_3.5.x86_64
libvirt-client-0.9.10-21.el6_3.5.x86_64

Updated by Joshua Hoblitt 7 months ago

Forcibly setting the keymap to en_us, clearing the password, and destroying then starting the VM fixes not being able to access the console at all. However, this completely breaks the foreman novnc console with the error:

Failed to set console: Call to virDomainUpdateDeviceFlags failed: internal error cannot change keymap setting on vnc graphics

Updated by Joshua Hoblitt 7 months ago

  • Target version set to Bug scrub

Also available in: Atom PDF