From unknown Thu Mar 28 22:34:52 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#1200: [X2Go-Dev] Bug#1200: Bug#1200: Bug#1200: Environment variables not set Reply-To: Bruno CAPELETO , 1200@bugs.x2go.org Resent-From: Bruno CAPELETO Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Thu, 10 Aug 2017 19:55:02 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 1200 X-X2Go-PR-Package: X-X2Go-PR-Keywords: Received: via spool by 1200-submit@bugs.x2go.org id=B1200.150239473511915 (code B ref 1200); Thu, 10 Aug 2017 19:55:02 +0000 Received: (at 1200) by bugs.x2go.org; 10 Aug 2017 19:52:15 +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=-0.7 required=3.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_LOW 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 BE2EF5DAD0 for <1200@bugs.x2go.org>; Thu, 10 Aug 2017 21:52:11 +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 FRlYW0k80oAw for <1200@bugs.x2go.org>; Thu, 10 Aug 2017 21:52:06 +0200 (CEST) Received: from mail-vk0-x22d.google.com (mail-vk0-x22d.google.com [IPv6:2607:f8b0:400c:c05::22d]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 623625DACC for <1200@bugs.x2go.org>; Thu, 10 Aug 2017 21:52:06 +0200 (CEST) Received: by mail-vk0-x22d.google.com with SMTP id n125so6722506vke.1 for <1200@bugs.x2go.org>; Thu, 10 Aug 2017 12:52:06 -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=g5DZ8iO9PIsRXLIuDPVqXKVnnZ/KKHX1/Pnq9n/TSQY=; b=A1WWz6Z1SPJ2jMDEZG6tejecBg3iV9GqF4EqpCKLLTcYlGRUc5ukrHAN75JE8ID5YV t1ENUaViq6obHIEXzBpTwsUyIaytGyscfpqOamk2f3J1IwVqWHuLkhETQqFtBm/Clez1 ZyxOs/VHiv6nQzBVprCWhQ5TcYLvIVMaRXtqF5ZDW+ct0I+qBEF4VsUqy6FOx7KBIp9e FDVgZKETvNXMTXCwx1hUulyDXf2LFM9HArFpL4xHKgqBaRxRt9BxBsJNeT1snLgdDoxo byM7r5MAviQJ92HeMgpUT+NhpWgguz18RqH9ZHOKSG948KxA7i1xAqYx8KvPD14RMfSC OUTg== 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=g5DZ8iO9PIsRXLIuDPVqXKVnnZ/KKHX1/Pnq9n/TSQY=; b=AzXv7J6ElYSrPeWj17YI1+q/fLi/cTlfSjNA3nExcjQ90p7+Zi3T8/gpZMgiV8dABp W2FU+P+3tY78+OC7DREy4OINkuQ1phpxqwPIVp6702ToN65cOUOTT9mlMXJaDJJ7dlQ7 GfxnQTBXKUZ6L3563D3NQ2jMEG2+AA24DqVz1da8bZF2hSf5oFwHAsVTWEiSNQaImcGO 8lGl+oPQ2fFqywIQOyPP/89JzHXJOMT3hgUzzKxzEnMcOyHEsVMFRHYFmdG/flzB1um0 qnmJzOMkAGPeflCxpm2tbjslsehxj9CfGrIpCMiEWY9oTfVd3WOGl9vzOmo4P7RI6deC aPGw== X-Gm-Message-State: AHYfb5gJz7FjK9WclWGTWRNcoCXxMtnPqTPkTwBTGNsPBlB/z35t7u7C qS3PNmcfSe5pomuEaGld6sBBKfvWJqQO X-Received: by 10.31.198.135 with SMTP id w129mr8657513vkf.169.1502394724860; Thu, 10 Aug 2017 12:52:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.61.6 with HTTP; Thu, 10 Aug 2017 12:52:04 -0700 (PDT) X-Originating-IP: [78.233.84.236] In-Reply-To: References: From: Bruno CAPELETO Date: Thu, 10 Aug 2017 21:52:04 +0200 Message-ID: To: Ulrich Sibiller Cc: 1200@bugs.x2go.org, submit@bugs.x2go.org Content-Type: multipart/alternative; boundary="001a114d5b04e35faf05566b876c" --001a114d5b04e35faf05566b876c Content-Type: text/plain; charset="UTF-8" > > >> > 1. Whatever the client (Windows or Linux 4.0.3.1-4), the local > >> > environment > >> > variables are not set properly and the software - which needs French > >> > localization - crashes. That could be "solved" the following way : > >> > /etc/x2go/Xsession : > >> > >> Hmm, the environment is usually set by the system. Is a local session > >> working properly? > >> > > Yes, local sessions are working properly. > > > >> > >> An application that crashes because of missing locale vars is 100% > buggy. > > > > > > Let's say 80% buggy :-) > > > No, that's for sure a bug. No application may crash because of missign > env variables. Never! > The issue is coma : "." in English and "," in French. So the MySQL requests fail and crash the software. But that is not the issue we should focus on in this mailing list. The issue is that the environment variables are not set correctly : in a local session it starts in French (as it should), but in the x2go session in starts in English. > > >> > 2. At the start of a new session, one gets a windows with an error > >> > message > >> > "No session for pid ..." ; that bug has already been reported several > >> > times > >> > in x2go bug tracking and marked as solved. Actually it is not on my > >> > brand > >> > new system. > >> > >> I have no idea about this, except: Maybe there are some relicts of a > >> previous version of x2go. It could help to manually remove all nx and > >> x2go related packages completely, clean the filesystem for remains and > >> retry, > > > > > > I mixed it out : it was reported in LXDE mailing list. In my case it > happens > > only in combination with x2go (fresh install, without any nx mixup). > > So this happens only when starting an LXDE session? > Yes, this is related to LXDE. But once more, only in combination with x2go : on the local station I do not have this error when I start a LXDE session. Because LXDE is so light, it is very well adapted for remote desktop ; so it is definitely a first choice for a combination with x2go. > >> > 3. The single application mode does not work with some of the > >> > applications, > >> > including that Laurux / Gambas. For example it works with > >> > /usr/bin/leafpad, > >> > but /usr/bin/libreoffice makes the x2go session crash. > >> > >> There are applications that fork themselves and return immediately, > >> which in turn causes the session to close down because there's no > >> client left. Please check if running xterm in single application mode > >> and starting those applications from there is working. > > > > > > x2go full session : xterm then /usr/bin/libreoffice -> works > > x2go single application mode /usr/bin/xterm -> got the xterm, but typing > > /usr/bin/libreoffice closes the session > > Really during typing, before pressing enter? That's very weird. > Sorry I should have said "after typing" : when I press enter, libreoffice starts loading, and suddenly I am ejected from the x2go session. Bruno --001a114d5b04e35faf05566b876c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
>> > 1. Whatever the c= lient (Windows or Linux 4.0.3.1-4), the local
>> > environment
>> > variables are not set properly and the software - which needs= French
>> > localization - crashes. That could be "solved" the = following way :
>> > /etc/x2go/Xsession :
>>
>> Hmm, the environment is usually set by the system. Is a local sess= ion
>> working properly?
>>
> Yes, local sessions are working properly.
>
>>
>> An application that crashes because of missing locale vars is 100%= buggy.
>
>
> Let's say 80% buggy :-)


