Bug 586201
Summary: | Broken keyboard mapping | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mattias Ellert <mattias.ellert> |
Component: | virt-manager | Assignee: | Cole Robinson <crobinso> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 13 | CC: | berrange, crobinso, hbrock, jforbes, linuxbenutzer, malehti, mishu, virt-maint, walovaton |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | virt-manager-0.8.4-2.fc13 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-07-30 08:33:17 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mattias Ellert
2010-04-27 04:09:10 UTC
Thanks for the report, we need to backport this change: http://hg.fedorahosted.org/hg/virt-manager/rev/99cf13a133f3 virt-manager-0.8.4-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/virt-manager-0.8.4-1.fc13 virt-manager-0.8.4-1.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update virt-manager'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/virt-manager-0.8.4-1.fc13 Mmmm... I'm seeing the same problem here but I saw this on Fedora 12 and still see it in Fedora 13. I never got to report this bug back then because the workaround was very simple: In /etc/libvirt/qemu/virtualMachine.xml find the <graphics> tag and remove the attribute "keymap". It always defaults to "en-us" causing the problems mentioned in this bug report. I guess the the real fix would be for the admin tool not to put this parameter in the xml config file or put the same keymap as the host keyboard. But again, there is no way to know for sure what is the keymap configured inside the VM. William, your suggested change is exactly what the updated virt-manager does. However, for existing guests, this update won't fix the keymapping issue. To fix keymappings for existing guests: - Install virt-manager-0.8.4-1.fc13 from updates testing - Run virt-manager, go to Hardware Details section for the existing VM. The VM must be turned off. - Remove the 'display' device - Click 'Add Hardware' in the bottom left corner - Select 'Graphics', click 'forward' - click 'forward' again, creating a VNC graphics device with the default settings. - click 'finish' Keymapping should now be set up correctly ellert, I saw your update comment saying this is still an issue for new guests. Do the workaround steps above fix the issue for existing guests? Can you provide the output of virt-manager --debug when creating a new guest? And virt-manager --version just to be certain. (In reply to comment #6) > ellert, I saw your update comment saying this is still an issue for new guests. > Do the workaround steps above fix the issue for existing guests? > > Can you provide the output of virt-manager --debug when creating a new guest? > And virt-manager --version just to be certain. I did my Fedora 13 installation at a time when bug #571900 had not yet been fixed, so my /etc/sysconfig/keyboard file said I had a US keyboard layout, even though I chose Swedish during installation. I had not noticed this, since nothing else I had done with the computer uses the information in this file to set the keyboard layout - except for the keyboard layout used before choosing which user to log in as on the login screen. But I always click on my name and then the keyboard layout changes to my preferred layout for me to type the password - so I never noticed this. Anyway I edited the /etc/sysconfig/keyboard file to say that I have a Swedish keyboard, and then the keyboard layout in the guest works. However, if I now choose to start my gdm session with a US keyboard layout and then try to start a new guest I get the same trouble again, since now /etc/sysconfig/keyboard and the gdm session disagrees again. I think that the trouble is that you treat the /etc/sysconfig/keyboard as an authoritative source for the hosts keyboard mapping, instead of querying the gdm session. *** Bug 614606 has been marked as a duplicate of this bug. *** *** Bug 606514 has been marked as a duplicate of this bug. *** virt-manager-0.8.4-2.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/virt-manager-0.8.4-2.fc13 virt-manager-0.8.4-2.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update virt-manager'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/virt-manager-0.8.4-2.fc13 This update seems to be working fine so far. It would be great to push this package to the official updates repo. virt-manager-0.8.4-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |