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

Reply or subscribe to this bug.

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#958; Package xserver-xsession. (Mon, 19 Oct 2015 10:25:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
New Bug report received and forwarded. Copy sent to owner@bugs.x2go.org. (Mon, 19 Oct 2015 10:25:02 GMT) Full text and rfc822 format available.

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

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
Date: Mon, 19 Oct 2015 10:21:31 +0000
[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: Wed Dec 12 02:53:22 2018; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.