From mail@maciej.szmigiero.name Mon Aug 5 02:15:04 2013 Received: (at submit) by bugs.x2go.org; 5 Aug 2013 00:15:05 +0000 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 1752 seconds by postgrey-1.34 at ymir; Mon, 05 Aug 2013 02:15:04 CEST Received: from vps-vb.mhejs.net (unknown [37.28.154.113]) by ymir (Postfix) with ESMTPS id 931B05DB35 for ; Mon, 5 Aug 2013 02:15: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 ) id 1V67zj-0008Kh-0B for submit@bugs.x2go.org; Mon, 05 Aug 2013 01:45:51 +0200 Message-ID: <51FEE7A9.7060001@maciej.szmigiero.name> Date: Mon, 05 Aug 2013 01:45:45 +0200 From: "Maciej S. Szmigiero" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130217 Thunderbird/17.0.2 MIME-Version: 1.0 To: submit@bugs.x2go.org Subject: keyboard layout selected in x2go client isn't applied to the session Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Package: x2goserver Version: 4.0.1.3 It seems that the keyboard layout selected in x2go client isn't applied to the session. I've tracked the issue to "keyboard" blocking directory being created by x2gostartagent script: if [ "$X2GO_SET_KBD" == "0" ] || [ "$X2GO_KBD_TYPE" != "auto" ]; then $X2GO_LIB_PATH/x2gosyslog "$0" "info" "blocking creation of agent's keyboard file ${SESSION_DIR}/keyboard as requested by session startup command" mkdir -p ${SESSION_DIR}/keyboard fi X2GO_KBD_TYPE contains the actual keyboard type, so its not "auto" and the blocking directory gets created. I've changed it to "[ "$X2GO_KBD_TYPE" == "auto" ]" and the keyboard layouts gets applied on session startup. There is also similar code in x2goresume-session: # set client-side keyboard model, type, variant, etc. if [ "$X2GO_SET_KBD" != "0" ] && [ "$X2GO_KBD_TYPE" == "auto" ]; then Here it should probably be "[ "$X2GO_KBD_TYPE" != "null\/null" ]", as few lines earlier the script will change X2GO_KBD_TYPE to this value when it is set to "auto" or when X2GO_SET_KBD is zero. Best regards, Maciej Szmigiero From mike.gabriel@das-netzwerkteam.de Mon Aug 5 12:16:58 2013 Received: (at 285) by bugs.x2go.org; 5 Aug 2013 10:16:58 +0000 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.0 required=5.0 tests=URIBL_BLOCKED autolearn=ham version=3.3.2 Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199]) by ymir (Postfix) with ESMTPS id 0E2245DB1E; Mon, 5 Aug 2013 12:16:58 +0200 (CEST) Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 9C1ECAF6; Mon, 5 Aug 2013 12:16:57 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 29DA83BBA2; Mon, 5 Aug 2013 12:16:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zbb+NTPP0DC0; Mon, 5 Aug 2013 12:16:57 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id EDB5F3BEE8; Mon, 5 Aug 2013 12:16:56 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id CF3703BBA2; Mon, 5 Aug 2013 12:16:56 +0200 (CEST) Received: by grimnir.das-netzwerkteam.de (Postfix, from userid 33) id 5D9663BEE8; Mon, 5 Aug 2013 12:16:56 +0200 (CEST) Received: from m-047.informatik.uni-kiel.de (m-047.informatik.uni-kiel.de [134.245.254.47]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; Mon, 05 Aug 2013 12:16:56 +0200 Message-ID: <20130805121656.69992m0bdq7s0mu0@mail.das-netzwerkteam.de> X-Priority: 3 (Normal) Date: Mon, 05 Aug 2013 12:16:56 +0200 From: Mike Gabriel To: 285@bugs.x2go.org Cc: 285-submitter@bugs.x2go.org Subject: Re: [X2Go-Dev] Bug#285: keyboard layout selected in x2go client isn't applied to the session References: <51FEE7A9.7060001@maciej.szmigiero.name> In-Reply-To: <51FEE7A9.7060001@maciej.szmigiero.name> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=_2d18hxicr2xk"; protocol="application/pgp-signature"; micalg="pgp-sha1" Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.4) This message is in MIME format and has been PGP signed. --=_2d18hxicr2xk Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit Control: tag -1 confirmed Hi Maciej, I have taken a look at this issue this morning and I think in some parts you are right, in some parts you are wrong. On Mo 05 Aug 2013 01:45:45 CEST "Maciej S. Szmigiero" wrote: > Package: x2goserver > Version: 4.0.1.3 > > It seems that the keyboard layout selected in x2go client isn't > applied to the session. > > I've tracked the issue to "keyboard" blocking directory being > created by x2gostartagent script: > if [ "$X2GO_SET_KBD" == "0" ] || [ "$X2GO_KBD_TYPE" != "auto" ]; then > $X2GO_LIB_PATH/x2gosyslog "$0" "info" "blocking creation of agent's > keyboard file ${SESSION_DIR}/keyboard as requested by session > startup command" > mkdir -p ${SESSION_DIR}/keyboard > fi > > X2GO_KBD_TYPE contains the actual keyboard type, so its not "auto" > and the blocking directory gets created. > I've changed it to "[ "$X2GO_KBD_TYPE" == "auto" ]" and the keyboard > layouts gets applied on session startup. 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. On x2gostartagent, everything (after testing with PyHoca-GUI and X2Go Client) works as expected. > There is also similar code in x2goresume-session: > # set client-side keyboard model, type, variant, etc. > if [ "$X2GO_SET_KBD" != "0" ] && [ "$X2GO_KBD_TYPE" == "auto" ]; then > > Here it should probably be "[ "$X2GO_KBD_TYPE" != "null/null" ]", as > few lines earlier the script > will change X2GO_KBD_TYPE to this value when it is set to "auto" or > when X2GO_SET_KBD is zero. For x2goresume-session, however, you dug out a minor issue. This issue has been fixed now, see the automatic follow-up mail which will point you to the code change in X2Go Git. Thanks for contributing to X2Go, Mike -- DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb --=_2d18hxicr2xk Content-Type: application/pgp-signature Content-Description: Digitale PGP-Unterschrift Content-Disposition: inline Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAABAgAGBQJR/3uYAAoJEJr0azAldxsxuz4P/j8zTqkJMb2fTfoNc772xpYo rsdJC7Tjjng+rybVG4rIbJPLAhIzEHa9WSnmaq6nifQF3zQYPwXf1sJb69ez8A+r IM3lWmGDKJWz0KabV7sx6YJruwuFZNBwgd6ypgCbymR1OSQvxm8PUSGbgUqnpJ7f ibh3TIAlAEKRtvlpZu3EOI5I3LM5JQiw9M73PuAUzenO/YUxhBWTJ2MWaNSnclfJ uDp/wGmkS6rSpsPQ91uqgWADkdiY+RrvQJC5pmkGrh9D7PhIwHWXzAOpb8269H9g gbQsXsfn31/TelaeD1Kku6x1AcPJy5mJSTTI59jSJu04ODXx01GlBYCaHmPQII4z XC3dcgV81+JgJxmFQP4HBaTDKIGQ6o3JQ9fakpHruVo997G6swsKoagqj50MXVcq YiFjASaMV12bb9G9HP0NFrrbfZfHAuN9nZ7Odwk3mX9eJjS34Vw+FD6JS4h9CrcB ME0ikH8OPjHrUg3MUMVyZXz0fQO+D/ig6Jymt1He4Jh5Xi2K4d+uGfaDVCxpNIy8 thZFCTBjQAvcnnN52Rl0mKgKrKBO7ymMuhGrlBPWZbJmrPPxvEhlBN2AzJmK1G8A rs9QkH5JWBwq2yHrWloV2oCZMCveCRZ40C5738Xh0qViCGz+Zp5QnfH5skcXV83s zJUkj3Kdl9cyXYUiDorF =5gbU -----END PGP SIGNATURE----- --=_2d18hxicr2xk-- From x2go@ymir Mon Aug 5 12:18:59 2013 Received: (at 285) by bugs.x2go.org; 5 Aug 2013 10:19:07 +0000 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.0 required=5.0 tests=NO_RELAYS,URIBL_BLOCKED autolearn=unavailable version=3.3.2 Received: by ymir (Postfix, from userid 1005) id 56E245DB37; Mon, 5 Aug 2013 12:18:59 +0200 (CEST) From: Mike Gabriel To: 285-submitter@bugs.x2go.org Cc: control@bugs.x2go.org, 285@bugs.x2go.org Subject: X2Go issue (in src:x2goserver) has been marked as pending for release Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer: http://snipr.com/post-receive-tag-pending Message-Id: <20130805101859.56E245DB37@ymir> Date: Mon, 5 Aug 2013 12:18:59 +0200 (CEST) tag #285 pending fixed #285 4.0.1.7 thanks Hello, X2Go issue #285 (src:x2goserver) reported by you has been fixed in X2Go Git. You can see the changelog below, and you can check the diff of the fix at: http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=afa555f The issue will most likely be fixed in src:x2goserver (4.0.1.7). light+love X2Go Git Admin (on behalf of the sender of this mail) --- commit afa555fcfdb84dcc005a38f7b0644813dde1e625 Author: Mike Gabriel Date: Mon Aug 5 12:18:41 2013 +0200 Fix automatic keyboard setup (via x2gosetkeyboard) while resuming a session. (Fixes: #285). diff --git a/debian/changelog b/debian/changelog index f0269f5..8493262 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,6 +12,8 @@ x2goserver (4.0.1.7-0~x2go1) UNRELEASED; urgency=low Xsession.options they get symlinked into /etc/x2go. Otherwise Xsession.d and Xsession.options are created under /etc/x2go as empty dir/file. (Fixes: #278). + - Fix automatic keyboard setup (via x2gosetkeyboard) while resuming a session. + (Fixes: #285). * /debian/control: - Update LONG_DESCRIPTIONS. - Move xfonts-base from Recommends: field to Depends: field (bin:package From mail@maciej.szmigiero.name Mon Aug 5 13:30:03 2013 Received: (at 285) by bugs.x2go.org; 5 Aug 2013 11:30:04 +0000 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 966 seconds by postgrey-1.34 at ymir; Mon, 05 Aug 2013 13:30:03 CEST Received: from vps-vb.mhejs.net (unknown [37.28.154.113]) by ymir (Postfix) with ESMTPS id 786A75DB1E for <285@bugs.x2go.org>; Mon, 5 Aug 2013 13:30:03 +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 ) id 1V6Ijc-0003Zy-LQ; Mon, 05 Aug 2013 13:13:56 +0200 Message-ID: <51FF88EE.30204@maciej.szmigiero.name> Date: Mon, 05 Aug 2013 13:13:50 +0200 From: "Maciej S. Szmigiero" 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 CC: 285@bugs.x2go.org Subject: Re: Bug#285: [X2Go-Dev] Bug#285: keyboard layout selected in x2go client isn't applied to the session References: <51FEE7A9.7060001@maciej.szmigiero.name> <20130805121656.69992m0bdq7s0mu0@mail.das-netzwerkteam.de> In-Reply-To: <20130805121656.69992m0bdq7s0mu0@mail.das-netzwerkteam.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hello Mike, Thanks for a quick look, see also comments below, inlined. W dniu 05.08.2013 12:16, Mike Gabriel pisze: > Hi Maciej, > > I have taken a look at this issue this morning and I think in some parts you are right, in some parts you are wrong. > > On Mo 05 Aug 2013 01:45:45 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"). 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). (..) > For x2goresume-session, however, you dug out a minor issue. This issue has been fixed now, see the automatic follow-up mail which will point you to the code change in X2Go Git. Thanks. > Thanks for contributing to X2Go, > Mike Thanks and best regards, Maciej Szmigiero From mike.gabriel@das-netzwerkteam.de Mon Aug 5 14:06:17 2013 Received: (at 285) by bugs.x2go.org; 5 Aug 2013 12:06:17 +0000 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.0 required=5.0 tests=URIBL_BLOCKED autolearn=ham version=3.3.2 Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199]) by ymir (Postfix) with ESMTPS id 1AFE45DB1E; Mon, 5 Aug 2013 14:06:17 +0200 (CEST) Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) by freya.das-netzwerkteam.de (Postfix) with ESMTPS id A25D1AF6; Mon, 5 Aug 2013 14:06:16 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 8E7C93BC35; Mon, 5 Aug 2013 14:06:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eCJqjqgprvuL; Mon, 5 Aug 2013 14:06:16 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 5FC273BF2A; Mon, 5 Aug 2013 14:06:16 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 494D03BC35; Mon, 5 Aug 2013 14:06:16 +0200 (CEST) Received: by grimnir.das-netzwerkteam.de (Postfix, from userid 33) id E6C523BF13; Mon, 5 Aug 2013 14:06:15 +0200 (CEST) Received: from m-047.informatik.uni-kiel.de (m-047.informatik.uni-kiel.de [134.245.254.47]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; Mon, 05 Aug 2013 14:06:15 +0200 Message-ID: <20130805140615.13575ubvqzmrfwhj@mail.das-netzwerkteam.de> X-Priority: 3 (Normal) Date: Mon, 05 Aug 2013 14:06:15 +0200 From: Mike Gabriel To: "Maciej S. Szmigiero" Cc: 285@bugs.x2go.org, control@bugs.x2go.org Subject: Re: Bug#285: keyboard layout selected in x2go client isn't applied to the session References: <51FEE7A9.7060001@maciej.szmigiero.name> <20130805121656.69992m0bdq7s0mu0@mail.das-netzwerkteam.de> <51FF88EE.30204@maciej.szmigiero.name> In-Reply-To: <51FF88EE.30204@maciej.szmigiero.name> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=_5a2et4h9ggmv"; protocol="application/pgp-signature"; micalg="pgp-sha1" Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.4) This message is in MIME format and has been PGP signed. --=_5a2et4h9ggmv Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit clone #285 -1 tag -1 - pending tag -1 - confirmed retitle #285 keyboard layout isn't applied to the session (when resuming) retitle -1 keyboard layout isn't applied to the session (when starting) thanks Hi Maciej, I will clone issue #285, so we have two issues: one for resuming (#285), one for starting new sessions. 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... > 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-/options file (on server-side) your ~/.x2go/C-/session.log Thanks, Mike -- DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb --=_5a2et4h9ggmv Content-Type: application/pgp-signature Content-Description: Digitale PGP-Unterschrift Content-Disposition: inline Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAABAgAGBQJR/5U3AAoJEJr0azAldxsxJJUP/3HxIDqDcN+yXUpxJ72LlidO /qwdaLdsmdsvNJoQxzcII2ITrQZhdLUNnsJXj8+71KoIftgIuJpBG/Wdz6NgzVIy 7kfgj6F4jmU1tXzZSMmv+rPErlPEEQLhdc7Z84kofyH787YUO54F8bcFxgE5IK3d A5356zqS5eSOJn970fWwrk2b94HwNAuyrhZtIms6/e4o2QqNNc+tHwWeLCerODHq EfjTTU4RHtev6tYekKxjTod3L3GXZ3MmS0S/JmMpl47t9rG6efHSYlIh6BGsRj5i 15/KW1On7m6dCXjyB6ENe/K7smsz+wbxnJEbWc9orTzXsa3JdsKX3kKCJ1zGmHdf V0fxP6FRT+kCTEAEwc5DxtAoekRzBbbIs8NyExHWj7J3ZwQixydKZ6YtDMFSCiKS bWWKZ+SVxNSyPTPHyyLEPfVxSjEMEQlYgV8P529nWDXeDF/GauZdXgMOVfVAOi/S slWNKXo7KFOJb6rdk6pJGRB01GzTPDlWGnFSv7+4D3rVmqndt/GwmB0sjBd3i2Vs l1QEvdRrZ5CKPKNq8fDfWdCJjHfszP9y9xn9tUHlSEFjW3y6gDu5q0TJxkp1u3Rb WSYM6oIagwZUjjolUNghTJbO54P0sR/F+B+UdutJkvReBLFPVGzoKTjnGp9BeEPg wzVe+3U59VIqcyyCDXD5 =9o8q -----END PGP SIGNATURE----- --=_5a2et4h9ggmv-- From mail@maciej.szmigiero.name Tue Aug 6 00:45:04 2013 Received: (at 286) by bugs.x2go.org; 5 Aug 2013 22:45:04 +0000 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 ) 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" 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 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-/options file (on server-side) > your ~/.x2go/C-/session.log > > Thanks, > Mike Thanks and best regards, Maciej Szmigiero