Bug 923160
Summary: | Removal of /usr/share/X11/xkb/keymap.dir breaks NX | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | J.H.M. Dassen (Ray) <rdassen> |
Component: | xkeyboard-config | Assignee: | Peter Hutterer <peter.hutterer> |
Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.4 | CC: | bugzilla-redhat, cww, jhcaiced, maxim, mboisver, mtessun, pep, rbinkhor, tlavigne, toracat, tpelka, wnefal+redhatbugzilla |
Target Milestone: | rc | Keywords: | EasyFix |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | xkeyboard-config-2.11-3.el6 | Doc Type: | Bug Fix |
Doc Text: |
With the previous upgrade to upstream version 2.11, the /usr/share/X11/xkb/keymap.dir file was removed from the xkeyboard-config packages. Consequently, X11 keyboard configuration stopped working for NX connections. This update includes the missing file again, and as a result, the broken functionality is restored.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2015-07-22 06:10:27 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 835616, 994246, 1075802, 1159931 |
Description
J.H.M. Dassen (Ray)
2013-03-19 10:24:55 UTC
Bugzilla isn't letting me link this to external trackers CentOS 6298 FreeDesktop.org 50553 so noting this here for now. Looking at the NX source, this is indeed the cause and a simple touch of that file is sufficient to fix it. http://code.x2go.org/gitweb?p=nx-libs.git;a=blob;f=nx-X11/programs/Xserver/xkb/ddxLoad.c;h=e69d956703de78af77602587cfd77478a39afbfc;hb=HEAD#l189 NXVerifyXkbBaseDirectory() uses that file to verify that a directory path is an xkb directory. It doesn't look at the file otherwise, so shipping an empty file would be sufficient. We can revert the change in xkeyboard-config, that'll ensure the required files are shipped. Note that this will still not enable NX to work, see Bug 1157866. Workaround as pointed out in Comments #0 and #2 seems to be: touch //usr/share/X11/xkb/keymap.dir This assessment is based on the X2go source code [1] as of version 3.5.0.28. The FreeNX sources are down and unavailable for verification, and the commercial one from nomachine seems to work fine (v4.3.30) [1] http://code.x2go.org/gitweb?p=nx-libs.git;a=blob;f=nx-X11/programs/Xserver/xkb/ddxLoad.c;h=e69d956703de78af77602587cfd77478a39afbfc;hb=HEAD#l189 MODIFIED xkeyboard-config-2.11-2.el6 is available in brew Updated package. xkeyboard-config-2.11-3.el6 is available in brew Verified on xkeyboard-config-2.11-3.el6. The file: /usr/share/X11/xkb/keymap.dir has been restored. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-1276.html |