From unknown Tue May 19 04:33:19 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#1200: [X2Go-Dev] Bug#1200: Environment variables not set
Reply-To: Bruno CAPELETO <bruno.capeleto@abcreseau.com>, 1200@bugs.x2go.org
Resent-From: Bruno CAPELETO <bruno.capeleto@abcreseau.com>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Tue, 05 Sep 2017 07:10:01 +0000
Resent-Message-ID: <handler.1200.B1200.150459527915621@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 1200
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: 
Received: via spool by 1200-submit@bugs.x2go.org id=B1200.150459527915621
          (code B ref 1200); Tue, 05 Sep 2017 07:10:01 +0000
Received: (at 1200) by bugs.x2go.org; 5 Sep 2017 07:07:59 +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 C20A35DACF
	for <1200@bugs.x2go.org>; Tue,  5 Sep 2017 09:07:46 +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 uQ7KROwsK77U for <1200@bugs.x2go.org>;
	Tue,  5 Sep 2017 09:07:41 +0200 (CEST)
Received: from mail-ua0-x229.google.com (mail-ua0-x229.google.com [IPv6:2607:f8b0:400c:c08::229])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 802FF5DAC8
	for <1200@bugs.x2go.org>; Tue,  5 Sep 2017 09:07:41 +0200 (CEST)
Received: by mail-ua0-x229.google.com with SMTP id s15so6305623uag.1
        for <1200@bugs.x2go.org>; Tue, 05 Sep 2017 00:07:41 -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=1Z/gnRl+scemGSkFT86siqG3jKet+L6sp09UpawOeas=;
        b=tc371rc78DPewgV8U6AT3QtDeDEuMOHiotGEUv3yCMdRfVeRm5HD9KW2lStJjDKUTU
         ETy7bgBlK6AbwZtwgEZuFmEIX3agev3NMcB+xBPL2CFoTgP96eeV9NVjX5BM9/0z2HVR
         hRX2yc2NqBjP2Q40BldToj6RXkIy/XFDXDsO7I2MLBcSvq8UNgod0uhh/XbKcfBiToVf
         7mtMpf3Zt/78h69w/rgzJCfPdVFkMSXUhp4bq7yKqqKVnmm3fW+iiiK05btzkegxE5QA
         dr0dsQ9vuYe3BvLMcx1uVQz0uBlQjk8ShMH0iVFQGzwTMkf/j4XKgK2Oi+Z2g06bGGIr
         /dUw==
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=1Z/gnRl+scemGSkFT86siqG3jKet+L6sp09UpawOeas=;
        b=Dc780TkmJ11LZY3l0TJKuKnHQPQqRfAdgSD8WGy0Vp4yVmHA6BmrUJK3VsyP6MS5Fs
         hYlzdvO0322MCAsUUKXN+3PwayeQFRGIP13bELxQM7mUtd2UEGNoRvqTbqKP4ymvf4mz
         7RB8J32O4ar2CiiVGw1CSJP1qDk7TDeuGcm5WeTCwlwroQozmNMOWjRNv3utB5It5Bwn
         JfxyUhxKgZ0aSs0wWR0X2h+eTeWKOBHTjfRPb0n8eC1VYR6NplPRvjucX4bFe9fe0YL0
         S53dRXxavjXtVC+4+bDFTVyyPu866UtXIKlewpxmqZXkChh1XFXaW5pDB1+fJJdniZDI
         4Elg==
X-Gm-Message-State: AHPjjUif6qmscNbvL1VLPtNy+pmkGumVO35oEA45tFd1NMLh6TnslX4B
	Imgvc8Wf6v2dI4I67EsM2TCxoxayR2xg
X-Google-Smtp-Source: ADKCNb5BWWoi8NiqnOcbC6EIJ2BcpW7kroixyIzhyXz7PjpojQl/1BzJgSJxBJIcbFygmm5znOhBQouTDuTgGvTuMdc=
X-Received: by 10.176.69.69 with SMTP id r63mr1936449uar.200.1504595260310;
 Tue, 05 Sep 2017 00:07:40 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.94.214 with HTTP; Tue, 5 Sep 2017 00:07:39 -0700 (PDT)
