From unknown Fri Apr 17 11:21:33 2026
X-Loop: git-admin@x2go.org
Subject: Bug#112: Mac Os X keyboard bug: NumLockMask always set, keyboard unusable
Reply-To: Ricardo =?UTF-8?Q?D=C3=83=C2=ADaz_?= =?UTF-8?Q?Mart=C3=83=C2=ADn?= <oceanosoftlapalma@gmail.com>, 112@bugs.x2go.org
Resent-From: Ricardo =?UTF-8?Q?D=C3=83=C2=ADaz_?= =?UTF-8?Q?Mart=C3=83=C2=ADn?= <oceanosoftlapalma@gmail.com>
Resent-To: x2go-dev@lists.berlios.de
Resent-CC: X2Go Developers <x2go-dev@lists.berlios.de>
X-Loop: git-admin@x2go.org
Resent-Date: Sat, 02 Feb 2013 20:48:01 +0000
Resent-Message-ID: <handler.112.B112.13598378619620@bugs.x2go.org>
Resent-Sender: git-admin@x2go.org
X-X2Go-PR-Message: followup 112
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by 112-submit@bugs.x2go.org id=B112.13598378619620
          (code B ref 112); Sat, 02 Feb 2013 20:48:01 +0000
Received: (at 112) by bugs.x2go.org; 2 Feb 2013 20:44:21 +0000
Received: from mail-oa0-f51.google.com (mail-oa0-f51.google.com [209.85.219.51])
	by ymir (Postfix) with ESMTPS id 193DD3BC43
	for <112@bugs.x2go.org>; Sat,  2 Feb 2013 21:44:20 +0100 (CET)
Received: by mail-oa0-f51.google.com with SMTP id h2so3275536oag.38
        for <112@bugs.x2go.org>; Sat, 02 Feb 2013 12:44:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:x-received:in-reply-to:references:date:message-id
         :subject:from:to:content-type;
        bh=sLTgnCiMM5+pUiNgxMf0Rja8CVSPJfatScB5f7rqATU=;
        b=BDUp6A1wiHE+Tr4BMIJOIrloTf1GHxBfJ7mtd3HYRneps+Kakjcn2ymWlimWKKwdy1
         mBl8R+4IlZuzVHsUGiCL8JQxgeLRy1bkUCTTtQ+xOpcBCivjFFyBgPnQZ7kT8ivefMZ1
         1JHH5geqhwLvpuyUPM6envzCI9ENa0Ar6RkAH4o7jCnWCixjbHYahsiO+izCxgDC3y/z
         fA4cFgSjP9r06/8qRG6beBVLGPuXs1O3f+1iLKsIYdYAbYrd0w/Rp3QAqIhARrlsGRVC
         OxvjR5jN5bdFTScWDNlgSxSDB5qinO4eqhKBZsnxRYE6g9Hcg7CzDTZ5WSv2BBDvN/n1
         viaQ==
MIME-Version: 1.0
X-Received: by 10.182.88.3 with SMTP id bc3mr11812794obb.8.1359837859529; Sat,
 02 Feb 2013 12:44:19 -0800 (PST)
Received: by 10.182.92.67 with HTTP; Sat, 2 Feb 2013 12:44:19 -0800 (PST)
In-Reply-To: <CA+yVNSOHsoQekUiUuyGWibTqfs5vm8cvkm8j4tJe=o-VsNexJg@mail.gmail.com>
References: <CA+yVNSOHsoQekUiUuyGWibTqfs5vm8cvkm8j4tJe=o-VsNexJg@mail.gmail.com>
Date: Sat, 2 Feb 2013 20:44:19 +0000
Message-ID: <CAPWth0LZsESb_AQ1tCUikyXOabqFOJKuoFA2c-fw5O=+WRvCsA@mail.gmail.com>
From: Ricardo =?UTF-8?Q?D=C3=ADaz_?= =?UTF-8?Q?Mart=C3=ADn?= <oceanosoftlapalma@gmail.com>
To: benjamin milde <bmilde@gmail.com>, 112@bugs.x2go.org, x2go-dev@lists.berlios.de
Content-Type: multipart/alternative; boundary=14dae9399ca991c2c204d4c3ecd2

