From unknown Thu Mar 28 17:10:17 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#1200: AW: [X2Go-Dev] Bug#1200: Environment variables not set Reply-To: Ulrich Sibiller , 1200@bugs.x2go.org Resent-From: Ulrich Sibiller Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Tue, 05 Sep 2017 06:40:02 +0000 Resent-Message-ID: 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.150459331310619 (code B ref 1200); Tue, 05 Sep 2017 06:40:02 +0000 Received: (at 1200) by bugs.x2go.org; 5 Sep 2017 06:35:13 +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=-2.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,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 C290D5DACB for <1200@bugs.x2go.org>; Tue, 5 Sep 2017 08:35:09 +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 hQvOEM1MrXj5 for <1200@bugs.x2go.org>; Tue, 5 Sep 2017 08:35:05 +0200 (CEST) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id E52EC5DA96 for <1200@bugs.x2go.org>; Tue, 5 Sep 2017 08:35:04 +0200 (CEST) Received: by mail-wm0-x233.google.com with SMTP id u26so13774708wma.0 for <1200@bugs.x2go.org>; Mon, 04 Sep 2017 23:35:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:mime-version:to:from:subject:date:in-reply-to:references; bh=E1rF4fIp7vAKKgX3aUmCBvJZnLrq/WYE9ptsKV0TN24=; b=P4KnU3S9BmBrjHGkruWl5wFJp48hFFxWnl+38s23KQfcgT9YR796ZkQlsRnLmFncYT QaXcDAH83ZtKIYPQSVkZZU8YXAFnnWsHYMSWvvQ8J2TxQdU8MgPsK1/fI/c5cc8SwGKt wiaW5actOcYD5gOJwh+/WC81Va6sbufdGU3FxI+RAFmdskaLB+ydi6OfaqQ564ZEz78i kD+4h+MC/8PcjnM5qotHK1hyZemfZlDQUT8G+kdnbRiDv1xkYwcpxFIs/sT1jTSyss3n IVpoMHKsE8OLzctg56z7E+LSVz2mvjQ2GqaUH1zbHbkwI6nhVa71MwthS5unadHTe5e9 kxXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version:to:from:subject:date :in-reply-to:references; bh=E1rF4fIp7vAKKgX3aUmCBvJZnLrq/WYE9ptsKV0TN24=; b=CXuoGSHjxkUhqPjFCncwRmG8vX1lEH6FlHcKD/WtBjlibqQxpAi+xo09Lg03V5JDi+ 2Msewxk+VEv6x8EIDAOMFwyczYwwHUsSiUyx6wlinHU42/gEWAcQnqkX2YaPQ3uKnjOQ mJPvXd35SpDKm7HTz0xObAK5SeSEdm5ZszvuGiTnRcrm7Gdw4p9pJakmYsgE4AdvktH+ MVB/i5nVXliyoMOdZb1efzJ/0uDAS7lhj7P6IGaG0h4XeBRJtjrMbW76P/sdTDYIY/24 i/DYciyBX3YtRQL8calI+Q9CgKOibZE654KK8Ojtc0cb5Ab+pJ74WVDuAdnRWXbORcq/ vUaA== X-Gm-Message-State: AHPjjUgLl0AuRnfoIjYmkVpseXmg1Q2900uXmaGU1IEN0yXUw+erebJ2 Wk/PWIUv+l897g== X-Google-Smtp-Source: ADKCNb5oLZrS1hNK4vgpSDz1/rYBtBkkHTeyiwmquL6vDoX5Bj/izroxyt9gMJVlCuolKufHPU26Zg== X-Received: by 10.28.54.3 with SMTP id d3mr1687871wma.56.1504593304514; Mon, 04 Sep 2017 23:35:04 -0700 (PDT) Received: from [192.168.38.215] (dslb-188-106-030-012.188.106.pools.vodafone-ip.de. [188.106.30.12]) by smtp.gmail.com with ESMTPSA id a6sm2713513wme.16.2017.09.04.23.35.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Sep 2017 23:35:03 -0700 (PDT) Message-ID: <59ae4597.06981c0a.d2c4b.2b4d@mx.google.com> MIME-Version: 1.0 To: Bruno CAPELETO , <1200@bugs.x2go.org>, Mihai Moldovan From: Ulrich Sibiller Date: Tue, 5 Sep 2017 08:35:01 +0200 In-Reply-To: References: <5e2e5f4b-b445-09d5-1834-ad53f845a03e@ionic.de> <21445d8f-0208-1d84-b664-0ad6fc3c31cf@ionic.de> Content-Type: multipart/alternative; boundary="_27C1D43D-6DB0-42F7-8F13-6041C7156EA4_" --_27C1D43D-6DB0-42F7-8F13-6041C7156EA4_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Maybe you could provide a VM with the non-working Installation so we can ha= ve a look at it. Uli ----- Urspr=C3=BCngliche Nachricht ----- Von: "Bruno CAPELETO" Gesendet: =E2=80=8E05.=E2=80=8E09.=E2=80=8E2017 08:10 An: "Mihai Moldovan" Cc: "1200@bugs.x2go.org" <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, an= d also on a fresh install. It is even worse : I see it on 3 fresh server in= stalls : - 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 t= he 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 l= ocales 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 n= eed 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 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 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 (obviou= sly 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 because i= n 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 versio= n 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 carri= ed 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= --_27C1D43D-6DB0-42F7-8F13-6041C7156EA4_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"
Maybe you could provide a VM with the non-working Install= ation so we can have a look at it.

