I have been using x2x between my HP-UX workstation and my dual-boot Debian box for a while. Today I upgraded to jessie, and x2x keyboard events stopped working entirely. Some Google searches led me to this page, which describes the problem in the upstream bug tracker: https://github.com/dottedmag/x2x/issues/9 I have the same symptom described in that bug: all key events sent from the HP-UX workstation's keyboard are received as keycode 204 (NoSymbol) on the Debian system running x2x, as confirmed by xev. Here is my exact invocation from the HP-UX workstation: ssh -f -X wooledg x2x -west -to :0 -resurface where "wooledg" is the Debian system's hostname.
FYI, the one-line patch suggested in the upstream bug report does NOT work for me. It makes key events come across, but as the wrong keys. E.g. pressing 'z' on the HP-UX keyboard makes ']' appear on the Debian terminal, Ctrl makes 'e' appear and so on.
FYI, the problem (all keyboard events received as NoSymbol) continues for me in the stretch version of x2x (1.30-3). Reinstalling my x2x_1.27.svn.20060501-4_amd64.deb package (and putting it on hold) continues to be my only known workaround.
I also confirm the bug. Checking keycodes sent/received with ev, I get that a keycode 11 or 12 sent with the 'to' keyboard are seen as keycode 77 on the 'from' desktop. Letter keys (a-z) usually work fine, but 1-9 are totally messed up. Both to and from machines run Debian stretch with amd64 arch. Greetings,
skimming through the manpage, I found out this trick:
If you have trouble with some keys not working, try setting the keymaps
on both systems to be the same using setxkbmap.
That actually solved my issue, in my case having the same:
$ setxkbmap -query
rules: evdev
model: pc105
layout: be,es,jp
on both machines.