X-Originating-IP: [78.233.84.236]
In-Reply-To: <59ae4597.06981c0a.d2c4b.2b4d@mx.google.com>
References: <CABa3fk4QCDwjuqZbXPzMWDqd0vrpJGVYAEZzm1VBKoAis8n=zg@mail.gmail.com>
 <5e2e5f4b-b445-09d5-1834-ad53f845a03e@ionic.de> <CABa3fk7jruJbtVzhC=zUd1gcVwJr88inRvX-z8e9N_gkLZ9tew@mail.gmail.com>
 <CABa3fk5qReW5skVWqahTTmYyyNy-hN8Op1qU4n15zO2jJz9YeQ@mail.gmail.com>
 <21445d8f-0208-1d84-b664-0ad6fc3c31cf@ionic.de> <CABa3fk6xixQ1xvPQDNaekQ_XWbpQtKHBYJa3zSfADfA9-aznHw@mail.gmail.com>
 <59ae4597.06981c0a.d2c4b.2b4d@mx.google.com>
From: Bruno CAPELETO <bruno.capeleto@abcreseau.com>
Date: Tue, 5 Sep 2017 09:07:39 +0200
Message-ID: <CABa3fk7B4o54NigPNXB=RD-XcUu_foin6+LhSQDZC5jw=bNNtQ@mail.gmail.com>
To: Ulrich Sibiller <ulrich.sibiller@gmail.com>
Cc: 1200@bugs.x2go.org, Mihai Moldovan <ionic@ionic.de>
Content-Type: multipart/alternative; boundary="94eb2c07e22c05aef205586be282"

--94eb2c07e22c05aef205586be282
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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-wide.
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 <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 <bruno.capeleto@abcreseau.com>
> Gesendet: =E2=80=8E05.=E2=80=8E09.=E2=80=8E2017 08:10
> An: Mihai Moldovan <ionic@ionic.de>
> 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 serve=
r
> 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 give
> 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 French
> locales are set properly when the user starts a local X session (the menu
> is in French).
> However, on a remote X2Go session, the menu always appears in English (no
> need to start the software).
>
> Thanks for your help,
> Bruno
>
> 2017-09-05 5:34 GMT+02:00 Mihai Moldovan <ionic@ionic.de>:
>
>> 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, lxd=
e
>> 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 by=
 a
>> 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. An=
d
>> showed
>> up in French.
>>
>>
>> Next up: started gambas3 in single application mode. Came up fine and in
>> 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. I=
t
>> 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 wa=
s
>> 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 becaus=
e
>> 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
>> 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
>>
>>
>

