FS#53345 - [x2goserver] Misses xorg-setxkbmap and xorg-xkbcomp dependencies
Attached to Project:
Arch Linux
Opened by Michael Ledin (mxl) - Friday, 17 March 2017, 10:03 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 19 March 2017, 16:22 GMT
Opened by Michael Ledin (mxl) - Friday, 17 March 2017, 10:03 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 19 March 2017, 16:22 GMT
|
Details
x2goserver package misses xorg-setxkbmap and xorg-xkbcomp
dependencies. It can not apply keyboard settings without
them. x2gosetkeyboard script included in x2goserver package
explicitly uses setxkbmap utility. And it seems that during
setxkbmap call xkbcomp is used somehow because without it
setxkbmap fails with "Error loading new keyboard
description".
Package version: 4.0.1.20-1 |
This task depends upon
https://code.x2go.org/gitweb?p=x2goserver.git;a=blob;f=x2goserver.spec;h=1dbf44f7ee90293d40b610820e2a08ec05f531e0;hb=HEAD
I can't find anything about xkbcomp.
USING WITH xkbcomp
If you have an Xserver and a client shell running on different computers and some XKB configuration files on those
machines are different, you can get problems specifying a keyboard map by model, layout, and options names. This
is because setxkbmap converts its arguments to names of XKB configuration files according to files that are on the
client-side computer, then sends these file names to the server where xkbcomp has to compose a complete keyboard
map using files which the server has. Thus if the sets of files differ in some way, the names that setxkbmap gen‐
erates can be unacceptable on the server side.
As I understand x2goserver X server called x2goagent runs on the server side and when I run setkxbmap it sends keyboard settings to x2goagent which tries to compile XKB keyboard description with xkbcomp and fails if it's missing.
I'm going to make nxagent depend on xkeyboard-config and x2goserver on xorg-setxkbmap. This should cover all your issues.