From bruno.capeleto@abcreseau.com Tue Sep 5 09:28:38 2017 Received: (at 1200) by bugs.x2go.org; 5 Sep 2017 07:28:41 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HTML_MESSAGE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.1 Received: from localhost (localhost [127.0.0.1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 1324B5DACB for <1200@bugs.x2go.org>; Tue, 5 Sep 2017 09:28:38 +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 z3UxhoO8Q_vi for <1200@bugs.x2go.org>; Tue, 5 Sep 2017 09:28:33 +0200 (CEST) Received: from mail-vk0-x231.google.com (mail-vk0-x231.google.com [IPv6:2607:f8b0:400c:c05::231]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id D65D05DAC8 for <1200@bugs.x2go.org>; Tue, 5 Sep 2017 09:28:32 +0200 (CEST) Received: by mail-vk0-x231.google.com with SMTP id t10so5500503vke.0 for <1200@bugs.x2go.org>; Tue, 05 Sep 2017 00:28:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=abcreseau-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=uPmS5JdO2H21WD6IbOvyQNR5Ukbua41kpYWSvrpSYpM=; b=1mtvrOg7VRkAgN8sc1mlqoXpkLMnxpUhj6cGhpRKdiULh6LQcGVaCDQSMkOK5UBJCX gA0rG/xpRaDJkfkBeBePTL3jMn7OGGtZE8VhjXF1xoBvu33QSbINL/kF2EJDEbbTQNpl jwlreZ2SJrQcUOOXuzNNiVfx1iR6guslsJtsp50JImFlf5HGRJF549oMT4YRRtkjQXF4 vy/XZtwLSOOI2g7fBVoGHupDwRrMav0jzDKD2kLOaHXaAtv32mj3Qe+/EP88e2jejrER Dnwpo2bOCq2wgJ6THQEOu2opykoJG93/fu7b1rx6fV9FG1buVQS0WogWdHDAop5wioqy noJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=uPmS5JdO2H21WD6IbOvyQNR5Ukbua41kpYWSvrpSYpM=; b=DLCP4SSwVFwR3sKb72PcxuFDpnL+NzlgxXIQ1w4Mgj7NsvtZBK34Py3EmygZTJx5pH HQP4czTW0As02LIRtzyajr8+v69qa1Ni4iPBIBkgWBOpy1dC+yayt0ewgOGu749V0IVF 949qSbVAHpKWPZ3sBnpgfSL12FfePbt2JsoO8BL/eNHM4zbaNa97bY64I1r2x5MQX8EE Idc4s8Wn2+SNL09mFmDt7452bJU4oNFAOJiUBEhzx9468AdcftgN6oSZpUoma3irHKCz N871TTyoqAZwYkj3kWWE2kx2neBH/mbAkcFAqm9mzZK+5lB9S7oLslnRsrVyyf9fPuYX aRoA== X-Gm-Message-State: AHPjjUhOCVnof+jF28zeSBPo4uUl6a6lZQsCCgLkU50cZ3ikmbJt4APr uJkISQc3bcgrTDvpr7GUgPpCM2+6CIit X-Google-Smtp-Source: ADKCNb4GljMPNfBehGQIKmeUfgq4av/Mf+YX9Ou5gMgTRQCRKaVGSGFm4AqDBrsEZA7TMlsqRzxHh7Zulq1/0AwxTOg= X-Received: by 10.31.4.201 with SMTP id 192mr1309058vke.88.1504596511363; Tue, 05 Sep 2017 00:28:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.94.214 with HTTP; Tue, 5 Sep 2017 00:28:30 -0700 (PDT) X-Originating-IP: [78.233.84.236] In-Reply-To: References: <5e2e5f4b-b445-09d5-1834-ad53f845a03e@ionic.de> <21445d8f-0208-1d84-b664-0ad6fc3c31cf@ionic.de> <59ae4597.06981c0a.d2c4b.2b4d@mx.google.com> From: Bruno CAPELETO Date: Tue, 5 Sep 2017 09:28:30 +0200 Message-ID: Subject: Re: [X2Go-Dev] Bug#1200: Bug#1200: Environment variables not set To: Bruno CAPELETO , 1200@bugs.x2go.org Cc: Ulrich Sibiller , Mihai Moldovan Content-Type: multipart/alternative; boundary="001a113a5faa97344805586c2cb9" --001a113a5faa97344805586c2cb9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The issue came from my home-made sshd_config file. I still work it up and will give here the solution in a few minutes. 2017-09-05 9:07 GMT+02:00 Bruno CAPELETO : > I did dpkg-reconfigure locales as root. > > Then I get : > > ~# locale > LANG=3Dfr_FR.UTF-8 > LANGUAGE=3D > LC_CTYPE=3D"fr_FR.UTF-8" > LC_NUMERIC=3D"fr_FR.UTF-8" > LC_TIME=3D"fr_FR.UTF-8" > LC_COLLATE=3D"fr_FR.UTF-8" > LC_MONETARY=3D"fr_FR.UTF-8" > LC_MESSAGES=3D"fr_FR.UTF-8" > LC_PAPER=3D"fr_FR.UTF-8" > LC_NAME=3D"fr_FR.UTF-8" > LC_ADDRESS=3D"fr_FR.UTF-8" > LC_TELEPHONE=3D"fr_FR.UTF-8" > LC_MEASUREMENT=3D"fr_FR.UTF-8" > LC_IDENTIFICATION=3D"fr_FR.UTF-8" > LC_ALL=3D > > > But when I ssh with my user login (my x2go user), I get : > > ~#locale > LANG=3D > LANGUAGE=3D > LC_CTYPE=3D"POSIX" > LC_NUMERIC=3D"POSIX" > LC_TIME=3D"POSIX" > LC_COLLATE=3D"POSIX" > LC_MONETARY=3D"POSIX" > LC_MESSAGES=3D"POSIX" > LC_PAPER=3D"POSIX" > LC_NAME=3D"POSIX" > LC_ADDRESS=3D"POSIX" > LC_TELEPHONE=3D"POSIX" > LC_MEASUREMENT=3D"POSIX" > LC_IDENTIFICATION=3D"POSIX" > LC_ALL=3D > > > Obviously the dpkg-reconfigure locales did not set the locales system-wid= e. > I am working in this direction, still any help is appreciated (even if it > now looks like a ssh/locales-related issue...) > > > 2017-09-05 8:35 GMT+02:00 Ulrich Sibiller : > >> Maybe you could provide a VM with the non-working Installation so we can >> have a look at it. >> >> Uli >> ------------------------------ >> Von: Bruno CAPELETO >> Gesendet: =E2=80=8E05.=E2=80=8E09.=E2=80=8E2017 08:10 >> An: Mihai Moldovan >> Cc: 1200@bugs.x2go.org >> Betreff: [X2Go-Dev] Bug#1200: Environment variables not set >> >> Dear Mihai, >> >> What good piece of news to start the day with !!! >> >> So you do not see that "bug" on a fresh install. Unfortunately I see it, >> and also on a fresh install. It is even worse : I see it on 3 fresh serv= er >> installs : >> - Ubuntu 14.04.4 LTS (old installation) >> - Debian GNU/Linux 8 >> - Debian GNU/Linux 9 >> >> So it seems that I do not install the same way as the others. Let me giv= e >> the details : >> - installation in text mode (as these are remote servers) >> - installation of LXDE *only* (tasksel : LXDE and ssh) >> - installation of X2Go >> >> On the 2 systems I could test locally (Debian 8 and Debian 9), the Frenc= h >> locales are set properly when the user starts a local X session (the men= u >> is in French). >> However, on a remote X2Go session, the menu always appears in English (n= o >> need to start the software). >> >> Thanks for your help, >> Bruno >> >> 2017-09-05 5:34 GMT+02:00 Mihai Moldovan : >> >>> On 09/04/2017 05:44 PM, Bruno CAPELETO wrote: >>> > People in Laurux's forum have reported this software works in single >>> app mode >>> > but on an Ubuntu server. >>> >>> Okay, I have just tried to reproduce your issues in a new, fresh Debian >>> Stretch >>> VM. Only installed the core system, x2goserver, x2goserver-xsession, >>> lxde and >>> gambas3. >>> >>> Then (since I installed the system using the en_US.utf8 locale), ran >>> dpkg-reconfigure locales, selected fr_FR.* to be generated and set the >>> default >>> locale to fr_FR.utf8. >>> >>> Started up a new X2Go session (desktop session, LXDE) and was greeted b= y >>> a >>> French-speaking LXDE instance (with some English text from the clipboar= d >>> manager, that does not seem to have a French localization. No problem.) >>> >>> Afterwards, started gambas3 in the LXDE desktop session. Worked fine. >>> And showed >>> up in French. >>> >>> >>> Next up: started gambas3 in single application mode. Came up fine and i= n >>> French. >>> >>> >>> And just for fun, I then went on, downloaded Laurux3.tar.gz from the >>> website >>> (since this software doesn't seem to be packaged within Debian >>> directly...), >>> installed gambas3-gb-qt4 and gambas3-gb-qt4-ext (since it looked like >>> these >>> modules were missing) and started Laurux3.gambas in the LXDE instance. = It >>> greeted me in French with a dialog to setup MySQL. I skipped this and >>> Gambas3-Laurux started up. Again, everything was in French. >>> >>> Last thing: started /home/ionic/applications/Laurux3/Laurux3.gambas >>> (obviously >>> the path I extracted it to) in a single application session. Again, I w= as >>> greeted by the dialog to create a MySQL database. Skipped this, and >>> Laurux-Gambas came up. All in French. It looked weird, but that's >>> because in >>> single application mode, we don't yet have an XSETTINGS daemon running >>> that >>> would enable Qt4 to look up its theme settings, so a ugly fallback them= e >>> is >>> being used by default. >>> >>> >>> So far, I'm unable to reproduce any issue (and curiously, the Laurux >>> version >>> from their homepage seems to be using Qt4 instead of Qt5 as well, so I >>> wonder >>> how you came up with Qt4 before.) >>> >>> I wasn't able to test the double-clicking issue, since all tests were >>> carried >>> out using X2Go Client on Linux. >>> >>> >>> I'd like to understand why your env variables are not being set >>> correctly, but >>> it doesn't seem to be systematic X2Go bug. With a cleanly installed >>> system, this >>> does not seem to happen. >>> >>> >>> >>> Mihai >>> >>> >> > > _______________________________________________ > x2go-dev mailing list > x2go-dev@lists.x2go.org > https://lists.x2go.org/listinfo/x2go-dev > --001a113a5faa97344805586c2cb9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The issue came from my home-made sshd_config file.

I still work it up and will give here the solution i= n a few minutes.


2017-09-05 9= :07 GMT+02:00 Bruno CAPELETO <bruno.capeleto@abcreseau.com&= gt;:
I did d= pkg-reconfigure locales as root.

Then I get :<= /div>

~# locale
LANG=3Dfr_FR.UTF-8
<= div>LANGUAGE=3D
LC_CTYPE=3D"fr_FR.UTF-8"
LC_N= UMERIC=3D"fr_FR.UTF-8"
LC_TIME=3D"fr_FR.UTF-8"= ;
LC_COLLATE=3D"fr_FR.UTF-8"
LC_MONETARY=3D&q= uot;fr_FR.UTF-8"
LC_MESSAGES=3D"fr_FR.UTF-8"
=
LC_PAPER=3D"fr_FR.UTF-8"
LC_NAME=3D"fr_FR.UTF= -8"
LC_ADDRESS=3D"fr_FR.UTF-8"
LC_TELEPH= ONE=3D"fr_FR.UTF-8"
LC_MEASUREMENT=3D"fr_FR.UTF-8&= quot;
LC_IDENTIFICATION=3D"fr_FR.UTF-8"
= LC_ALL=3D


But when I ssh with= my user login (my x2go user), I get :

~#locale
LANG=3D
LANGUAGE=3D
LC_CTYPE=3D"POSIX= "
LC_NUMERIC=3D"POSIX"
LC_TIME=3D"P= OSIX"
LC_COLLATE=3D"POSIX"
LC_MONETARY= =3D"POSIX"
LC_MESSAGES=3D"POSIX"
LC= _PAPER=3D"POSIX"
LC_NAME=3D"POSIX"
= LC_ADDRESS=3D"POSIX"
LC_TELEPHONE=3D"POSIX"
LC_MEASUREMENT=3D"POSIX"
LC_IDENTIFICATION=3D&= quot;POSIX"
LC_ALL=3D


Obviously the dpkg-reconfigure locales did not set the l= ocales system-wide.
I am working in this di= rection, still any help is appreciated (even if it now looks like a ssh/loc= ales-related issue...)


2017-09-05 8:35 G= MT+02:00 Ulrich Sibiller <ulrich.sibiller@gmail.com>= :
Maybe you could provide = a VM with the non-working Installation so we can have a look at it.

= Uli

Von: Bruno CAPELETO
Gesendet: =E2=80= =8E05.=E2=80=8E09.=E2=80=8E2017 08:10
An: Mihai Moldovan
Cc: 1200@bugs.x2go.org

Betreff: [X2Go-Dev] Bug#1200: Environment variables not set

Dear M= ihai,

What good piece of news to start the day with !!!<= /div>

So you do not see that "bug" on a fresh = install. Unfortunately I see it, and also on a fresh install. It is even wo= rse : I see it on 3 fresh server installs :
-=C2=A0Ubuntu 14.04.4= LTS (old installation)
-=C2=A0Debian GNU/Linux 8
-=C2= =A0Debian GNU/Linux 9

So it seems that I do not in= stall the same way as the others. Let me give the details :
- ins= tallation in text mode (as these are remote servers)
- installati= on of LXDE only=C2=A0(tasksel : LXDE and ssh)
- installation of X2Go

=
On the 2 systems I could test locally (Debian 8 = and Debian 9), the French locales are set properly when the user starts a l= ocal X session (the menu is in French).
How= ever, on a remote X2Go session, the menu always appears in English (no need= to start the software).

Thanks for your help,
Br= uno

=
2017-09-05 5:34 GMT+02:00 Mihai Moldovan <= span dir=3D"ltr"><io= nic@ionic.de>:
On 09/04/2017 05:44 PM, Bruno CAPELETO wrote:
> People in Laurux's forum have reported this software works in sing= le app mode
> but on an Ubuntu server.

Okay, I have just tried to reproduce your issues in a new, fresh Debian Str= etch
VM. Only installed the core system, x2goserver, x2goserver-xsession, lxde a= nd
gambas3.

Then (since I installed the system using the en_US.utf8 locale), ran
dpkg-reconfigure locales, selected fr_FR.* to be generated and set the defa= ult
locale to fr_FR.utf8.

Started up a new X2Go session (desktop session, LXDE) and was greeted by a<= br> French-speaking LXDE instance (with some English text from the clipboard manager, that does not seem to have a French localization. No problem.)

Afterwards, started gambas3 in the LXDE desktop session. Worked fine. And s= howed
up in French.


Next up: started gambas3 in single application mode. Came up fine and in Fr= ench.


And just for fun, I then went on, downloaded Laurux3.tar.gz from the websit= e
(since this software doesn't seem to be packaged within Debian directly= ...),
installed gambas3-gb-qt4 and gambas3-gb-qt4-ext (since it looked like these=
modules were missing) and started Laurux3.gambas in the LXDE instance. It greeted me in French with a dialog to setup MySQL. I skipped this and
Gambas3-Laurux started up. Again, everything was in French.

Last thing: started /home/ionic/applications/Laurux3/Laurux3.gambas (o= bviously
the path I extracted it to) in a single application session. Again, I was greeted by the dialog to create a MySQL database. Skipped this, and
Laurux-Gambas came up. All in French. It looked weird, but that's becau= se in
single application mode, we don't yet have an XSETTINGS daemon running = that
would enable Qt4 to look up its theme settings, so a ugly fallback theme is=
being used by default.


So far, I'm unable to reproduce any issue (and curiously, the Laurux ve= rsion
from their homepage seems to be using Qt4 instead of Qt5 as well, so I wond= er
how you came up with Qt4 before.)

I wasn't able to test the double-clicking issue, since all tests were c= arried
out using X2Go Client on Linux.


I'd like to understand why your env variables are not being set correct= ly, but
it doesn't seem to be systematic X2Go bug. With a cleanly installed sys= tem, this
does not seem to happen.



Mihai




_______________________________________________
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev

--001a113a5faa97344805586c2cb9--