From unknown Fri May 08 13:25:36 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#1339: Incorrect keyboard keys when connecting to local desktop session
Reply-To: Bryan Roessler <bryanroessler@gmail.com>, 1339@bugs.x2go.org
Resent-From: Bryan Roessler <bryanroessler@gmail.com>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Fri, 02 Nov 2018 16:45:08 +0000
Resent-Message-ID: <handler.1339.B.15411770843973@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 1339
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.15411770843973
          (code B); Fri, 02 Nov 2018 16:45:08 +0000
Received: (at submit) by bugs.x2go.org; 2 Nov 2018 16:44:44 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-0.8 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,
	DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,NML_ADSP_CUSTOM_MED,
	URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.1
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 06DC05DAEA
	for <submit@bugs.x2go.org>; Fri,  2 Nov 2018 17:41:19 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id gWynSHt6wCcL for <submit@bugs.x2go.org>;
	Fri,  2 Nov 2018 17:37:08 +0100 (CET)
Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 6F99C5DB0A
	for <submit@bugs.x2go.org>; Fri,  2 Nov 2018 17:13:59 +0100 (CET)
Received: by mail-lf1-x133.google.com with SMTP id c16so1692310lfj.8
        for <submit@bugs.x2go.org>; Fri, 02 Nov 2018 09:13:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=mime-version:from:date:message-id:subject:to;
        bh=7fgejnmAYlb0gGrOZ7g2XFRHEE06DH82Ade53awE0ow=;
        b=RlkD+kPExdoIgUJ422BsC35coPJQ89NG+pYFx4PoU/dGt3A5rus/uAsRr5VrRfUq2/
         8EGP1+WPYcJwUzIrpF7HMnwdpd3985vNuw+R3k3CkiXqH50h9akGtgdVh0LEqLuho97Q
         vbJyz9rdyJv0v6hLuw1fYtQCypUC0RgC99gp2AFJOktGdlDiXnUBRkU+GlSl0cIaVfEq
         7EDbPIrsl1xBrMvxLgtgKHTV/5RYYWdfZZMCqiN7Q52Sja7OuFLjYJGDpfrz+ONmuPJc
         OLqBLC7eLW2a064iJDArj6/+oS6g5TPYNZPWBZzs0B2OdyamNrKkEMys5WnyNipKYKa1
         x/xQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
        bh=7fgejnmAYlb0gGrOZ7g2XFRHEE06DH82Ade53awE0ow=;
        b=TvPY0FLbDYyp25M8k3z1l6/9OPPriEjYtDH9GzOlOXI6sWtrYV8mQtgZ4T0eQDWfk4
         d/BEP2XwH6mI9tecN0N8ytzg/kpivqIS2ACb58zeMe4e1DIes1XtEsqGZLtGSMg63W2x
         6rJQAlw7MGxPGHaSVc3lW4y5YTAS7LTgc2ewSoMmlZXRo4bts3VJ8mjkK/Q9U6DXKzen
         bE1WFmJMgMY4x3SJuDyiGLBfj4kEIIimEqriEiVh+Vsyx0HXsTioSixG0XCdH1GZh1Ja
         xkFDqCaaawhpSne+QY01/2sormx18/jp94ILO9MEJkJtZoLEedNgDKm42/e8cbH6uJR8
         ymqQ==
X-Gm-Message-State: AGRZ1gIAGacH6Wt048z4AYwJsSlmyPimZAQ/3zJZtnxNXOtkSX8H7+bA
	i5adxevVlYpQmejWn9GRMuum+d7h75+glq1ZuEa30pSs
X-Google-Smtp-Source: AJdET5dxSz22YT0dZSZ9K8vcJxoNfPAaer5KNROv08OWM6KKPln3l76FjdIRI3DusbmxUn2u8IwPiZ4JhPdqHV4yPJE=
X-Received: by 2002:a19:d5:: with SMTP id 204mr6762884lfa.116.1541175238020;
 Fri, 02 Nov 2018 09:13:58 -0700 (PDT)
MIME-Version: 1.0
From: Bryan Roessler <bryanroessler@gmail.com>
Date: Fri, 2 Nov 2018 12:13:21 -0400
Message-ID: <CADjPr8R7YC6AEpOxsrPNCwAt=B=XkL+R_-Nptd0++KWo1t3eTA@mail.gmail.com>
To: submit@bugs.x2go.org
Content-Type: multipart/alternative; boundary="00000000000099539b0579b0d2ae"

