X2Go Bug report logs - #1339
Incorrect keyboard keys when connecting to local desktop session

version graph

Package: x2goserver; Maintainer for x2goserver is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver is src:x2goserver.

Reported by: Bryan Roessler <bryanroessler@gmail.com>

Date: Fri, 2 Nov 2018 16:45:07 UTC

Severity: normal

Found in version

Full log

🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1339: 
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: Tue, 04 Dec 2018 00:00:07 +0000
Resent-Message-ID: <handler.1339.B1339.154388151718929@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 1339
X-X2Go-PR-Package: x2goserver
Received: via spool by 1339-submit@bugs.x2go.org id=B1339.154388151718929
          (code B ref 1339); Tue, 04 Dec 2018 00:00:07 +0000
Received: (at 1339) by bugs.x2go.org; 3 Dec 2018 23:58:37 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
X-Spam-Status: No, score=0.7 required=3.0 tests=BAYES_50,DKIM_SIGNED,
	autolearn_force=no version=3.4.2
Received: from localhost (localhost [])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 6E5295DAE8
	for <1339@bugs.x2go.org>; Tue,  4 Dec 2018 00:54:44 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([])
	by localhost (ymir.das-netzwerkteam.de []) (amavisd-new, port 10024)
	with ESMTP id tjt5cFg6vEVS for <1339@bugs.x2go.org>;
	Tue,  4 Dec 2018 00:48:01 +0100 (CET)
Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id D12F45DAEB
	for <1339@bugs.x2go.org>; Tue,  4 Dec 2018 00:47:52 +0100 (CET)
Received: by mail-lj1-x236.google.com with SMTP id t9-v6so13111364ljh.6
        for <1339@bugs.x2go.org>; Mon, 03 Dec 2018 15:47:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
X-Gm-Message-State: AA+aEWYmaoqOhwY450T/MJVene7khnrCrTUYjjiZ5ioqdedGTqahgU8F
X-Google-Smtp-Source: AFSGD/WpOlskQVm5eFULW8OKHbfjaRmD2DE9ubR9wArWHDpMkhaBIkci/izmdYSycOb/ZPdfqe41yna1iJ/fP87ouls=
X-Received: by 2002:a2e:9603:: with SMTP id v3-v6mr9707545ljh.15.1543880871553;
 Mon, 03 Dec 2018 15:47:51 -0800 (PST)
MIME-Version: 1.0
From: Bryan Roessler <bryanroessler@gmail.com>
Date: Mon, 3 Dec 2018 18:47:15 -0500
Message-ID: <CADjPr8RaATYBZ-J3dpHO36WY_eaoh_iFrZjRLJgCE2wddrO5wA@mail.gmail.com>
To: 1339@bugs.x2go.org
Content-Type: multipart/alternative; boundary="000000000000ecb0d2057c26c687"
[Message part 1 (text/plain, inline)]
I have found that the issue appears to be related to the keycodes setting.


>setxkbmap -model pc105 -layout us -keycodes "xfree86+aliases(qwerty)"

Gets the keyboard keys to work properly again.

Subsequently, running:

>setxkbmap -model pc105 -layout us -keycodes "evdev+aliases(qwerty)"

Results in the keyboard keys not working.

However, the output of setxkbmap -print does not change after that command
is issued even though it fixes the problem:

>setxkbmap -model pc105 -layout us -keycodes "evdev+aliases(qwerty)" ###
keyboard keys stop working properly
>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)"    };
>setxkbmap -model pc105 -layout us -keycodes "xfree86+aliases(qwerty)" ###
keyboard keys start working properly
>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)"    };

I would assume that changing the keycodes setting would also change the
xkb_keycodes returned from setxkbmap. I do not understand why this bug is
happening, and unfortunately my understanding of X keyboard mappings goes
no further. I wish there was a way to pass this keycodes directive in x2go,
but I do not know which component of this setup is the guilty party.

Hopefully this can at the least help someone with the same issue.
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Sun Jun 16 21:24:42 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.