From unknown Thu Mar 28 21:31:48 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#1339: Incorrect keyboard keys when connecting to local desktop session Reply-To: Bryan Roessler , 1339@bugs.x2go.org Resent-From: Bryan Roessler Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Fri, 02 Nov 2018 16:45:08 +0000 Resent-Message-ID: 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 ; 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 ; 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 ; Fri, 2 Nov 2018 17:13:59 +0100 (CET) Received: by mail-lf1-x133.google.com with SMTP id c16so1692310lfj.8 for ; 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 Date: Fri, 2 Nov 2018 12:13:21 -0400 Message-ID: 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 Copyright (c) 2011-2016 Mike Gabriel Copyright (c) 2014-2016 Ulrich Sibiller Copyright (c) 2014-2016 Mihai Moldovan 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
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=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
x2goserver-xsession: 4.1.0.1
nxagent= : 3.5.99.16
DE: MATE 1.20.3

$>cat /ho= me/bryan/.x2go/C-bryan-50-1541170484_stS1XSHADbryanXSHADPP0_dp24/session.lo= g
running as X2Go Agent

NXAGENT - Version 3.5.99.16

Copyri= ght (c) 2001, 2011 NoMachine (http://w= ww.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 Gr= oup (http://www.qindel.com)
See https://github.com/Arct= icaProject/nx-libs for more information.

Info: Agent running wit= h pid '5912'.
Session: Starting session at 'Fri Nov=C2=A0 2 = 09:54:46 2018'.
Info: Proxy running in client mode with pid '591= 2'.
Info: Using errors file '/tmp/.x2go-bryan/C-bryan-50-1541170= 484_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: WARNIN= G! Unrecognized session type 'unix-kde-depth_24'. Assuming agent se= ssion.
Warning: Unrecognized session type 'unix-kde-depth_24'. A= ssuming agent session.
Info: Waiting for connection from 'localhost&= #39; on socket 'tcp:*:39826'.
Info: Accepted connection from = 9;127.0.0.1'.
Info: Connection with remote proxy completed.
Info:= Using WAN link parameters 1408/24/1/0.
Info: Using agent parameters 500= 0/5/50/0/0.
Info: Using cache parameters 4/4096KB/8192KB/8192KB.
Info= : Using pack method '16m-jpeg-9' with session 'unix-kde-depth_2= 4'.
Info: Using ZLIB data compression 1/1/32.
Info: Using ZLIB st= ream compression 1/1.
Info: No suitable cache file found.
Info: Liste= ning to X11 connections on display ':50'.
Info: Established X cl= ient connection.
Info: Using shared memory parameters 1/1/0/0K.
Info:= Using alpha channel in render extension.
Info: Not using local device c= onfiguration changes.
Warning: Cannot read keystroke file '/home/bry= an/.x2go/config/keystrokes.cfg'.
Info: using keystrokes file '/e= tc/x2go/keystrokes.cfg'
Info: ignoring unknown keystroke action '= ;debug_tree'.
Info: ignoring unknown keystroke action 'regions_o= n_screen'.
Info: ignoring unknown keystroke action 'test_input&#= 39;.
Info: ignoring unknown keystroke action 'deactivate_input_devic= es_grab'.
Current known keystrokes:
=C2=A0 close_session=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Ctrl+Alt+t
=C2=A0 switch_all_scr= eens=C2=A0=C2=A0=C2=A0 Ctrl+Alt+f
=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
=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
=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
=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
=C2=A0 = force_synchronization Ctrl+Alt+j
=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
=C2=A0 vi= ewport_move_left=C2=A0=C2=A0=C2=A0 Ctrl+Shift+Alt+Left
=C2=A0 viewport_m= ove_up=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Ctrl+Alt+Up
=C2=A0 viewport_move_ri= ght=C2=A0=C2=A0 Ctrl+Alt+Right
=C2=A0 viewport_move_down=C2=A0=C2=A0=C2= =A0 Ctrl+Alt+Down
Info: keyboard file created: '/home/bryan/.x2go/C-= bryan-50-1541170484_stS1XSHADbryanXSHADPP0_dp24/keyboard'
Info: Keyc= ode conversion auto-determined as on
Poller::shmInit: WARNING! Couldn= 9;t set uid for shm segment.
Session: Session started at 'Fri Nov=C2= =A0 2 09:54:47 2018'.
Info: Screen [0] resized to geometry [1024x768= ] fullscreen [0].

$>cat /home/bryan/.x2go/= C-bryan-50-1541170484_stS1XSHADbryanXSHADPP0_dp24/keyboard
ru= les=3D"evdev"
model=3D"pc105"
layout=3D"us&q= uot;
variant=3D","
options=3D","

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

$>cat /home/bryan/.= x2go/C-bryan-50-1541170484_stS1XSHADbryanXSHADPP0_dp24/options
<= 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
<= /div>

$>setxkbmap -print
xkb_keymap {
=C2= =A0=C2=A0=C2=A0 xkb_keycodes=C2=A0 { include "evdev+aliases(qwerty)&qu= ot;=C2=A0=C2=A0=C2=A0 };
=C2=A0=C2=A0=C2=A0 xkb_types=C2=A0=C2=A0=C2=A0= =C2=A0 { include "complete"=C2=A0=C2=A0=C2=A0 };
=C2=A0=C2=A0= =C2=A0 xkb_compat=C2=A0=C2=A0=C2=A0 { include "complete"=C2=A0=C2= =A0=C2=A0 };
=C2=A0=C2=A0=C2=A0 xkb_symbols=C2=A0=C2=A0 { include "= pc+us+inet(evdev)"=C2=A0=C2=A0=C2=A0 };
=C2=A0=C2=A0=C2=A0 xkb_geom= etry=C2=A0 { include "pc(pc105)"=C2=A0=C2=A0=C2=A0 };
};



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.

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.

This i= ssue started about 6 months ago.

Thank you,
<= div>Bryan


--00000000000099539b0579b0d2ae--