--14dae9399ca991c2c204d4c3ecd2
Content-Type: text/plain; charset=UTF-8

Hi Benjamin,

I can confirm the same keyboard behaviour.

I found a solution for this issue by myself. Install kde desktop in the
server and start kde session with a clean home folder for the user and the
keyborad works! It only works with kde desktop.

If you have logged on before with a user in gnome desktop you have to
rename user's home folder, login this wat in kde and then move files and
folder your really need.

Hope it helps you.

Regards,
Ricardo



2013/1/30 benjamin milde <bmilde@gmail.com>

> Package: *
> Version: various versions tried out, see below
>
> * Buggy package name not known. I suspect a problem with nx-libraries.
>
>
> ------------------------------------------------------------------------------------------------
> I can supply further information for the mac os x keyboard bug in x2go. I
> think I had this problem already ~2 years ago, when I first tried out x2go.
> All pressed client keys produce wrong key events on the host. Its a real
> show-stopper since it makes x2go basically totally unusable for me and
> others.
>
> See also this post on the x2go mailing list
> https://lists.berlios.de/pipermail/x2go-user/2012-November/001123.html
> There, Michael had the same problem I observe with:
>
> Server Side: Ubuntu 12.04 with x2goserver 3.1.1.6-0~610~precise1 from the
> stable PPA
> Client Side: Mac OS X 10.6.8 with x2goclient 3.99.2.1 from the x2go website
> Keyboard Layout: en_us everywhere, and in x2goclient I checked "Keep
> current keyboard Settings"
>
> I'm using Mac OS X 10.8.2, XQuarz 2.7.4 and also x2goclient 3.99.2.1. I
> also tried changing x2goserver from stable PPA to 4.1.0 from git. Also
> toggling "Keep current keyboard Settings" does not make a difference.
> Server is also a ubuntu machine, but could cross-check this with a Debian
> install (and see if the same error occurs there).
>
> The problem is that keystate changes while it is transferred to the host:
>
> MAC:   state 0x0, keycode 26 (keysym 0x31, 1), same_screen YES,
> LINUX: state 0x10, keycode 26 (keysym 0x65, e), same_screen YES,
>
> This makes the keyboard unusable, since every client keycode gives a wrong
> keysym on the host. The mask 0x10 is set for all key events sent to the
> host, every time.
>
> Looking around in X's headers I found:
>
> defined in <X.h>
> /* Key masks. Used as modifiers to GrabButton and GrabKey, results of
> QueryPointer,
>    state in various key-, mouse-, and button-related events. */
> #define ShiftMask               (1<<0)
> #define LockMask                (1<<1)
> #define ControlMask             (1<<2)
> #define Mod1Mask                (1<<3)
> #define Mod2Mask                (1<<4)
> #define Mod3Mask                (1<<5)
> #define Mod4Mask                (1<<6)
> #define Mod5Mask                (1<<7)
>
> So keystate 0x10 means the keyevent has Mod2Mask set.
>
> defined in <xorg/atKeynames.h> (but don't think it's a standard X11 header)
> #define AltMask         Mod1Mask
> #define NumLockMask     Mod2Mask
> #define AltLangMask     Mod3Mask
> #define KanaMask        Mod4Mask
> #define ScrollLockMask  Mod5Mask
>
> Which appears to be a NumLockMask. This makes sense since 'dfg' gives the
> numbers '124', i.e. indicating that I have some sort of Numpad overlay in
> the middle of the keyboard on the host.
>
> For what is worth, a found similar bug report with no machines remote
> desktop.
> http://apple.stackexchange.com/questions/31691/no-machine-remote-desktop-issue
>
>  "For instance, the Delete key was now comma, all the letters were
> transposed, general chaos. "
>
> I can also confirm that backspace is comma, so this seems to be the same
> NumLockMask problem. Every key is garbled, but not randomly.
>
> The same problems apparently appears here in a bug report in XQuartz. They
> think its not their fault:
>
> http://xquartz.macosforge.org/trac/ticket/471
>
> Quote:
> "From my experience using NX in Linux, NX is badly designed. It sends
> keycodes instead of KeySyms to the remote NX session.
>  This causes the remote session to behave badly, unless you install the
> local keyboard map into the remote X session.
> It is a problem with NX and not the X server. However, that should have no
> effect on the local keyboard mapping. "
>
> If someone could point me in the right direction, I would be glad to help.
> And as I have no need for the Mod2Mask, as a temporary fix, I would be
> fine to ignore this mask on the server side and hard code xkey->state &=
> ~(1u << 4); somewhere.
>
> Has someone an idea how to further investigate this issue? Is there
> someone who can report a working keyboard with Mac Os X as client?
>
>
> _______________________________________________
> X2Go-Dev mailing list
> X2Go-Dev@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/x2go-dev
>