--94eb2c07e22c05aef205586be282
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I did dpkg-reconfigure locales as root.<br></div><div=
><br></div><div>Then I get :</div><div><br></div><div><div>~# locale</div><=
div>LANG=3Dfr_FR.UTF-8</div><div>LANGUAGE=3D</div><div>LC_CTYPE=3D&quot;fr_=
FR.UTF-8&quot;</div><div>LC_NUMERIC=3D&quot;fr_FR.UTF-8&quot;</div><div>LC_=
TIME=3D&quot;fr_FR.UTF-8&quot;</div><div>LC_COLLATE=3D&quot;fr_FR.UTF-8&quo=
t;</div><div>LC_MONETARY=3D&quot;fr_FR.UTF-8&quot;</div><div>LC_MESSAGES=3D=
&quot;fr_FR.UTF-8&quot;</div><div>LC_PAPER=3D&quot;fr_FR.UTF-8&quot;</div><=
div>LC_NAME=3D&quot;fr_FR.UTF-8&quot;</div><div>LC_ADDRESS=3D&quot;fr_FR.UT=
F-8&quot;</div><div>LC_TELEPHONE=3D&quot;fr_FR.UTF-8&quot;</div><div>LC_MEA=
SUREMENT=3D&quot;fr_FR.UTF-8&quot;</div><div>LC_IDENTIFICATION=3D&quot;fr_F=
R.UTF-8&quot;</div><div>LC_ALL=3D</div></div><div><br></div><div><br></div>=
<div>But when I ssh with my user login (my x2go user), I get :</div><div><b=
r></div><div>~#locale</div><div><div>LANG=3D</div><div>LANGUAGE=3D</div><di=
v>LC_CTYPE=3D&quot;POSIX&quot;</div><div>LC_NUMERIC=3D&quot;POSIX&quot;</di=
v><div>LC_TIME=3D&quot;POSIX&quot;</div><div>LC_COLLATE=3D&quot;POSIX&quot;=
</div><div>LC_MONETARY=3D&quot;POSIX&quot;</div><div>LC_MESSAGES=3D&quot;PO=
SIX&quot;</div><div>LC_PAPER=3D&quot;POSIX&quot;</div><div>LC_NAME=3D&quot;=
POSIX&quot;</div><div>LC_ADDRESS=3D&quot;POSIX&quot;</div><div>LC_TELEPHONE=
=3D&quot;POSIX&quot;</div><div>LC_MEASUREMENT=3D&quot;POSIX&quot;</div><div=
>LC_IDENTIFICATION=3D&quot;POSIX&quot;</div><div>LC_ALL=3D</div></div><div>=
<br></div><br><div class=3D"gmail_extra">Obviously the dpkg-reconfigure loc=
ales did not set the locales system-wide.</div><div class=3D"gmail_extra">I=
 am working in this direction, still any help is appreciated (even if it no=
w looks like a ssh/locales-related issue...)</div><div class=3D"gmail_extra=
"><br clear=3D"all"><div><div class=3D"gmail_signature"><div dir=3D"ltr"><d=
iv><br></div></div></div></div><div class=3D"gmail_quote">2017-09-05 8:35 G=
MT+02:00 Ulrich Sibiller <span dir=3D"ltr">&lt;<a href=3D"mailto:ulrich.sib=
iller@gmail.com" target=3D"_blank">ulrich.sibiller@gmail.com</a>&gt;</span>=
:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo=
rder-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div style=
=3D"font-family:Calibri,sans-serif;font-size:11pt">Maybe you could provide =
a VM with the non-working Installation so we can have a look at it.<br><br>=
Uli</div></div><div dir=3D"ltr"><hr><span style=3D"font-family:Calibri,sans=
-serif;font-size:11pt;font-weight:bold">Von: </span><span style=3D"font-fam=
ily:Calibri,sans-serif;font-size:11pt"><a href=3D"mailto:bruno.capeleto@abc=
reseau.com" target=3D"_blank">Bruno CAPELETO</a></span><br><span style=3D"f=
ont-family:Calibri,sans-serif;font-size:11pt;font-weight:bold">Gesendet: </=
span><span style=3D"font-family:Calibri,sans-serif;font-size:11pt">=E2=80=
=8E05.=E2=80=8E09.=E2=80=8E2017 08:10</span><br><span style=3D"font-family:=
Calibri,sans-serif;font-size:11pt;font-weight:bold">An: </span><span style=
=3D"font-family:Calibri,sans-serif;font-size:11pt"><a href=3D"mailto:ionic@=
ionic.de" target=3D"_blank">Mihai Moldovan</a></span><br><span style=3D"fon=
t-family:Calibri,sans-serif;font-size:11pt;font-weight:bold">Cc: </span><sp=
an style=3D"font-family:Calibri,sans-serif;font-size:11pt"><a href=3D"mailt=
o:1200@bugs.x2go.org" target=3D"_blank">1200@bugs.x2go.org</a></span><br><s=
pan style=3D"font-family:Calibri,sans-serif;font-size:11pt;font-weight:bold=
">Betreff: </span><span style=3D"font-family:Calibri,sans-serif;font-size:1=
1pt">[X2Go-Dev] Bug#1200: Environment variables not set</span><br><br></div=
><div><div class=3D"gmail-h5"><div dir=3D"ltr">Dear Mihai,<div><br></div><d=
iv>What good piece of news to start the day with !!!</div><div><br></div><d=
iv>So you do not see that &quot;bug&quot; on a fresh install. Unfortunately=
 I see it, and also on a fresh install. It is even worse : I see it on 3 fr=
