X2Go Bug report logs - #958
Xsession startup: LD_LIBRARY_PATH in STARTUP var breaks Debian/Ubuntu/Mint session startups

version graph

Package: xserver-xsession; Maintainer for xserver-xsession is (unknown);

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

Date: Mon, 19 Oct 2015 10:25:01 UTC

Severity: important

Found in version 4.0.1.19

Done: Stefan Baur <X2Go-ML-1@baur-itcs.de>

Bug is archived. No further changes may be made.

Full log


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

Received: (at submit) by bugs.x2go.org; 19 Oct 2015 10:21:34 +0000
From mike.gabriel@das-netzwerkteam.de  Mon Oct 19 12:21:33 2015
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 39A2C5DA4D
	for <submit@bugs.x2go.org>; Mon, 19 Oct 2015 12:21:33 +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 B65F93DA
	for <submit@bugs.x2go.org>; Mon, 19 Oct 2015 12:21:32 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 1C7633C684
	for <submit@bugs.x2go.org>; Mon, 19 Oct 2015 12:21:32 +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 J6reTJvC8Tac for <submit@bugs.x2go.org>;
	Mon, 19 Oct 2015 12:21:32 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id BD3E53BAF9
	for <submit@bugs.x2go.org>; Mon, 19 Oct 2015 12:21:31 +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, 19 Oct 2015 10:21:31 +0000
Date: Mon, 19 Oct 2015 10:21:31 +0000
Message-ID: <20151019102131.Horde.MwNEEXKoFPAFWUilpkvGaA6@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: submit@bugs.x2go.org
Subject: Xsession startup: LD_LIBRARY_PATH in STARTUP var breaks
 Debian/Ubuntu/Mint session startups
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:38.0) Gecko/20100101
 Firefox/38.0 Iceweasel/38.3.0
Content-Type: multipart/signed; boundary="=_mxLmFDi_eUHeH1aRbMfpgA1";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Package: xserver-xsession
Severity: important
Version: 4.0.1.19

Several /etc/X11/Xsession.d scripts on Debian and Ubuntu (and other  
derivatives) fail (don't get executed), because they try to detect a  
variable $BASESTARTUP from $STARTUP which gets set during the Xsession  
startup mechanism.

The detection code expects the session command (mate-session,  
startkde, xfce4-session, etc.) as the first element in $STARTUP when  
splitting the $STARTUP string at every blank.

As x2goruncommand prepends a LD_LIBRARY_PATH to the STARTUP command  
(for enabling Xinerama in X2Go sessions), this distro-specific  
detection mechanism fails.

Why report this issue to X2Go then (and not to Debian). Easy  
reasoning... With nx-libs 3.6.x, the Xinerama code will be completely  
rewritten and it won't be necessary to set a customer LD_LIBRARY_PATH  
anymore. Thus, we should make sure, your X2Go Xsession startups get  
aligned with distro-specific expectations.

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)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Nov 22 03:45:54 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.