X2Go Bug report logs - #286
keyboard layout isn't applied to the session (when starting)

version graph

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

Reported by: "Maciej S. Szmigiero" <mail@maciej.szmigiero.name>

Date: Mon, 5 Aug 2013 00:18:01 UTC

Severity: normal

Found in version 4.0.1.3

Fixed in version 4.0.1.7

Full log


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

Received: (at 286) by bugs.x2go.org; 5 Aug 2013 22:45:04 +0000
From mail@maciej.szmigiero.name  Tue Aug  6 00:45:04 2013
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: *
X-Spam-Status: No, score=1.3 required=5.0 tests=RDNS_NONE autolearn=no
	version=3.3.2
X-Greylist: delayed 1292 seconds by postgrey-1.34 at ymir; Tue, 06 Aug 2013 00:45:04 CEST
Received: from vps-vb.mhejs.net (unknown [37.28.154.113])
	by ymir (Postfix) with ESMTPS id 1B3C75DB1E
	for <286@bugs.x2go.org>; Tue,  6 Aug 2013 00:45:04 +0200 (CEST)
Received: from 89-71-103-214.dynamic.chello.pl ([89.71.103.214] helo=[192.168.1.3])
	by vps-vb.mhejs.net with esmtps (TLSv1:CAMELLIA256-SHA:256)
	(Exim 4.77)
	(envelope-from <mail@maciej.szmigiero.name>)
	id 1V6TBb-0004mz-IO; Tue, 06 Aug 2013 00:23:31 +0200
Message-ID: <520025DE.6080905@maciej.szmigiero.name>
Date: Tue, 06 Aug 2013 00:23:26 +0200
From: "Maciej S. Szmigiero" <mail@maciej.szmigiero.name>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130217 Thunderbird/17.0.2
MIME-Version: 1.0
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
CC: 286@bugs.x2go.org
Subject: Re: Bug#286: keyboard layout isn't applied to the session (when starting)
References: <51FEE7A9.7060001@maciej.szmigiero.name> <20130805121656.69992m0bdq7s0mu0@mail.das-netzwerkteam.de> <51FF88EE.30204@maciej.szmigiero.name> <20130805140615.13575ubvqzmrfwhj@mail.das-netzwerkteam.de>
In-Reply-To: <20130805140615.13575ubvqzmrfwhj@mail.das-netzwerkteam.de>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Hello Mike,

W dniu 05.08.2013 14:06, Mike Gabriel pisze:
> Hi Maciej,
> 
> I will clone issue #285, so we have two issues: one for resuming (#285), one for starting new sessions.

OK, I've changed the email subject to reflect this (see also below for inline comment).

> On Mo 05 Aug 2013 13:13:50 CEST "Maciej S. Szmigiero" wrote:
> 
>>> x2gostartagent: here I do not see an issue. Not that in X2Go Server there are three ways to set up your keyboard:
>>>
>>>   1) no setup at all (setxkb=false in sessions file)
>>>   2) setup a specific setup (e.g. type=pc105/us, layout=us)
>>>   3) automatic setup (-> type=auto, layout=)
>>>
>>> The server-side script ,,x2gosetkeyboard'' is only used for 3).
>>>
>>> The keyboard setup for 2) is managed from the client side by issuing setxkbmap commands via the open SSH channel.
>>
>> I've grepped x2goclient-4.0.1.0 sources and found only setxkbmap call on client side (via "QProcess::startDetached").
> 
> Yes, that's where the settings get set...

I think we have a bit of misunderstanding here, as you previously wrote that:
"2) is managed from the client side by issuing setxkbmap commands via the open SSH channel".

That is, it is managed from the client side, but set on server via SSH.

And I couldn't find any code in x2goclient (4.0.1.0) for doing this.

That's why I thought it is done via x2gosetkeyboard and in fact it does work like this with small script change
(not creating blocking directory when layout != "auto").

>> There is also remote xmodmap call on Maemo, but it only remaps two keys.
>>
>>> On x2gostartagent, everything (after testing with PyHoca-GUI and X2Go Client) works as expected.
>>
>> Unfortunately not for me (that's why I looked into this issue).
> 
> In order to get the new cloned bug (the one that deals with keyboard layout while starting X2Go sessions) fixed, please send to me (privately):
> 
>   your ~/.x2goclient/sessions file (grey-out sensitive information)
>   your ~/.x2go/C-<sessionid>/options file (on server-side)
>   your ~/.x2go/C-<sessionid>/session.log
> 
> Thanks,
> Mike

Thanks and best regards,
Maciej Szmigiero


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Wed Apr 24 23:16:05 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.