Launchpad has imported 8 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=487735.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2009-02-27T17:47:19+00:00 Klaus-Peter wrote:

Description of problem:
I have created two virtual machines with virt-manager:
- Windows XP (32bit)
- Fedora 10 (64bit).
Both installed without problems, but when I try to make any text input in 
either of the guest OS, I get a strange, 'qwertyu' type keyboard layout.

On the host, I am using KDE 4.2, a German keyboard (evdev-managed) with
DE layout. Changing keyboard model from edev-managed to Generic doesn't
make any noticeable difference.

Version-Release number of selected component (if applicable):
kvm-74-10.fc10.x86_6
qemu-0.9.1-10.fc10.x86_64
virt-manager-0.6.0-5.fc10.x86_64

How reproducible:
always

Steps to Reproduce:
1. Create virtual machine with virt-manager
2. Start guest from virt-manager
3. Enter text in guest
  
Actual results:
Unexpected keyboard layout of unknown type, unusable

Expected results:
German 'qwertzu' keyboard layout

Additional info:
1. Whenever I switch the keyboard layout to "US" on the host, I immediately get 
a layout on the guest which is nearly ok (no symbols obtainable with the AltGr 
key); when I switch back to "DE", the borked layout is back.  

2. When I run any of the guests with the qemu-kvm command, I get a guest
layout which is nearly ok as well.

Reply at: https://bugs.launchpad.net/ubuntu/+source/virt-
manager/+bug/252713/comments/1

------------------------------------------------------------------------
On 2009-03-01T10:54:40+00:00 Klaus-Peter wrote:

There is a workaround:

1. Change a line in the virtual machines's XML file in /etc/libvirt/qemu/ from
<graphics type='vnc' port='-1' autoport='yes' keymap='en_us'/> to
<graphics type='vnc' port='-1' autoport='yes' keymap='de'/>

2. Restart the libvirtd daemon.

But a bug in virt-manager remains. This tool seems to be made for
virtualization newbies like me who usually don't poke around in xml
configuration files hidden from ordinary users. It would be preferrable
if virt-manager asked for the desired keymap.

I still have the AltGr problem mentioned above, but that is another
story.

Reply at: https://bugs.launchpad.net/ubuntu/+source/virt-
manager/+bug/252713/comments/2

------------------------------------------------------------------------
On 2009-03-01T11:50:55+00:00 Daniel wrote:

QEMU has had a VNC extension added so that the keymap is no longer
required - it will use raw scancodes across the wire & into the guest,
so the guest has complete control over keymap without needing this
setting. This will be in Fedora 11

Reply at: https://bugs.launchpad.net/ubuntu/+source/virt-
manager/+bug/252713/comments/3

------------------------------------------------------------------------
On 2009-03-01T13:01:20+00:00 Klaus-Peter wrote:

Thanks, Daniel,
that sounds good (as far as I can understand it), and I can wait until Fedora 
11 comes up.

Reply at: https://bugs.launchpad.net/ubuntu/+source/virt-
manager/+bug/252713/comments/4

------------------------------------------------------------------------
On 2009-03-04T16:54:54+00:00 Cole wrote:

Danpb, so how will this work? Does qemu just ignore a manually specified
keymap, or should libvirt drop the keymap setting for a sufficiently new
version?

Reply at: https://bugs.launchpad.net/ubuntu/+source/virt-
manager/+bug/252713/comments/5

------------------------------------------------------------------------
On 2009-03-04T19:49:32+00:00 Daniel wrote:

No, if you set a keymap, QEMU will always use that keymap. The raw
scancode VNC extension is only activated if no keymap is specified. So
I'd recommend that virt-install never set a keymap, unless the user
explicitly asks for one with "--keymap fr". For virt-manager we should
probably have a globall preference available, which defaults to no
keymap at all, but which lets the user override to an explicit one if
desired (eg, so it works with VNC clients not supporting the extension)

Reply at: https://bugs.launchpad.net/ubuntu/+source/virt-
manager/+bug/252713/comments/6

------------------------------------------------------------------------
On 2009-03-09T16:57:07+00:00 Klaus-Peter wrote:

FWIW: If there is no keymap specified in the xml file, i. e. if the above line 
reads
<graphics type='vnc' port='-1' autoport='yes'/>
then the host's keymap setting are respected, even the characters accessible by 
means of the AltGr key are reproduced. It seems as if the key codes are mapped 
directly to the guest.

But you can't set this in virt-manager, you have to make changes in the
xml file manually.

Reply at: https://bugs.launchpad.net/ubuntu/+source/virt-
manager/+bug/252713/comments/7

------------------------------------------------------------------------
On 2009-04-09T15:22:38+00:00 Cole wrote:

Okay, fixed python-virtinst-0.400.3-5.fc11 (rawhide). Now the user has
to explictly set a keymap via virt-install, or when adding a Graphical
device via virt-manager.

Closing as RAWHIDE. Please reopen if you still see issues.

Reply at: https://bugs.launchpad.net/ubuntu/+source/virt-
manager/+bug/252713/comments/8


** Changed in: virt-manager (Fedora)
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/252713

Title:
  virt-manager has lack of keyboard layout option, thus renderin clients
  unusable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/252713/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to