--00000000000099539b0579b0d2ae
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Package: x2goserver
Version: 4.1.0.1

Client: Fedora 29
X2GoClient: 4.1.2.1

Server: Fedora 29
x2goserver: 4.1.0.1
x2goserver-common: 4.1.0.1
x2goserver-xsession: 4.1.0.1
nxagent: 3.5.99.16
DE: MATE 1.20.3

$>cat
/home/bryan/.x2go/C-bryan-50-1541170484_stS1XSHADbryanXSHADPP0_dp24/session=
.log
running as X2Go Agent

NXAGENT - Version 3.5.99.16

Copyright (c) 2001, 2011 NoMachine (http://www.nomachine.com)
Copyright (c) 2008-2014 Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
Copyright (c) 2011-2016 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Copyright (c) 2014-2016 Ulrich Sibiller <uli42@gmx.de>
Copyright (c) 2014-2016 Mihai Moldovan <ionic@ionic.de>
Copyright (c) 2015-2016 Qindel Group (http://www.qindel.com)
See https://github.com/ArcticaProject/nx-libs for more information.

Info: Agent running with pid '5912'.
Session: Starting session at 'Fri Nov  2 09:54:46 2018'.
Info: Proxy running in client mode with pid '5912'.
Info: Using errors file
'/tmp/.x2go-bryan/C-bryan-50-1541170484_stS1XSHADbryanXSHADPP0_dp24/session=
.log'.
Info: Using stats file
'/tmp/.x2go-bryan/C-bryan-50-1541170484_stS1XSHADbryanXSHADPP0_dp24/C-bryan=
-50-1541170484_stS1XSHADbryanXSHADPP0_dp24/stats'.
Loop: WARNING! Unrecognized session type 'unix-kde-depth_24'. Assuming
agent session.
Warning: Unrecognized session type 'unix-kde-depth_24'. Assuming agent
session.
Info: Waiting for connection from 'localhost' on socket 'tcp:*:39826'.
Info: Accepted connection from '127.0.0.1'.
Info: Connection with remote proxy completed.
Info: Using WAN link parameters 1408/24/1/0.
Info: Using agent parameters 5000/5/50/0/0.
Info: Using cache parameters 4/4096KB/8192KB/8192KB.
Info: Using pack method '16m-jpeg-9' with session 'unix-kde-depth_24'.
Info: Using ZLIB data compression 1/1/32.
Info: Using ZLIB stream compression 1/1.
Info: No suitable cache file found.
Info: Listening to X11 connections on display ':50'.
Info: Established X client connection.
Info: Using shared memory parameters 1/1/0/0K.
Info: Using alpha channel in render extension.
Info: Not using local device configuration changes.
Warning: Cannot read keystroke file
'/home/bryan/.x2go/config/keystrokes.cfg'.
Info: using keystrokes file '/etc/x2go/keystrokes.cfg'
Info: ignoring unknown keystroke action 'debug_tree'.
Info: ignoring unknown keystroke action 'regions_on_screen'.
Info: ignoring unknown keystroke action 'test_input'.
Info: ignoring unknown keystroke action 'deactivate_input_devices_grab'.
Current known keystrokes:
  close_session         Ctrl+Alt+t
  switch_all_screens    Ctrl+Alt+f
  minimize              Ctrl+Alt+m
  resize                Ctrl+Alt+r
  defer                 Ctrl+Alt+e
  ignore                Ctrl+Alt+BackSpace
  force_synchronization Ctrl+Alt+j
  fullscreen            Ctrl+Shift+Alt+f
  viewport_move_left    Ctrl+Shift+Alt+Left
  viewport_move_up      Ctrl+Alt+Up
  viewport_move_right   Ctrl+Alt+Right
  viewport_move_down    Ctrl+Alt+Down
Info: keyboard file created:
'/home/bryan/.x2go/C-bryan-50-1541170484_stS1XSHADbryanXSHADPP0_dp24/keyboa=
rd'
Info: Keycode conversion auto-determined as on
Poller::shmInit: WARNING! Couldn't set uid for shm segment.
Session: Session started at 'Fri Nov  2 09:54:47 2018'.
Info: Screen [0] resized to geometry [1024x768] fullscreen [0].

$>cat
/home/bryan/.x2go/C-bryan-50-1541170484_stS1XSHADbryanXSHADPP0_dp24/keyboar=
d
rules=3D"evdev"
model=3D"pc105"
layout=3D"us"
variant=3D","
options=3D","

$>cat
/home/bryan/.x2go/C-bryan-50-1541170484_stS1XSHADbryanXSHADPP0_dp24/clients
error opening security policy file /usr/lib64/xserver/SecurityPolicy

$>cat
/home/bryan/.x2go/C-bryan-50-1541170484_stS1XSHADbryanXSHADPP0_dp24/options
nx/nx,link=3Dwan,pack=3D16m-jpeg-9,limit=3D0,root=3D/tmp/.x2go-bryan/C-brya=
n-50-1541170484_stS1XSHADbryanXSHADPP0_dp24,cache=3D8M,images=3D32M,type=3D=
unix-kde-depth_24,id=3Dbryan-50-1541170484_stS1XSHADbryanXSHADPP0_dp24,cook=
ie=3Ddbb08a1c05aab892d20bb46ef9e2a696,errors=3D/tmp/.x2go-bryan/C-bryan-50-=
1541170484_stS1XSHADbryanXSHADPP0_dp24/session.log,kbtype=3Dnull/null,geome=
try=3D1024x768+0+0,xinerama=3D0,resize=3D1,fullscreen=3D0,accept=3Dlocalhos=
t,listen=3D39826,clipboard=3Dboth,client=3Dlinux,menu=3D0,state=3D/tmp/.x2g=
o-bryan/C-bryan-50-1541170484_stS1XSHADbryanXSHADPP0_dp24/state:50

$>setxkbmap -print
xkb_keymap {
    xkb_keycodes  { include "evdev+aliases(qwerty)"    };
    xkb_types     { include "complete"    };
    xkb_compat    { include "complete"    };
    xkb_symbols   { include "pc+us+inet(evdev)"    };
    xkb_geometry  { include "pc(pc105)"    };
};



Recently, when connecting to my local MATE desktop session some of the keys
are incorrectly mapped (e.g., the Del key triggers a screenshot) and some
(such as the up arrow) do not work at all. I have also lost the ability to
do bidirectional clipboard syncing.

I have tried configuring X2GoClient to automatically detect my keyboard
settings and also specifying them manually with no effect. I have tried
manually resetting the keyboard config on the server by piping the
setxkbmap output to xkbcomp.

This issue started about 6 months ago.

Thank you,
Bryan

--00000000000099539b0579b0d2ae
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div di=
r=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"lt=
r"><div>Package: x2goserver</div><div>Version: 4.1.0.1</div><div><br></div>=
<div>Client: Fedora 29</div><div>X2GoClient: 4.1.2.1<br></div><div><br></di=
v><div>Server: Fedora 29</div><div>x2goserver: 4.1.0.1<br>x2goserver-common=
: 4.1.0.1=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 <br>x2goserver-xsession: 4.1.0.1</div><div>nxagent=
: 3.5.99.16</div><div>DE: MATE 1.20.3</div><div><br></div><div>$&gt;cat /ho=
me/bryan/.x2go/C-bryan-50-1541170484_stS1XSHADbryanXSHADPP0_dp24/session.lo=
g<br>running as X2Go Agent<br><br>NXAGENT - Version 3.5.99.16<br><br>Copyri=
ght (c) 2001, 2011 NoMachine (<a href=3D"http://www.nomachine.com">http://w=
ww.nomachine.com</a>)<br>Copyright (c) 2008-2014 Oleksandr Shneyder &lt;<a =
href=3D"mailto:o.shneyder@phoca-gmbh.de">o.shneyder@phoca-gmbh.de</a>&gt;<b=
r>Copyright (c) 2011-2016 Mike Gabriel &lt;<a href=3D"mailto:mike.gabriel@d=
as-netzwerkteam.de">mike.gabriel@das-netzwerkteam.de</a>&gt;<br>Copyright (=
c) 2014-2016 Ulrich Sibiller &lt;<a href=3D"mailto:uli42@gmx.de">uli42@gmx.=
de</a>&gt;<br>Copyright (c) 2014-2016 Mihai Moldovan &lt;<a href=3D"mailto:=
ionic@ionic.de">ionic@ionic.de</a>&gt;<br>Copyright (c) 2015-2016 Qindel Gr=
oup (<a href=3D"http://www.qindel.com">http://www.qindel.com</a>)<br>See <a=
 href=3D"https://github.com/ArcticaProject/nx-libs">https://github.com/Arct=
icaProject/nx-libs</a> for more information.<br><br>Info: Agent running wit=
h pid &#39;5912&#39;.<br>Session: Starting session at &#39;Fri Nov=C2=A0 2 =
09:54:46 2018&#39;.<br>Info: Proxy running in client mode with pid &#39;591=
2&#39;.<br>Info: Using errors file &#39;/tmp/.x2go-bryan/C-bryan-50-1541170=
484_stS1XSHADbryanXSHADPP0_dp24/session.log&#39;.<br>Info: Using stats file=
 &#39;/tmp/.x2go-bryan/C-bryan-50-1541170484_stS1XSHADbryanXSHADPP0_dp24/C-=
bryan-50-1541170484_stS1XSHADbryanXSHADPP0_dp24/stats&#39;.<br>Loop: WARNIN=
G! Unrecognized session type &#39;unix-kde-depth_24&#39;. Assuming agent se=
ssion.<br>Warning: Unrecognized session type &#39;unix-kde-depth_24&#39;. A=
ssuming agent session.<br>Info: Waiting for connection from &#39;localhost&=
#39; on socket &#39;tcp:*:39826&#39;.<br>Info: Accepted connection from &#3=
9;127.0.0.1&#39;.<br>Info: Connection with remote proxy completed.<br>Info:=
 Using WAN link parameters 1408/24/1/0.<br>Info: Using agent parameters 500=
0/5/50/0/0.<br>Info: Using cache parameters 4/4096KB/8192KB/8192KB.<br>Info=
: Using pack method &#39;16m-jpeg-9&#39; with session &#39;unix-kde-depth_2=
4&#39;.<br>Info: Using ZLIB data compression 1/1/32.<br>Info: Using ZLIB st=
ream compression 1/1.<br>Info: No suitable cache file found.<br>Info: Liste=
ning to X11 connections on display &#39;:50&#39;.<br>Info: Established X cl=
ient connection.<br>Info: Using shared memory parameters 1/1/0/0K.<br>Info:=
 Using alpha channel in render extension.<br>Info: Not using local device c=
onfiguration changes.<br>Warning: Cannot read keystroke file &#39;/home/bry=
an/.x2go/config/keystrokes.cfg&#39;.<br>Info: using keystrokes file &#39;/e=
tc/x2go/keystrokes.cfg&#39;<br>Info: ignoring unknown keystroke action &#39=
;debug_tree&#39;.<br>Info: ignoring unknown keystroke action &#39;regions_o=
n_screen&#39;.<br>Info: ignoring unknown keystroke action &#39;test_input&#=
39;.<br>Info: ignoring unknown keystroke action &#39;deactivate_input_devic=
es_grab&#39;.<br>Current known keystrokes:<br>=C2=A0 close_session=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Ctrl+Alt+t<br>=C2=A0 switch_all_scr=
eens=C2=A0=C2=A0=C2=A0 Ctrl+Alt+f<br>=C2=A0 minimize=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Ctrl+Alt+m<br>=C2=
=A0 resize=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 Ctrl+Alt+r<br>=C2=A0 defer=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 Ctrl+Alt+e<br>=C2=A0 ignore=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Ctrl+Alt+BackSpace<br>=C2=A0 =
force_synchronization Ctrl+Alt+j<br>=C2=A0 fullscreen=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Ctrl+Shift+Alt+f<br>=C2=A0 vi=
ewport_move_left=C2=A0=C2=A0=C2=A0 Ctrl+Shift+Alt+Left<br>=C2=A0 viewport_m=
ove_up=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Ctrl+Alt+Up<br>=C2=A0 viewport_move_ri=
ght=C2=A0=C2=A0 Ctrl+Alt+Right<br>=C2=A0 viewport_move_down=C2=A0=C2=A0=C2=
=A0 Ctrl+Alt+Down<br>Info: keyboard file created: &#39;/home/bryan/.x2go/C-=
bryan-50-1541170484_stS1XSHADbryanXSHADPP0_dp24/keyboard&#39;<br>Info: Keyc=
ode conversion auto-determined as on<br>Poller::shmInit: WARNING! Couldn&#3=
9;t set uid for shm segment.<br>Session: Session started at &#39;Fri Nov=C2=
=A0 2 09:54:47 2018&#39;.<br>Info: Screen [0] resized to geometry [1024x768=
] fullscreen [0].</div><div><br></div><div><div>$&gt;cat /home/bryan/.x2go/=
C-bryan-50-1541170484_stS1XSHADbryanXSHADPP0_dp24/keyboard<br></div><div>ru=
les=3D&quot;evdev&quot;<br>model=3D&quot;pc105&quot;<br>layout=3D&quot;us&q=
uot;<br>variant=3D&quot;,&quot;<br>options=3D&quot;,&quot;</div><div><br></=
div><div>$&gt;cat /home/bryan/.x2go/C-bryan-50-1541170484_stS1XSHADbryanXSH=
ADPP0_dp24/clients</div><div>error opening security policy file /usr/lib64/=
xserver/SecurityPolicy</div><div><div><br></div><div>$&gt;cat /home/bryan/.=
x2go/C-bryan-50-1541170484_stS1XSHADbryanXSHADPP0_dp24/options</div></div><=
div>nx/nx,link=3Dwan,pack=3D16m-jpeg-9,limit=3D0,root=3D/tmp/.x2go-bryan/C-=
bryan-50-1541170484_stS1XSHADbryanXSHADPP0_dp24,cache=3D8M,images=3D32M,typ=
e=3Dunix-kde-depth_24,id=3Dbryan-50-1541170484_stS1XSHADbryanXSHADPP0_dp24,=
cookie=3Ddbb08a1c05aab892d20bb46ef9e2a696,errors=3D/tmp/.x2go-bryan/C-bryan=
-50-1541170484_stS1XSHADbryanXSHADPP0_dp24/session.log,kbtype=3Dnull/null,g=
eometry=3D1024x768+0+0,xinerama=3D0,resize=3D1,fullscreen=3D0,accept=3Dloca=
lhost,listen=3D39826,clipboard=3Dboth,client=3Dlinux,menu=3D0,state=3D/tmp/=
.x2go-bryan/C-bryan-50-1541170484_stS1XSHADbryanXSHADPP0_dp24/state:50<br><=
/div></div><div><br></div><div>$&gt;setxkbmap -print<br>xkb_keymap {<br>=C2=
=A0=C2=A0=C2=A0 xkb_keycodes=C2=A0 { include &quot;evdev+aliases(qwerty)&qu=
ot;=C2=A0=C2=A0=C2=A0 };<br>=C2=A0=C2=A0=C2=A0 xkb_types=C2=A0=C2=A0=C2=A0=
=C2=A0 { include &quot;complete&quot;=C2=A0=C2=A0=C2=A0 };<br>=C2=A0=C2=A0=
=C2=A0 xkb_compat=C2=A0=C2=A0=C2=A0 { include &quot;complete&quot;=C2=A0=C2=
=A0=C2=A0 };<br>=C2=A0=C2=A0=C2=A0 xkb_symbols=C2=A0=C2=A0 { include &quot;=
pc+us+inet(evdev)&quot;=C2=A0=C2=A0=C2=A0 };<br>=C2=A0=C2=A0=C2=A0 xkb_geom=
etry=C2=A0 { include &quot;pc(pc105)&quot;=C2=A0=C2=A0=C2=A0 };<br>};<br></=
div><div><br></div><br><div><br></div><div>Recently, when connecting to my =
local MATE desktop session some of the keys are incorrectly mapped (e.g., t=
he Del key triggers a screenshot) and some (such as the up arrow) do not wo=
rk at all. I have also lost the ability to do bidirectional clipboard synci=
ng.</div><div><br></div><div>I have tried configuring X2GoClient to automat=
ically detect my keyboard settings and also specifying them manually with n=
o effect. I have tried manually resetting the keyboard config on the server=
 by piping the setxkbmap output to xkbcomp.</div><div><br></div><div>This i=
ssue started about 6 months ago.</div><div><br></div><div>Thank you,</div><=
div>Bryan<br></div><div><br></div><div><br></div></div></div></div></div></=
div></div></div></div></div>

--00000000000099539b0579b0d2ae--