esh server installs :</div><div>-=C2=A0Ubuntu 14.04.4 LTS (old installation=
)</div><div>-=C2=A0Debian GNU/Linux 8</div><div>-=C2=A0Debian GNU/Linux 9</=
div><div><br></div><div>So it seems that I do not install the same way as t=
he others. Let me give the details :</div><div>- installation in text mode =
(as these are remote servers)</div><div>- installation of LXDE <u>only</u>=
=C2=A0(tasksel : LXDE and ssh)</div><div class=3D"gmail_extra">- installati=
on of X2Go</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_ex=
tra">On the 2 systems I could test locally (Debian 8 and Debian 9), the Fre=
nch locales are set properly when the user starts a local X session (the me=
nu is in French).</div><div class=3D"gmail_extra">However, on a remote X2Go=
 session, the menu always appears in English (no need to start the software=
).</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Tha=
nks for your help,</div><div class=3D"gmail_extra">Bruno<br clear=3D"all"><=
div><div class=3D"gmail-m_6753470742302732856gmail_signature"><div dir=3D"l=
tr"><div><br></div></div></div></div><div class=3D"gmail_quote">2017-09-05 =
5:34 GMT+02:00 Mihai Moldovan <span dir=3D"ltr">&lt;<a href=3D"mailto:ionic=
@ionic.de" target=3D"_blank">ionic@ionic.de</a>&gt;</span>:<br><blockquote =
class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;padding-left:1ex;bo=
rder-left:1px solid rgb(204,204,204)">On 09/04/2017 05:44 PM, Bruno CAPELET=
O wrote:<br>
&gt; People in Laurux&#39;s forum have reported this software works in sing=
le app mode<br>
&gt; but on an Ubuntu server.<br>
<br>
Okay, I have just tried to reproduce your issues in a new, fresh Debian Str=
etch<br>
VM. Only installed the core system, x2goserver, x2goserver-xsession, lxde a=
nd<br>
gambas3.<br>
<br>
Then (since I installed the system using the en_US.utf8 locale), ran<br>
dpkg-reconfigure locales, selected fr_FR.* to be generated and set the defa=
ult<br>
locale to fr_FR.utf8.<br>
<br>
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<br=
>
manager, that does not seem to have a French localization. No problem.)<br>
<br>
Afterwards, started gambas3 in the LXDE desktop session. Worked fine. And s=
howed<br>
up in French.<br>
<br>
<br>
Next up: started gambas3 in single application mode. Came up fine and in Fr=
ench.<br>
<br>
<br>
And just for fun, I then went on, downloaded Laurux3.tar.gz from the websit=
e<br>
(since this software doesn&#39;t seem to be packaged within Debian directly=
...),<br>
installed gambas3-gb-qt4 and gambas3-gb-qt4-ext (since it looked like these=
<br>
modules were missing) and started Laurux3.gambas in the LXDE instance. It<b=
r>
greeted me in French with a dialog to setup MySQL. I skipped this and<br>
Gambas3-Laurux started up. Again, everything was in French.<br>
<br>
Last thing: started /home/ionic/applications/Lauru<wbr>x3/Laurux3.gambas (o=
bviously<br>
the path I extracted it to) in a single application session. Again, I was<b=
r>
greeted by the dialog to create a MySQL database. Skipped this, and<br>
Laurux-Gambas came up. All in French. It looked weird, but that&#39;s becau=
se in<br>
single application mode, we don&#39;t yet have an XSETTINGS daemon running =
that<br>
would enable Qt4 to look up its theme settings, so a ugly fallback theme is=
<br>
being used by default.<br>
<br>
<br>
So far, I&#39;m unable to reproduce any issue (and curiously, the Laurux ve=
rsion<br>
from their homepage seems to be using Qt4 instead of Qt5 as well, so I wond=
er<br>
how you came up with Qt4 before.)<br>
<br>
I wasn&#39;t able to test the double-clicking issue, since all tests were c=
arried<br>
out using X2Go Client on Linux.<br>
<br>
<br>
I&#39;d like to understand why your env variables are not being set correct=
ly, but<br>
it doesn&#39;t seem to be systematic X2Go bug. With a cleanly installed sys=
tem, this<br>
does not seem to happen.<br>
<span class=3D"gmail-m_6753470742302732856gmail-HOEnZb"><font color=3D"#888=
888"><br>
<br>
<br>
Mihai<br>
<br>
</font></span></blockquote></div><br></div></div>
</div></div></div></blockquote></div><br></div></div>

--94eb2c07e22c05aef205586be282--