Uli
<= hr>Von: Bruno CAPEL= ETO
Gesendet: =E2=80=8E05.=E2=80=8E09.=E2=80=8E2017 0= 8:10
An: Mihai Moldovan=
Cc: 1200@bugs.= x2go.org
Betreff: [X2Go-Dev] Bug#1200: Environment va= riables 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 s= ee it, and also on a fresh install. It is even worse : I see it on 3 fresh = server 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 o= thers. 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 l= ocales are set properly when the user starts a local X session (the menu is= in French).
However, on a remote X2Go sess= ion, the menu always appears in English (no need to start the software).

Thanks f= or your help,
Bruno
<= div class=3D"gmail_signature">

<= /div>
2017-09-05 5:34 GMT+02:00 Mihai Moldovan <ion= ic@ionic.de>:
On 09/04/2017 0= 5:44 PM, Bruno CAPELETO wrote:
=0A= > People in Laurux's forum have reported this software works in single a= pp mode
=0A= > but on an Ubuntu server.
=0A=
=0A= Okay, I have just tried to reproduce your issues in a new, fresh Debian Str= etch
=0A= VM. Only installed the core system, x2goserver, x2goserver-xsession, lxde a= nd
=0A= gambas3.
=0A=
=0A= Then (since I installed the system using the en_US.utf8 locale), ran
=0A= dpkg-reconfigure locales, selected fr_FR.* to be generated and set the defa= ult
=0A= locale to fr_FR.utf8.
=0A=
=0A= Started up a new X2Go session (desktop session, LXDE) and was greeted by a<= br>=0A= French-speaking LXDE instance (with some English text from the clipboard=0A= manager, that does not seem to have a French localization. No problem.)
= =0A=
=0A= Afterwards, started gambas3 in the LXDE desktop session. Worked fine. And s= howed
=0A= up in French.
=0A=
=0A=
=0A= Next up: started gambas3 in single application mode. Came up fine and in Fr= ench.
=0A=
=0A=
=0A= And just for fun, I then went on, downloaded Laurux3.tar.gz from the websit= e
=0A= (since this software doesn't seem to be packaged within Debian directly...)= ,
=0A= installed gambas3-gb-qt4 and gambas3-gb-qt4-ext (since it looked like these=
=0A= modules were missing) and started Laurux3.gambas in the LXDE instance. It=0A= greeted me in French with a dialog to setup MySQL. I skipped this and
= =0A= Gambas3-Laurux started up. Again, everything was in French.
=0A=
=0A= Last thing: started /home/ionic/applications/Laurux3/Laurux3.gambas (o= bviously
=0A= the path I extracted it to) in a single application session. Again, I was=0A= greeted by the dialog to create a MySQL database. Skipped this, and
=0A= Laurux-Gambas came up. All in French. It looked weird, but that's because i= n
=0A= single application mode, we don't yet have an XSETTINGS daemon running that=
=0A= would enable Qt4 to look up its theme settings, so a ugly fallback theme is=
=0A= being used by default.
=0A=
=0A=
=0A= So far, I'm unable to reproduce any issue (and curiously, the Laurux versio= n
=0A= from their homepage seems to be using Qt4 instead of Qt5 as well, so I wond= er
=0A= how you came up with Qt4 before.)
=0A=
=0A= I wasn't able to test the double-clicking issue, since all tests were carri= ed
=0A= out using X2Go Client on Linux.
=0A=
=0A=
=0A= I'd like to understand why your env variables are not being set correctly, = but
=0A= it doesn't seem to be systematic X2Go bug. With a cleanly installed system,= this
=0A= does not seem to happen.
=0A=
=0A=
=0A=
=0A= Mihai
=0A=
=0A=

=0A= = --_27C1D43D-6DB0-42F7-8F13-6041C7156EA4_--