From unknown Tue Apr 28 14:02:29 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#674: [X2Go-Dev] Bug#674: Fwd: Bug#674: Acknowledgement (keycode -> keycode translation harmful (makes configuration complex))
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 674@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Tue, 16 Dec 2014 14:45:02 +0000
Resent-Message-ID: <handler.674.B674.141874095521107@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 674
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: 
Received: via spool by 674-submit@bugs.x2go.org id=B674.141874095521107
          (code B ref 674); Tue, 16 Dec 2014 14:45:02 +0000
Received: (at 674) by bugs.x2go.org; 16 Dec 2014 14:42:35 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 365B65DB1C
	for <674@bugs.x2go.org>; Tue, 16 Dec 2014 15:42:33 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id BD18013A3;
	Tue, 16 Dec 2014 15:42:32 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id A439C3BACC;
	Tue, 16 Dec 2014 15:42:32 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 8Y-CsHZwoYwi; Tue, 16 Dec 2014 15:42:32 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 702393BABC;
	Tue, 16 Dec 2014 15:42:32 +0100 (CET)
Received: from 46.115.132.150 ([46.115.132.150]) by mail.das-netzwerkteam.de
 (Horde Framework) with HTTP; Tue, 16 Dec 2014 14:42:32 +0000
Date: Tue, 16 Dec 2014 14:42:32 +0000
Message-ID: <20141216144232.Horde.p3bJGuiwLTCcXJi7k7d_Dw6@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Ulrich Sibiller <uli42@gmx.de>, 674@bugs.x2go.org
References: <54654F43.1020306@backsla.sh>
 <handler.674.B.141592592311413.ack@bugs.x2go.org>
 <5483D272.8020008@backsla.sh>
 <CANVnVYK+YXWc_FJqeaEG325AJtGXYSfpD_zx+vbvESOt5WudxA@mail.gmail.com>
 <548B8C0E.7020701@backsla.sh>
 <CANVnVYL1XC9y7bX22Zg4o2Shfw8vbfR-htHSM=wGrMh2Fr78nQ@mail.gmail.com>
 <CANVnVYJMqPDcpm2CsNoE0CFobxVoXXnYL6tpohZh49Az-_d2vA@mail.gmail.com>
In-Reply-To: <CANVnVYJMqPDcpm2CsNoE0CFobxVoXXnYL6tpohZh49Az-_d2vA@mail.gmail.com>
User-Agent: Internet Messaging Program (IMP) H5 (6.2.2)
Accept-Language: en,de
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 46.115.132.150
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101
 Firefox/32.0 Iceweasel/32.0
Content-Type: multipart/signed; boundary="=_Mvz3T8ADky09f-Bit6cGtQ1";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0

This message is in MIME format and has been PGP signed.

--=_Mvz3T8ADky09f-Bit6cGtQ1
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Ulrich,

On  Di 16 Dez 2014 10:40:06 CET, Ulrich Sibiller wrote:

> On Sat, Dec 13, 2014 at 1:45 AM, Robert Siemer=20=20
>=20<Robert.Siemer@backsla.sh> wrote:
>
>> If the translation is on, you get a skewed setup.
>>
>> Note that the x2go (with the setting of =E2=80=9Cdo nothing=E2=80=9D) do=
es a non-perfect
>> copy with the same effect: if the translation is effective, the keyboard=
 is
>> skewed and you are force to load at least =E2=80=9Csomething=E2=80=9D to=
 fix XKB. If the
>> translation is off, you =E2=80=9Conly=E2=80=9D need to load XKB configur=
ation if that
>> non-perfect copy annoys you...
>
>> Thanks for the pointer! I had a look at it. As I suspected: the translat=
ion
>> is =E2=80=9Cbad=E2=80=9D. Sometimes two different keycodes are translate=
d to the same
>> keycode. How are you supposed to tell them apart on the remote side? You
>> can=E2=80=99t.
>>
>>> It seems some kind of translation from evdev to pc105 is done.
>>
>> The naming is a little funny: the keycodes generated by the kernel befor=
e
>> evdev were not called like that, were they?
>
> I don't think so.
>
>>> Do we need to disable setting
>>> up the translation within the nx code to make that work?
>>
>> That would be great as a first step.
>
> I was wondering why this translations had been introduced. It emerged
> between nxagent 3.2.0-10 and 3.3.0-9. The changelog between these
> releases contains (among others) these changes:
>
> nxagent-3.3.0-9
>
> - Changed Keyboard initialization and reset. This change should fix
>   TR11F02129, TR11F02131, TR11F02132.
>
> nxagent-3.3.0-4
>
> - Fix the XKB map load in the case of 64 bit server.
>
> nxagent-3.3.0-3
>
> - Fixed TR10F02119. If the remote X display is using evdev keyboard
>   then copy maps from remote.
>
> nxagent-3.2.0-12
>
> - Fixed TR08E01814. Added shadow keymap initialization in order to
>   enable nxcompshad to translate keycodes across different layouts.
>
> So it MIGHT have been introduced mainly for shadow sessions. The
> TR10F02119 refers to Ubuntu 8.10, which - according to some other
> posts I found - is the version that introduced evdev. So the fix that
> solved evdev problems is causing problems when evdev is enabled.
>
> I also looked at the source and found that clearing the property seems
> to be the only way to disable the translation. (apart from disabling
> XKB completely).
>
> Uli


Note that you can view the changes between versions of nxagent via=20=20
nx-libs.git=20[1].

Use the "commitdiff" links in the right column...

Mike

[1] http://code.x2go.org/gitweb?p=3Dnx-libs.git;a=3Dshortlog;h=3Drefs/heads=
/nxagent

--=20

DAS-NETZWERKTEAM
mike=20gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x=
fb

--=_Mvz3T8ADky09f-Bit6cGtQ1
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJUkETYAAoJEJr0azAldxsxl1EP/iC50CKOTzTa5aLQzaFaqdGL
pdOJMOGWt8QCCDNkOLU3RA+pTGxb+JmiM+lzFriLvBON2kXn/T+LunHAsbf0EWeJ
Ng3Dxk2/dmc3WMHcxL6nM7hkS1iN1/lVZjhveRLGj8ETDtCHjDnm0VM1OqtnuCpw
Ic92DLnfKGfANZigm8jxlvIFsjoFRwsaKOYXpsDNWRUM+NRj0OIxCl0d8DRA6xqF
TWCt6tsTL01c3mdMIyOkZklffzkzAvc8Vp2xBAeKoRG4oan20OJ+2zgRy5LiUm8H
6KQKkXTPd9lYfrQG4nXC5uNMPkXiE8N+0+9zaG1XlmaLN0VTyDqTkelj7s++Bnc3
+H0w88WggqITY3SOvBv7TaVaKvBvnQf1kzSlSjt7ODkaLkIuUcJ0MuAo/m/o5ZOU
VpBdDb01NFtv9u2Hc2ty8HMtzbpFbzQVg0utcah0ZhDs3AxVKmoOpah45E28jTlv
1k4e1BgqtLyH/gt/7ZFsn3MP0HmNvPsALoQGtxd6yEtNKvVXU3Wz3a1sVcyAdNV5
e6C6nqBaLspLmbeFt0oanUr/AY9vc9kqWvgY6xj/VYpe/hu1s9FXg8LaoBJAvI6D
UDaEN9dCZrLRiv5sogTHT/quzQLZueOkEt2vfKXmQgxXekqB0sWg3kRHv5+j3otc
8laHd/iheO1yK6SGw6fJ
=6dX+
-----END PGP SIGNATURE-----

--=_Mvz3T8ADky09f-Bit6cGtQ1--
