I have installed ubuntu 12.04.1 and x2goclient on it.
when connetc to a x2goserver (ubuntu 12.04.1) the arrow keys didnt work properly
e.g: down key works like Enter
Did anyone have this problem, too?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
I would like to explain what happened:
On your local X11 your keyboard's keycodes are:
But over x2go, the very same keys produce different keycodes!
I have no idea why the implementation of x2go does this (instead of forwarding the keycode as is!), but that it how it is. This does not happen with all keycodes/keys.
So when you instruct x2go to do nothing about the XKB setup, the assignments keycode -> keysym is effectively the same and keycode 104 has still the same result: keypad's ENTER.
The interesting thing is: there is a schema behind this mapping! The x2go side seems to use the keycodes written down in the "old"
XKBROOT/keycodes/xfree86 file, while a "modern" Linux desktop has the keycodes comming from evdev who's keycodes is written down in the file
Result: you always have to load a new XKB configuration in x2go. Let the x2go client initiate that itself or load your own, but keep in mind to use the xfree86 rules (or directly the keycodes from xfree86 (same name)).
In my case I was using Archlinux and x2goserver requires
xorg-xkbcomp packages to be installed on server side though
x2goserver package itself does not list these packages as dependencies. It can not apply keyboard settings without them. You can install them in Archlinux with:
sudo pacman -S xorg-setxkbmap xorg-xkbcomp
I submitted bug report.