From mike.gabriel@das-netzwerkteam.de Fri Aug 2 09:39:07 2013 Received: (at submit) by bugs.x2go.org; 2 Aug 2013 07:39:08 +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 2C3865DB21 for ; Fri, 2 Aug 2013 09:39:07 +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 AD6E7C02 for ; Fri, 2 Aug 2013 09:39:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 992413BA14 for ; Fri, 2 Aug 2013 09:39:06 +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 GCOYVC-WZf1N for ; Fri, 2 Aug 2013 09:39:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 731383BB53 for ; Fri, 2 Aug 2013 09:39:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 5BE9C3BA14 for ; Fri, 2 Aug 2013 09:39:06 +0200 (CEST) Received: by grimnir.das-netzwerkteam.de (Postfix, from userid 33) id B96963BB53; Fri, 2 Aug 2013 09:39:04 +0200 (CEST) Received: from pD9E9E09B.dip0.t-ipconnect.de (pD9E9E09B.dip0.t-ipconnect.de [217.233.224.155]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; Fri, 02 Aug 2013 09:39:04 +0200 Message-ID: <20130802093904.21475jgecz6m8jdk@mail.das-netzwerkteam.de> X-Priority: 3 (Normal) Date: Fri, 02 Aug 2013 09:39:04 +0200 From: Mike Gabriel To: submit@bugs.x2go.org Subject: Use client-side LANG + LC_* settings in server session MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=_5gs3zsloj9co"; 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. --=_5gs3zsloj9co Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit Package: x2goclient Severity: wishlist Version: 4.0.1.0 X-Debbugs-CC: Kromitvs Autocolante Forwarding from Debian BTS to X2Go (upstream BTS)... Mike ----- Weitergeleitete Nachricht von adcromitus@gmail.com ----- Datum: Tue, 9 Jul 2013 01:59:58 +0100 Von: Kromitvs Autocolante Antwort an: Kromitvs Autocolante , 715422@bugs.debian.org Betreff: [pkg-x2go-devel] Bug#715422: x2goclient: Strange characters on terminal emulators An: Debian Bug Tracking System Package: x2goclient Version: 4.0.1.0-0~x2go1+squeeze~main~380~build1 Severity: normal Dear Maintainer, When I use a terminal shell emulator (konsole, xfce-emulator, etc) on the remote (server x2go), non-ascii characters (accented characters, for instance) are not well printed. The same thing happened when I ssh'ed to the same machine without "SendEnv LANG LC_*" in /etc/ssh/ssh_config. Adding this again solved the question. Executing locale on server terminal emulator results in all "POSIX", except for LANG which is not set. Best regards, -- System Information: Debian Release: 7.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=pt_PT.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages x2goclient depends on: ii libc6 2.13-38 ii libcups2 1.5.3-5 ii libgcc1 1:4.7.2-5 ii libldap-2.4-2 2.4.31-1+nmu2 ii libqt4-network 4:4.8.2+dfsg-11 ii libqt4-svg 4:4.8.2+dfsg-11 ii libqtcore4 4:4.8.2+dfsg-11 ii libqtgui4 4:4.8.2+dfsg-11 ii libssh-4 0.5.4-1 ii libstdc++6 4.7.2-5 ii libx11-6 2:1.5.0-1+deb7u1 ii libxpm4 1:3.5.10-1 ii nxproxy 2:3.5.0.20-0+squeeze~main~405~build1 ii openssh-client 1:6.0p1-4 Versions of packages x2goclient recommends: ii openssh-server 1:6.0p1-4 ii rdesktop 1.7.1-1 Versions of packages x2goclient suggests: pn pinentry-x2go -- no debconf information ----- Ende der weitergeleiteten Nachricht ----- -- 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 --=_5gs3zsloj9co 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+2IYAAoJEJr0azAldxsx3voP/RjKUeUONmSv4v0NIftpMBqq 0B5SQpk7WQCcfSEVtOyilolLgU8jX3mLEHr9c2tjQFw/4qmIdgNJKB+/OZkSqcAr Q7VM66lKs+P1a/mGiGJSbczpfTHmh+9yX3wTOTd9UZGM3qXNY4L6owbVPlkPjQz/ dg1S0irpVbWfE0gRcMmAzxyZNoyKtO1XrESm5SRAAw87YEM7QWRhdJMNRdJHKnbn rLB6sBOH82RV/f/NNNjTtnzeuJZ8LWf04SlOEoW+k2vHixOqt9JIcyy6s0o5/hd4 aBH41CMrzybAptVqnM/Go3lFjLNVohQm51CEVAR2uYD0t5A0WuGjPHox0c1xnPiq 6OPidygJJFXn1FVnfwjdhYujjkSeian9WVkcVD9JBXnpWlrahnjr32oQCseRnnCl b+7m7AIEWhbCYzZ5tGxAtAT2FteH6zk93rE/jF1bF12vyxM7dJD4CD1M8uGTG0zD jGnorw1NWseR//AwqaTnpNSho7w/Ucil69XzjUKx9cvRyikwFNYiqMA/+sSGKOyR pUGCNF8QLJ8OgOxUq4RiqDzYRWMrL3vIyr3N3cYcAr/5D+5aB7cisk6SZTlRdDCr y9WFyPZHV6PwE3d5izkZPD/p/AO8QYrt0+PQvITJJzuyz26FE/hO0zNetMrIoqY5 lDKNDarK4TYFTvIlT9BI =03RL -----END PGP SIGNATURE----- --=_5gs3zsloj9co-- From mike.gabriel@das-netzwerkteam.de Fri Aug 2 09:49:08 2013 Received: (at 282-quiet) by bugs.x2go.org; 2 Aug 2013 07:49:09 +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 DE2B35DB21 for <282-quiet@bugs.x2go.org>; Fri, 2 Aug 2013 09:49:08 +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 AD81AC02 for <282-quiet@bugs.x2go.org>; Fri, 2 Aug 2013 09:49:08 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id A6F013BA14 for <282-quiet@bugs.x2go.org>; Fri, 2 Aug 2013 09:49:08 +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 6E00-Pugcdfu for <282-quiet@bugs.x2go.org>; Fri, 2 Aug 2013 09:49:08 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 7BA143BCDB for <282-quiet@bugs.x2go.org>; Fri, 2 Aug 2013 09:49:08 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 42BB13BA14 for <282-quiet@bugs.x2go.org>; Fri, 2 Aug 2013 09:49:08 +0200 (CEST) Received: by grimnir.das-netzwerkteam.de (Postfix, from userid 33) id E14503BCD8; Fri, 2 Aug 2013 09:49:07 +0200 (CEST) Received: from pD9E9E09B.dip0.t-ipconnect.de (pD9E9E09B.dip0.t-ipconnect.de [217.233.224.155]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; Fri, 02 Aug 2013 09:49:07 +0200 Message-ID: <20130802094907.16096ndakz37h1f7@mail.das-netzwerkteam.de> X-Priority: 3 (Normal) Date: Fri, 02 Aug 2013 09:49:07 +0200 From: Mike Gabriel To: x2go-dev@lists.berlios.de Cc: 282-quiet@bugs.x2go.org Subject: Feature proposal for ~/.x2goclient/sessions MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=_6kulwrhymjxv"; 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. --=_6kulwrhymjxv Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit Hi all, we received a feedback from a Debian user of X2Go who suggests to push the locale settings from the client to the server on the start of an X2Go session. I would like to introduce a new parameter for ~/.x2goclient/sessions: setlocale = {true|false} The default will be false (to not break current setups). Feedback, comments? 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 --=_6kulwrhymjxv 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+2RzAAoJEJr0azAldxsxtK0P/3gw8W4K0FiU6WeVdWGJpTxX B9/yNIbzjCsF2sSUdgdFCeYYXXB2zP8whk+XSoGNbZgr8RDjgJVT8q43ldiYOfyy ON3y/cdtCfsK6umnj4Qtc/CVqiYdnfeWhfpGfzD1ntFFU/s9s4GDchNIzH4fNt4I DIBJVE4VEDJ2SYBJO5/cZQ0EG1yfupo9WJBOWmPf3b+uF7Oue1QuwflpTAwiBLKm 9P1dKV1x6p35aGEvYLhlHJ7xedZt6S127jQsPnUjyyjdtmgbPKUuNVa03ubnDlM2 6OzATbrPUSFdrau6lkkjogPhEUnb0w8rm3JiHXBGj+E1vcoi0pPTeOZ3SBakTFrI oBSGBSFjAvA+nD95X6Yvp1FI/GhXNQWPEaM0xePjTVGmRu5u5OXWRTmdE3oxkqag O0YACsmmxjp9LshzQLUgWTsbRJKqZZ8EekXtkyRSvyqOIWsJoLECkXF4BnU8aWGY LcOkdAJRP8grI7Ua2dZV5BNZxNp13xkkFSjZe0Ly/fwh9X+K0xvXTOubl/P8Z0m5 +B50LVLLhxXMaSua3ZKGQKNm5U3Iq7HL9rNSImUkwVI54WrSizf4GiNW24wFwZkR 8z3/pjw8kveuJEvvgmjRSzQP2u32r8YwIJ94nSHf9dQOX7ffBko3Dr1UH6fvLRUk 1vshkX+b6M/1dOgYE4XR =uTK1 -----END PGP SIGNATURE----- --=_6kulwrhymjxv-- From ionic@ionic.de Sun Nov 23 22:59:59 2014 Received: (at 282) by bugs.x2go.org; 23 Nov 2014 22:00:01 +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.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=ham version=3.3.2 X-Greylist: delayed 500 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Sun, 23 Nov 2014 22:59:59 CET Received: from Root24.de (powered.by.root24.eu [5.135.3.88]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 5ED7B5E0AB for <282@bugs.x2go.org>; Sun, 23 Nov 2014 22:59:59 +0100 (CET) Received: from nopileos.local (nopileos.ip6.wifi.local.home.ionic.de [IPv6:2a01:4f8:d16:601:fa1e:dfff:fedd:1f7]) by mail.ionic.de (Postfix) with ESMTPSA id 1855C4F0005D; Sun, 23 Nov 2014 22:51:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default; t=1416779499; bh=gSGaoo8SDkY/WjA//qojNgmV5PzpKYRPJqFlmts1+uw=; h=Date:From:To:Subject:References:In-Reply-To:From; b=ooHG2HIQ7Wa45g9CB64nSGCzcWsZSfdIoQ2CWPbt3qr48MeSD2AvPoYsCSi5X3+V8 +gfhTMDnLOVYNTU2kSxrG2ucjDwq897mjNuRrFcBwW8bWWT9dZfMyC0jxEoFkKftsx 8Aeb9Ighd35cv3MnzdpsLILH7wbAPT6/d1fhVNDg= Message-ID: <547256E8.8030103@ionic.de> Date: Sun, 23 Nov 2014 22:51:36 +0100 From: Mihai Moldovan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Mike Gabriel , 282@bugs.x2go.org Subject: Re: [X2Go-Dev] Bug#282: Use client-side LANG + LC_* settings in server session References: <20130802093904.21475jgecz6m8jdk@mail.das-netzwerkteam.de> In-Reply-To: <20130802093904.21475jgecz6m8jdk@mail.das-netzwerkteam.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 02.08.2013 09:39 am, Mike Gabriel wrote: > When I use a terminal shell emulator (konsole, xfce-emulator, etc) on t= he > remote (server x2go), non-ascii characters (accented characters, for > instance) are not well printed. > > The same thing happened when I ssh'ed to the same machine without "Send= Env > LANG LC_*" in /etc/ssh/ssh_config. Adding this again solved the questio= n. > > Executing locale on server terminal emulator results in all "POSIX", ex= cept > for LANG which is not set. This is strictly speaking NOT an x2go bug, but the way shells work. We can workaround this using Mike's proposal and I'd second this. Technical details: x2go connects via SSH and runs shell scripts. Those sp= awned shells are non-interactive due to the fact that any of standard output or= standard error are not connected to a terminal. (man bash: "An interactive shell is one started without non-option argume= nts and without the -c option whose standard input and error are both connected t= o terminals (as determined by isatty(3)), or one started with the -i option= =2E" A non-interactive shell is therefore (-i option aside) a shell started wi= th non-option arguments or with the -c option or whose standard input or err= or are not connected to terminals.) POSIX definitions ( http://pubs.opengroup.org/onlinepubs/9699919799/utilities/sh.html ) do no= t require a shell to read any file at startup, but won't forbid it. This is= simply not mentioned at all. bash enters POSIX conformity mode when started as "sh" and will *not* rea= d any files on startup. This is especially true for /etc/profile. If it is spawned as "bash" in non-POSIX conformity mode, it will still *n= ot* read /etc/profile for non-interactive shells. Mihai -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCgAGBQJUclbmAAoJEB/WLtluJTqHWtgP/i/ab6XrMlbKXMe7TOFTF/Og 92+c2wdmMj3T99JrC9v+qGnqdAukh3tFv6k5FTxcXH+5tDOMhi4isnNTlJTnAnOe hbr2F8qo4KgPBFMXbr97KgIVUzQXgl/aBdjIxLuWv6BPKvXUVpzzqSpODyG9JDSp zCBaQCv2z90Qb1t8MjEhtbF4yA0tYd9+3j7jh0EbRzocVW8BRQaO3D1YTjQiKkHk rhzr8CqbytPabhkW6IFrnwaATS6pst62uB2jvJFeXNJ44BNZNqin0Gm0pKOaE1BU IoW8Ds274JyrC5ZR5FifDAXA8h6MxVZEdJiQUe1hko16LCtW4r82Ba7bc1Un1STv pb5E6se+OMRQ9dbz+JfuQnCpS1mE5ZlbZQ1t8JH9oqi07FaienXBUDNIyiCviddG hI+cF7W6X/cclzF//SDZ5Gck43qBy8njcX2PPViuXJ6hlXDw18/CmcpBxxMPj2V+ I1HsrBWZJ0k1fItKOKg/6uOlTSnJGiZAD2ulqmwltZEgplDf/OiysIxflM9XfgrJ FnYc+mz4xmFXnUg2NPsccEXob+nDmMl5dikaIFNZpd5mmHAxRlOkBzvfs6af/3u/ TUO4qNrjGSyvJ4RGb2FPbbE+nS3kproltIwYU4OqLMd7fYRWTwL/8SuIlgoi/+7C HBb0dLVOwxCqOGl0PtMb =3DYv28 -----END PGP SIGNATURE-----