No, that's for sure a bug. No application may crash because of m= issign
env variables. Never!

The issue is coma= : "." in English and "," in French. So the MySQL reque= sts fail and crash the software. But that is not the issue we should focus = on in this mailing list.
The issue is that the environment variab= les are not set correctly : in a local session it starts in French (as it s= hould), but in the x2go session in starts in English.
=C2=A0

>> > 2. At the start of a new session, one gets a windows with an = error
>> > message
>> > "No session for pid ..." ; that bug has already bee= n reported several
>> > times
>> > in x2go bug tracking and marked as solved. Actually it is not= on my
>> > brand
>> > new system.
>>
>> I have no idea about this, except: Maybe there are some relicts of= a
>> previous version of x2go. It could help to manually remove all nx = and
>> x2go related packages completely, clean the filesystem for remains= and
>> retry,
>
>
> I mixed it out : it was reported in LXDE mailing list. In my case it h= appens
> only in combination with x2go (fresh install, without any nx mixup).
So this happens only when starting an LXDE session?
=

Yes, this is related to LXDE. But once more, only in co= mbination with x2go : on the local station I do not have this error when I = start a LXDE session.
Because LXDE is so light, it is very well a= dapted for remote desktop ; so it is definitely a first choice for a combin= ation with x2go.


>> > 3. The single application mode does not work with some of the=
>> > applications,
>> > including that Laurux / Gambas. For example it works with
>> > /usr/bin/leafpad,
>> > but /usr/bin/libreoffice makes the x2go session crash.
>>
>> There are applications that fork themselves and return immediately= ,
>> which in turn causes the session to close down because there's= no
>> client left. Please check if running xterm in single application m= ode
>> and starting those applications from there is working.
>
>
> x2go full session : xterm then /usr/bin/libreoffice -> works
> x2go single application mode /usr/bin/xterm -> got the xterm, but t= yping
> /usr/bin/libreoffice closes the session

Really during typing, before pressing enter? That's very weird.<= br>

Sorry I should have said "after ty= ping" : when I press enter, libreoffice starts loading, and suddenly I= am ejected from the x2go session.

Bruno

--001a114d5b04e35faf05566b876c--