--14dae9399ca991c2c204d4c3ecd2
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi Benjamin,<div><br></div><div>I can confirm the same keyboard behaviour.<=
/div><div><br></div><div>I found a solution for this issue by myself. Insta=
ll kde desktop in the server and start kde session with a clean home folder=
 for the user and the keyborad works! It only works with kde desktop.</div>
<div><br></div><div>If you have logged on before with a user in gnome deskt=
op you have to rename user&#39;s home folder, login this wat in kde and the=
n move files and folder your really need.</div><div><br></div><div>Hope it =
helps you.</div>
<div><br></div><div>Regards,</div><div>Ricardo</div><div><br></div><div><br=
></div><div><br><div class=3D"gmail_quote">2013/1/30 benjamin milde <span d=
ir=3D"ltr">&lt;<a href=3D"mailto:bmilde@gmail.com" target=3D"_blank">bmilde=
@gmail.com</a>&gt;</span><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div style=3D"text-align:justify"><font colo=
r=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><span style=3D=
"font-size:12px;line-height:20.390625px"><div>
Package: *</div><div>Version: various versions tried out, see below</div>
<div><br></div><div>* Buggy package name not known. I suspect a problem wit=
h nx-libraries.</div><div><br></div><div>----------------------------------=
--------------------------------------------------------------</div></span>=
</font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px">I can supply further information for the mac os x keyboard bug in=
 x2go. I think I had this problem already ~2 years ago, when I first tried =
out x2go. All pressed client keys produce wrong key events on the host. Its=
 a real show-stopper since it makes x2go basically totally unusable for me =
and others.</span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px"><br></span></font></div><div style=3D"text-align:justify"><font c=
olor=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><span style=
=3D"font-size:12px;line-height:20.390625px">See also this post on the x2go =
mailing list <a href=3D"https://lists.berlios.de/pipermail/x2go-user/2012-N=
ovember/001123.html" target=3D"_blank">https://lists.berlios.de/pipermail/x=
2go-user/2012-November/001123.html</a></span></font></div>

<div style=3D"text-align:justify"><span style=3D"color:rgb(40,40,40);font-f=
amily:Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:20.3906=
25px">There, Michael had the same problem I observe with:</span></div><div =
style=3D"text-align:justify">

<font color=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><spa=
n style=3D"font-size:12px;line-height:20.390625px"><br></span></font></div>=
<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px">Server Side: Ubuntu 12.04 with x2goserver 3.1.1.6-0~610~precise1 =
from the stable PPA</span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px">Client Side: Mac OS X 10.6.8 with x2goclient 3.99.2.1 from the x2=
go website</span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px">Keyboard Layout: en_us everywhere, and in x2goclient I checked &q=
uot;Keep current keyboard Settings&quot;</span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px"><br></span></font></div><div style=3D"text-align:justify"><font c=
olor=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><span style=
=3D"font-size:12px;line-height:20.390625px">I&#39;m using Mac OS X 10.8.2, =
XQuarz 2.7.4 and also x2goclient 3.99.2.1. I also tried changing x2goserver=
 from stable PPA to 4.1.0 from git. Also toggling &quot;Keep current keyboa=
