From unknown Mon Sep 21 11:59:27 2026
MIME-Version: 1.0
X-Mailer: MIME-tools 5.502 (Entity 5.502)
X-Loop: owner@bugs.x2go.org
From: owner@bugs.x2go.org (X2Go Bug Tracking System)
Subject: Bug#949 closed by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
 (Re: [X2Go-Dev] Bug#949: Shell variable name conflict)
Message-ID: <handler.949.b949.14434215777978.notifdone@bugs.x2go.org>
References: <20150928062613.Horde.HtUkQaPEtERl-dHIu15rsA2@mail.das-netzwerkteam.de>
X-X2go-PR-Message: they-closed 949
X-X2go-PR-Package: (ubuntu server) x2goserver_4.0.1.19-0~1064~ubuntu14.04.1
Date: Mon, 28 Sep 2015 06:30:03 +0000
Content-Type: multipart/mixed; boundary="----------=_1443421803-8136-0"

This is a multi-part message in MIME format...

------------=_1443421803-8136-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

This is an automatic notification regarding your Bug report
which was filed against the (ubuntu server) x2goserver_4.0.1.19-0~1064~ubun=
tu14.04.1 package:

#949: Shell variable name conflict

It has been closed by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mike Gabriel <mike.gab=
riel@das-netzwerkteam.de> by
replying to this email.


--=20
949: http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=3D949
X2Go Bug Tracking System
Contact owner@bugs.x2go.org with problems

------------=_1443421803-8136-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 949) by bugs.x2go.org; 28 Sep 2015 06:26:17 +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,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id A54ED5DA93
	for <949@bugs.x2go.org>; Mon, 28 Sep 2015 08:26:14 +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 528ED435F;
	Mon, 28 Sep 2015 08:26:14 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id EF5723BBFB;
	Mon, 28 Sep 2015 08:26:13 +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 5SFjmP9CojkC; Mon, 28 Sep 2015 08:26:13 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 5C3BF3B9C0;
	Mon, 28 Sep 2015 08:26:13 +0200 (CEST)
