X2Go Bug report logs - #949
Shell variable name conflict

version graph

Packages: ubuntu, x2goserver_4.0.1.19-0~1064~ubuntu14.04.1, server; Maintainer for ubuntu is (unknown); Maintainer for x2goserver_4.0.1.19-0~1064~ubuntu14.04.1 is (unknown); Maintainer for server is (unknown);

Reported by: Michael <ayuanx@gmail.com>

Date: Fri, 25 Sep 2015 03:40:01 UTC

Severity: normal

Tags: not-a-bug

Found in version 4.0.1.19-0~1064

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, owner@bugs.x2go.org:
Bug#949; Package (ubuntu server) x2goserver_4.0.1.19-0~1064~ubuntu14.04.1. (Fri, 25 Sep 2015 03:40:01 GMT) (full text, mbox, link).


Acknowledgement sent to Michael <ayuanx@gmail.com>:
New Bug report received and forwarded. Copy sent to owner@bugs.x2go.org. (Fri, 25 Sep 2015 03:40:02 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

From: Michael <ayuanx@gmail.com>
To: submit@bugs.x2go.org
Subject: Shell variable name conflict
Date: Fri, 25 Sep 2015 13:38:07 +1000
[Message part 1 (text/plain, inline)]
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!
[Message part 2 (text/html, inline)]

Information forwarded to x2go-dev@lists.x2go.org, owner@bugs.x2go.org:
Bug#949; Package (ubuntu server) x2goserver_4.0.1.19-0~1064~ubuntu14.04.1. (Mon, 28 Sep 2015 06:30:01 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Extra info received and forwarded to list. Copy sent to owner@bugs.x2go.org. (Mon, 28 Sep 2015 06:30:02 GMT) (full text, mbox, link).


Message #10 received at 949@bugs.x2go.org (full text, mbox, reply):

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
Date: Mon, 28 Sep 2015 06:26:13 +0000
[Message part 1 (text/plain, inline)]
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  
>> /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!

The $STARTUP env variable will be set for every Xsession based X11  
session on 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  
it is 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  
existing scripts in /etc/X11/Xsessions.d. Thus, closing this issue and  
tagging as "not-a-bug".

Greets,
Mike
-- 

DAS-NETZWERKTEAM
mike gabriel, 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.xfb
[Message part 2 (application/pgp-signature, inline)]

Marked Bug as done Request was from Mike Gabriel <mike.gabriel@das-netzwerkteam.de> to 949-submit@bugs.x2go.org. (Mon, 28 Sep 2015 06:30:02 GMT) (full text, mbox, link).


Notification sent to Michael <ayuanx@gmail.com>:
Bug acknowledged by developer. (Mon, 28 Sep 2015 06:30:03 GMT) (full text, mbox, link).


Added tag(s) not-a-bug. Request was from Mike Gabriel <mike.gabriel@das-netzwerkteam.de> to 949-submit@bugs.x2go.org. (Mon, 28 Sep 2015 06:30:03 GMT) (full text, mbox, link).


Information forwarded to x2go-dev@lists.x2go.org, owner@bugs.x2go.org:
Bug#949; Package (ubuntu server) x2goserver_4.0.1.19-0~1064~ubuntu14.04.1. (Mon, 28 Sep 2015 06:55:02 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Extra info received and forwarded to list. Copy sent to owner@bugs.x2go.org. (Mon, 28 Sep 2015 06:55:02 GMT) (full text, mbox, link).


Message #21 received at 949@bugs.x2go.org (full text, mbox, reply):

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: 949@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#949: Shell variable name conflict
Date: Mon, 28 Sep 2015 06:52:32 +0000
[Message part 1 (text/plain, inline)]
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  
>> /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!

The $STARTUP env variable will be set for every Xsession based X11  
session on 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  
it is 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  
existing scripts in /etc/X11/Xsessions.d. Thus, closing this issue and  
tagging as "not-a-bug".

Greets,
Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, 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.xfb
[Message part 2 (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.x2go.org> to internal_control@bugs.x2go.org. (Tue, 27 Oct 2015 06:24:01 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 16:17:04 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.