rd Settings&quot; does not make a difference. Server is also a ubuntu machi=
ne, but could cross-check this with a Debian install (and see if the same e=
rror occurs there).</span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px"><br></span></font></div><div style=3D"text-align:justify"><font c=
olor=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><span style=
=3D"font-size:12px;line-height:20.390625px">The problem is that keystate ch=
anges while it is transferred to the host:</span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px"><br></span></font></div><div style=3D"text-align:justify"><font c=
olor=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><span style=
=3D"font-size:12px;line-height:20.390625px">MAC: =C2=A0 state 0x0, keycode =
26 (keysym 0x31, 1), same_screen YES,</span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px">LINUX: state 0x10, keycode 26 (keysym 0x65, e), same_screen YES,<=
/span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px"><br></span></font></div><div style=3D"text-align:justify"><font c=
olor=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><span style=
=3D"font-size:12px;line-height:20.390625px">This makes the keyboard unusabl=
e, since every client keycode gives a wrong keysym on the host. The mask 0x=
10 is set for all key events sent to the host, every time.</span></font></d=
iv>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px"><br></span></font></div><div style=3D"text-align:justify"><font c=
olor=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><span style=
=3D"font-size:12px;line-height:20.390625px">Looking around in X&#39;s heade=
rs I found:</span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px"><br></span></font></div><div style=3D"text-align:justify"><font c=
olor=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><span style=
=3D"font-size:12px;line-height:20.390625px">defined in &lt;X.h&gt;</span></=
font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px">/* Key masks. Used as modifiers to GrabButton and GrabKey, result=
s of QueryPointer,</span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px">=C2=A0 =C2=A0state in various key-, mouse-, and button-related ev=
ents. */</span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px">#define ShiftMask =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 (1&lt;&lt;0)</span></font></div><div style=3D"text-align:justify">

<font color=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><spa=
n style=3D"font-size:12px;line-height:20.390625px">#define LockMask =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(1&lt;&lt;1)</span></font><=
/div><div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verd=
ana, Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-heigh=
t:20.390625px">#define ControlMask =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 (1&lt;&lt;2)</span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px">#define Mod1Mask =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0(1&lt;&lt;3)</span></font></div><div style=3D"text-align:justify">

<font color=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><spa=
n style=3D"font-size:12px;line-height:20.390625px">#define Mod2Mask =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(1&lt;&lt;4)</span></font><=
/div><div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verd=
ana, Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-heigh=
t:20.390625px">#define Mod3Mask =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0(1&lt;&lt;5)</span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px">#define Mod4Mask =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0(1&lt;&lt;6)</span></font></div><div style=3D"text-align:justify">

<font color=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><spa=
n style=3D"font-size:12px;line-height:20.390625px">#define Mod5Mask =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(1&lt;&lt;7)</span></font><=
/div><div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verd=
ana, Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-heigh=
t:20.390625px"><br>