Received: from bifrost.das-netzwerkteam.de (bifrost.das-netzwerkteam.de
 [178.62.101.154]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Mon, 28 Sep 2015 06:26:13 +0000
Date: Mon, 28 Sep 2015 06:26:13 +0000
Message-ID: <20150928062613.Horde.HtUkQaPEtERl-dHIu15rsA2@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Michael <ayuanx@gmail.com>, 949@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#949: Shell variable name conflict
In-Reply-To: <CAPuhghWxw_fbjpx3QK_gaz9DDMxY4Lg+UHkbiPPbW9sgAjaC4w@mail.gmail.com>
User-Agent: Internet Messaging Program (IMP) H5 (6.2.2)
Accept-Language: de,en
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 178.62.101.154
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101
 Firefox/32.0 Iceweasel/32.0
Content-Type: multipart/signed; boundary="=_B7bRw0VtWGRe_WW6KpLVWQ1";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0

This message is in MIME format and has been PGP signed.

--=_B7bRw0VtWGRe_WW6KpLVWQ1
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Control: close -1
Control: tags -1 not-a-bug

Dear Michael,

On  Fr 25 Sep 2015 05:38:07 CEST, Michael wrote:

> Package: (Ubuntu server) x2goserver_4.0.1.19-0~1064~ubuntu14.04.1
> Version: 4.0.1.19-0~1064
>
> The name of shell variable ${STARTUP} defined by x2goserver is too common=
.
>> $ echo $STARTUP
>> /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch=20=20
>>=20/usr/bin/env=20=20
>>=20LD_LIBRARY_PATH=3D/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11=20=20
>>=20xfce4-session
>
> It would easily cause conflicts with other things. (Took me a week=20=20
>=20to debug :()
>
> Could you please consider changing it to some more specific name like
> "X2GO_STARTUP"?
>
> Thanks!

The $STARTUP env variable will be set for every Xsession based X11=20=20
session=20on a Ubuntu or Debian (and alike).

Please do a grep on /etc/X11 and see its output (grep -r STARTUP /etc/X11).

In case you want to use $STARTUP in your own scripts, please know that=20=
=20
it=20is not a good idea to use that var name on Debian nor Ubuntu systems.

Using X2GO_STARTUP or any other variable name will not work with=20=20
existing=20scripts in /etc/X11/Xsessions.d. Thus, closing this issue and=20=
=20
tagging=20as "not-a-bug".

Greets,
Mike
--=20

DAS-NETZWERKTEAM
mike=20gabriel, 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.x=
fb

--=_B7bRw0VtWGRe_WW6KpLVWQ1
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJWCN2FAAoJEJr0azAldxsxNJoQAITXTc7XQ+cn1kC2j1s6UEGL
eVZHiTloWgvxAy4XR/kRBszKgHMD1D/SynzlaCdVUeoAhVFCjWYkJ3rgfJL05QKY
pA+PAJUCXI0rqjHTlkWUFkwITwp5IPfMT2oHbhR1+HMlh8542dCbOekzEkppOc/0
9FO1aiuJzxSQ3EjravHuYPpYOOwq8wgMpEk/LwmQxRcopXc86hRk3vfUOCaKXpbG
NQhk/N5lcGCwYiSsxWv6qBUkHrkxjK9TfRI3HT6PyF7vYyWZDdRLthy7KX1GI4/4
Dvip3UgxmW6Hs8IahcERtkqaOR3xjNcTKRFTwSWOSBdoGQ6g2Wu+uHfFAUeDSi6o
kPIjXBMM4bg51sehzQGs2XSVuRAOwav9iIoboIXQfozluUzft83n+GnrNo38bFgu
zJClk6qelId4xJnu9w1mdWcaAskdqDOeF/0bKG//oAAdKyz4tS8G/lZ8nGs5xdgL
qNJXk0UMQZOeY7eT7HncgkwVJqKyFnSgyRAppeoz8AVz3xKjIuW7pdOWnQ8PtSh1
EJqUEcQMteiYzroFQaD+A6HgMkwe6BOU2wdpYC0EeammC4q8LHgqT55wygNVwgUm
8NFuKnwbFV8cXcrln+cXALUHHCgWvCpc4YDvakD9+BwCNUWK4XBfE6NvCT5KHJYa
R/V2KDz8AUqRUHotp/7i
=uPNh
-----END PGP SIGNATURE-----

--=_B7bRw0VtWGRe_WW6KpLVWQ1--


------------=_1443421803-8136-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.x2go.org; 25 Sep 2015 03:38:10 +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.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
	HTML_MESSAGE,T_DKIM_INVALID autolearn=ham version=3.3.2
Received: from mail-io0-f175.google.com (mail-io0-f175.google.com [209.85.223.175])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id A2A775DA2B
	for <submit@bugs.x2go.org>; Fri, 25 Sep 2015 05:38:08 +0200 (CEST)
Received: by iofb144 with SMTP id b144so98810583iof.1
        for <submit@bugs.x2go.org>; Thu, 24 Sep 2015 20:38:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:date:message-id:subject:from:to:content-type;
        bh=/rxthYhG1AXtu2EhYxVIFTGK+46iZ9dqcHc2UvoRh3k=;
        b=mhxRaSH+Ni9aATwqB7/fQoOQYiQRzpfUV8bCf/IRDf6ZnK7wJzpK1f0GL7XnWA8SY+
         A6KOq1JBVDhi/kRJj3XZWM+OodfSuB1Bqmwag8z5lsQJUStg439UHJbLMAkPLD3CLV96
         bDfm4+0sga2JxbtmMWWPEyVWxR3infS+KkQUsWK8fMnWnmzrmhKVTcc4QMmSljaBs92X
         K+gKi7ejEyOelnuz+4d1LaHYNW3/S/wiA4JtjAk5oDFkPo1cVPKZLTNVNah9ZEl/hwJb
         ikwAGiA0UaseTwJi1PJiMDCJmQZy4REydo5DqcMmnO+p54BdY243ao6GhDSnWIjHAIet
         EY+A==
MIME-Version: 1.0
X-Received: by 10.107.47.221 with SMTP id v90mr3970470iov.185.1443152287155;
 Thu, 24 Sep 2015 20:38:07 -0700 (PDT)
Received: by 10.36.31.147 with HTTP; Thu, 24 Sep 2015 20:38:07 -0700 (PDT)
Date: Fri, 25 Sep 2015 13:38:07 +1000
Message-ID: <CAPuhghWxw_fbjpx3QK_gaz9DDMxY4Lg+UHkbiPPbW9sgAjaC4w@mail.gmail.com>
Subject: Shell variable name conflict
From: Michael <ayuanx@gmail.com>
To: submit@bugs.x2go.org
Content-Type: multipart/alternative; boundary=001a11c150806ecc8a05208a13c3

--001a11c150806ecc8a05208a13c3
Content-Type: text/plain; charset=UTF-8

Package: (Ubuntu server) x2goserver_4.0.1.19-0~1064~ubuntu14.04.1
Version: 4.0.1.19-0~1064

The name of shell variable ${STARTUP} defined by x2goserver is too common.
> $ echo $STARTUP
> /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/env LD_LIBRARY_PATH=/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11 xfce4-session

It would easily cause conflicts with other things. (Took me a week to debug :()

Could you please consider changing it to some more specific name like
"X2GO_STARTUP"?

Thanks!

--001a11c150806ecc8a05208a13c3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><pre>Package: (Ubuntu server) x2goserver_4.0.1.19-0~1064~u=
buntu14.04.1
Version: 4.0.1.19-0~1064<br><br></pre><pre>The name of shell variable ${STA=
RTUP} defined by x2goserver is too common.<br>&gt; $ echo $STARTUP<br>&gt; =
/usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/env LD=
_LIBRARY_PATH=3D/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11 xfce4-session<br><=
/pre><pre>It would easily cause conflicts with other things. (Took me a wee=
k to debug :()<br><br></pre><pre>Could you please consider changing it to s=
ome more specific name like &quot;X2GO_STARTUP&quot;?<br><br></pre><pre>Tha=
nks!<br><br></pre></div>

--001a11c150806ecc8a05208a13c3--

------------=_1443421803-8136-0--
