Discussion:
[SunRay-Users] "Error activating XKB configuration." - SRS, Oracle Linux
Miloslav Leporis
2014-11-20 11:52:45 UTC
Permalink
Hi, community,

did anybody meet and resolve similar problem with changing keyboard
layout in Sun Ray Server on Oracle Linux?
While trying to add keyboard layout for Slovak language in
gnome-keyboard-properties > Layouts, the message "Error activating XKB
configuration" appears. Full content of this message is enclosed below.
But when I try to add Czech keyboard layout, everything works fine - no
error message and it is possible to change layout in
gnome-keyboard-applet placed on Panel.

Configuration:
Sun Ray Software 5.4.3.0.30
Sun Ray Operating Software 11.1.4.0.30
Oracle Linux 6.6

Where to look for any debug information? Is there any problem with keymap?
Any tip or help are appreciated.
Thank you

milos

Here is the text of error message:

Error activating XKB configuration.
It can happen under various circumstances:
- a bug in libxklavier library
- a bug in X server (xkbcomp, xmodmap utilities)
- X server with incompatible libxkbfile implementation

X server version data:
Sun Microsystems, Inc.
10300000

If you report this situation as a bug, please include:
- The result of xprop -root | grep XKB
- The result of gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd

Here is the output of recommended commands:
$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "sun_type6_usb", "us", "", ""
_XKB_RULES_NAMES(STRING) = "xorg", "sun_type6_usb", "us", "",
"terminate:ctrl_alt_bksp,grp:shift_caps_toggle,grp:lalt_lshift_toggle"

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
layouts = [us,sk]
options = [terminate terminate:ctrl_alt_bksp,grp
grp:shift_caps_toggle,grp grp:lalt_lshift_toggle]
model =
Miloslav Leporis
2014-11-20 13:40:28 UTC
Permalink
Mistery resolved - missing comma in system keymap file -
/usr/share/X11/xkb/symbols/sun_vndr/sk

# diff sk ~/conf/backup/sk
37c37
< key <TLDE> { [ semicolon, dead_abovering,
grave, asciitilde ] };
---
key <TLDE> { [ semicolon, dead_abovering,
grave asciitilde ] };

The missing comma is not a problem, if Xorg is used (i.e. no Sun Ray
Software installed).
It becomes a problem once the Sun Ray Software is installed, the Xnewt
is used. Xnewt it is more strict? Just hypothesis.
Hi, community,
did anybody meet and resolve similar problem with changing keyboard
layout in Sun Ray Server on Oracle Linux?
While trying to add keyboard layout for Slovak language in
gnome-keyboard-properties > Layouts, the message "Error activating XKB
configuration" appears. Full content of this message is enclosed below.
But when I try to add Czech keyboard layout, everything works fine - no
error message and it is possible to change layout in
gnome-keyboard-applet placed on Panel.
Sun Ray Software 5.4.3.0.30
Sun Ray Operating Software 11.1.4.0.30
Oracle Linux 6.6
Where to look for any debug information? Is there any problem with keymap?
Any tip or help are appreciated.
Thank you
milos
Error activating XKB configuration.
- a bug in libxklavier library
- a bug in X server (xkbcomp, xmodmap utilities)
- X server with incompatible libxkbfile implementation
Sun Microsystems, Inc.
10300000
- The result of xprop -root | grep XKB
- The result of gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "sun_type6_usb", "us", "", ""
_XKB_RULES_NAMES(STRING) = "xorg", "sun_type6_usb", "us", "",
"terminate:ctrl_alt_bksp,grp:shift_caps_toggle,grp:lalt_lshift_toggle"
$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
layouts = [us,sk]
options = [terminate terminate:ctrl_alt_bksp,grp
grp:shift_caps_toggle,grp grp:lalt_lshift_toggle]
model =
Loading...