Bug 742570 - Fix broken keymap for the default mac X11 server using gtk-vnc
Summary: Fix broken keymap for the default mac X11 server using gtk-vnc
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: gtk-vnc
Version: 6.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Daniel Berrangé
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On: 745151
Blocks: 782183 1075802 1172231 1269194
TreeView+ depends on / blocked
 
Reported: 2011-09-30 15:05 UTC by derek
Modified: 2018-12-06 14:40 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-08 14:41:23 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Legacy) 64424 0 None None None Never

Description derek 2011-09-30 15:05:34 UTC
Description of problem:
When remotely displaying a X11 gtk-vnc session on Mac OS X from RHEL6 the keymap is broken and can not be used to interact with the VNC session.

Version-Release number of selected component (if applicable):
gtk-vnc-0.3.10-3.el6.x86_64

How reproducible:
100% reproducible

Steps to Reproduce:
1. install libvirt/qemu-kvm and create a guest with VNC
2. remotely connect to the host OS with ssh w/ X forwarding (-X/-Y) from a Mac OS X X11 session
3. run virt-manager
4. connect to the console of your guest and you can type but the keys are mapped all wrong
  
Actual results:
Inability to interact with the console using the keyboard.

Expected results:
Able to interact with the guest OS with the keyboard.

Additional info:

This seems to be fixed upstream in 0.4.2 specifically in this commit,

http://git.gnome.org/browse/gtk-vnc/commit/?id=e0910397d6ba1eca3d968c98a2105c1a7ead7fd7

Comment 2 RHEL Program Management 2011-09-30 15:39:02 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 3 thogue 2012-06-23 13:41:30 UTC
Workaround:
Shutdown VM(s)
Open XML file for the related vm(s) in /etc/libvirt/qemu/
add "keymap='en-us'" without " " into the line that begins with <graphics />  (change en-us for other keymaps)
restarted libvirtd to reload xml file

Comment 4 RHEL Program Management 2012-07-10 06:58:59 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 5 RHEL Program Management 2012-07-10 23:22:42 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 6 Tom Lavigne 2012-09-18 15:25:13 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.
    
Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 8 Daniel Berrangé 2013-08-06 15:38:21 UTC
NB, while this problem is fixed upstream in 0.4.2, backporting it to the RHEL-6 version of gtk-vnc involves non-negligible risk, due to major code refactoring that took place upstream between the version RHEL-6 is shipping & the version containing the fix. As such the fix is not something that is desirable to backport to the RHEL-6 version of gtk-vnc.

Comment 9 Dave Sullivan 2015-03-30 21:11:14 UTC
customer ran into this problem on the following

windows 7 exceed for x windows server, and putty to create the ssh x11 tunnel

this bz is tied more to to mac os, but not sure if the solution is generic in coverage for things like hummingbird exceed

Maybe good to test common windows xservers.

- hummingbird exceed
- cygwin (definetly should test this one)

Adding needinfo to ask if the upstream fix provides generic coverage for windows x11 servers.

Comment 10 Daniel Berrangé 2015-07-02 12:10:37 UTC
The upstream rewrite has provided a framework to allow us to easily support multiple different platforms. It has code to support Cygwin's XWin X11 server, but I've no information about exceed, so can't say whether that would work or not. It all depends on how the X server has decided to map the Windows keycodes, which is sadly different for almost every impl.

Comment 11 Daniel Berrangé 2017-02-08 14:41:23 UTC
Closing because per comment #8, the code changes involved in fixing this problem upstream are not reasonable to backport to RHEL-6 at this point in its lifecycle, nor is a rebase likely.


Note You need to log in before you can comment on or make changes to this bug.