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

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, mbox, link).

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, mbox, link).

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

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

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 gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Mon May 29 05:55:20 2023; 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.