</span></font></div><div style=3D"text-align:justify"><font color=3D"#28282=
8" face=3D"Verdana, Arial, Helvetica, sans-serif"><span style=3D"font-size:=
12px;line-height:20.390625px">So keystate 0x10 means the keyevent has Mod2M=
ask set.</span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px"><br></span></font></div><div style=3D"text-align:justify"><font c=
olor=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><span style=
=3D"font-size:12px;line-height:20.390625px">defined in &lt;xorg/atKeynames.=
h&gt; (but don&#39;t think it&#39;s a standard X11 header)</span></font></d=
iv>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px">#define AltMask =C2=A0 =C2=A0 =C2=A0 =C2=A0 Mod1Mask</span></font=
></div><div style=3D"text-align:justify">

<font color=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><spa=
n style=3D"font-size:12px;line-height:20.390625px">#define NumLockMask =C2=
=A0 =C2=A0 Mod2Mask</span></font></div><div style=3D"text-align:justify"><f=
ont color=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><span =
style=3D"font-size:12px;line-height:20.390625px">#define AltLangMask =C2=A0=
 =C2=A0 Mod3Mask</span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px">#define KanaMask =C2=A0 =C2=A0 =C2=A0 =C2=A0Mod4Mask</span></font=
></div><div style=3D"text-align:justify">

<font color=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><spa=
n style=3D"font-size:12px;line-height:20.390625px">#define ScrollLockMask =
=C2=A0Mod5Mask</span></font></div><div style=3D"text-align:justify"><font c=
olor=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><span style=
=3D"font-size:12px;line-height:20.390625px"><br>

</span></font></div><div style=3D"text-align:justify"><font color=3D"#28282=
8" face=3D"Verdana, Arial, Helvetica, sans-serif"><span style=3D"font-size:=
12px;line-height:20.390625px">Which appears to be a NumLockMask. This makes=
 sense since &#39;dfg&#39; gives the numbers &#39;124&#39;, i.e. indicating=
 that I have some sort of Numpad overlay in the middle of the keyboard on t=
he host. =C2=A0</span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px"><br></span></font></div><div style=3D"text-align:justify"><font c=
olor=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><span style=
=3D"font-size:12px;line-height:20.390625px">For what is worth, a found simi=
lar bug report with no machines remote desktop. <a href=3D"http://apple.sta=
ckexchange.com/questions/31691/no-machine-remote-desktop-issue" target=3D"_=
blank">http://apple.stackexchange.com/questions/31691/no-machine-remote-des=
ktop-issue</a></span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px"><br></span></font></div><div style=3D"text-align:justify"><font c=
olor=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><span style=
=3D"font-size:12px;line-height:20.390625px">=C2=A0&quot;For instance, the D=
elete key was now comma, all the letters were transposed, general chaos. &q=
uot;</span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px"><br></span></font></div><div style=3D"text-align:justify"><font c=
olor=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><span style=
=3D"font-size:12px;line-height:20.390625px">I can also confirm that backspa=
ce is comma, so this seems to be the same NumLockMask problem. Every key is=
 garbled, but not randomly.</span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px"><br></span></font></div><div style=3D"text-align:justify"><font c=
olor=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><span style=
=3D"font-size:12px;line-height:20.390625px">The same problems=C2=A0apparent=
ly=C2=A0appears here in a bug report in XQuartz. They think its not their f=
ault:</span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px"><br></span></font></div><div style=3D"text-align:justify"><font c=
olor=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><span style=
=3D"font-size:12px;line-height:20.390625px"><a href=3D"http://xquartz.macos=
forge.org/trac/ticket/471" target=3D"_blank">http://xquartz.macosforge.org/=
trac/ticket/471</a></span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px"><br></span></font></div><div style=3D"text-align:justify"><font c=
olor=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><span style=
=3D"font-size:12px;line-height:20.390625px">Quote:</span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px">&quot;From my experience using NX in Linux, NX is badly designed.=
 It sends keycodes instead of KeySyms to the remote NX session.</span></fon=
t></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px">=C2=A0This causes the remote session to behave badly, unless you =
install the local keyboard map into the remote X session.</span></font></di=
v>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px">It is a problem with NX and not the X server. However, that shoul=
d have no effect on the local keyboard mapping. &quot;</span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px"><br></span></font></div><div style=3D"text-align:justify"><font c=
olor=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><span style=
=3D"font-size:12px;line-height:20.390625px">If someone could point me in th=
e right direction, I would be glad to help.=C2=A0</span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px">And as I have no need for the Mod2Mask, as a temporary fix, I wou=
ld be fine to ignore this mask on the server side and hard code xkey-&gt;st=
ate &amp;=3D ~(1u &lt;&lt; 4); somewhere.</span></font></div>

<div style=3D"text-align:justify"><font color=3D"#282828" face=3D"Verdana, =
Arial, Helvetica, sans-serif"><span style=3D"font-size:12px;line-height:20.=
390625px"><br></span></font></div><div style=3D"text-align:justify"><font c=
olor=3D"#282828" face=3D"Verdana, Arial, Helvetica, sans-serif"><span style=
=3D"font-size:12px;line-height:20.390625px">Has someone an idea how to furt=
her investigate this issue? Is there someone who can report a working keybo=
ard with Mac Os X as client?</span></font></div>

<div style=3D"text-align:justify"><br></div>
<br>_______________________________________________<br>
X2Go-Dev mailing list<br>
<a href=3D"mailto:X2Go-Dev@lists.berlios.de">X2Go-Dev@lists.berlios.de</a><=
br>
<a href=3D"https://lists.berlios.de/mailman/listinfo/x2go-dev" target=3D"_b=
lank">https://lists.berlios.de/mailman/listinfo/x2go-dev</a><br></blockquot=
e></div><br></div>

--14dae9399ca991c2c204d4c3ecd2--
