X2Go Bug report logs - #1049
Mac x2goclient keyboard map scrambled for 'connect to local desktop', non-US keyboard

version graph

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

Reported by: Theo Markettos <x2go@markettos.org.uk>

Date: Wed, 29 Jun 2016 12:45:01 UTC

Severity: normal

Found in version 4.0.5.1

Full log


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

Received: (at submit) by bugs.x2go.org; 29 Jun 2016 12:41:36 +0000
From theom@chiark.greenend.org.uk  Wed Jun 29 14:41:33 2016
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50 autolearn=ham
	version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id A6E8C5DDCC
	for <submit@bugs.x2go.org>; Wed, 29 Jun 2016 14:41:33 +0200 (CEST)
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 WXrOH6mhtrEl for <submit@bugs.x2go.org>;
	Wed, 29 Jun 2016 14:41:27 +0200 (CEST)
X-Greylist: delayed 4223 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Wed, 29 Jun 2016 14:41:26 CEST
Received: from chiark.greenend.org.uk (chiark.greenend.org.uk [212.13.197.229])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id E977B5DA91
	for <submit@bugs.x2go.org>; Wed, 29 Jun 2016 14:41:26 +0200 (CEST)
Received: by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with local
	(return-path theom@chiark.greenend.org.uk)
	id 1bIDhu-00072D-Dg
	for submit@bugs.x2go.org; Wed, 29 Jun 2016 12:31:02 +0100
Date: Wed, 29 Jun 2016 12:31:02 +0100
From: Theo Markettos <x2go@markettos.org.uk>
To: submit@bugs.x2go.org
Subject: Mac x2goclient keyboard map scrambled for 'connect to local
 desktop', non-US keyboard
Message-ID: <20160629113102.GJ19912@chiark.greenend.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.23 (2014-03-12)
Package: x2goclient
Version: 4.0.5.1


Client: Mac OS X 10.9.5, x2goclient 4.0.5.1 (Qt - 4.8.7), XQuartz 2.7.9,
Macbook Pro 15", keyboard layout British - PC

Server: Ubuntu 14.04, amd64 kernel 3.13.0-87-generic, XFCE 4.10.1, packages:
ii  x2goagent                                             2:3.5.0.33-0~677~ubuntu14.04.1
ii  x2goclient                                            4.0.5.2-0~1197~ubuntu14.04.1
ii  x2goserver                                            4.1.0.0-0~1317~ubuntu14.04.1
ii  x2goserver-common                                     4.1.0.0-0~1317~ubuntu14.04.1
ii  x2goserver-extensions                                 4.1.0.0-0~1317~ubuntu14.04.1
ii  x2goserver-xsession                                   4.1.0.0-0~1317~ubuntu14.04.1


If I 'connect to local desktop' to an existing XFCE session, that has XFCE
set to use the
English - English (UK, extended WinKeys)
keyboard layout, I get junk keyboard mappings for punctuation mostly when
shift is pressed.  eg

< generates Z
> generates X
{ generates &
key labelled " generates the 1/8 symbol (it should generate @ on the British PC map)
key labelled \ generates the pound symbol (should generate #)
; generates @
: generates an omega symbol
Both the key to the left of '1' and the left of Z generate U+00AC NOT SIGN
There is no way to generate ~

Letter and number keys seem fine.

If I connect to a 'Terminal' session rather than a local desktop the
keyboard layout works fine.

It looks like I have xmodmap in place on Mac:

user-109-43:~ atm26$ ls -l /usr/X11/bin/xmodmap
-rwxr-xr-x  1 root  wheel  97888 May  5 09:32 /usr/X11/bin/xmodmap
user-109-43:~ atm26$ ls -l /opt/X11/bin/xmodmap
-rwxr-xr-x  1 root  wheel  97888 May  5 09:32 /opt/X11/bin/xmodmap
user-109-43:~ atm26$ ls -l /opt/local/bin/xmodmap
lrwxr-xr-x  1 root  admin  20 Jun  2  2015 /opt/local/bin/xmodmap -> /usr/X11/bin/xmodmap
user-109-43:~ atm26$ md5 /usr/X11/bin/xmodmap
MD5 (/usr/X11/bin/xmodmap) = da41f91233eceefaa673680adc6ff924
user-109-43:~ atm26$ md5 /opt/X11/bin/xmodmap
MD5 (/opt/X11/bin/xmodmap) = da41f91233eceefaa673680adc6ff924

XQuartz' 'Follow system keyboard layout' box was ticked, but seems to make
no difference ticked or unticked if I flip local keyboard layouts.  (Do I
have to restart my session for this to take effect?)

If I change the server end to use a US keyboard layout and restart the
display manager the keys are mapped correctly, but it's annoying to use it
locally with a US map on a hardware UK keyboard.  I can't seem to change
layout without restarting the DM, otherwise I could workaround by flipping
it to US for the duration of my x2go session.

Any ideas?

Thanks
Theo


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sat Apr 20 11:37:18 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.