From unknown Thu Mar 28 09:52:03 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#958: Xsession startup: LD_LIBRARY_PATH in STARTUP var breaks Debian/Ubuntu/Mint session startups Reply-To: Mike Gabriel , 958@bugs.x2go.org Resent-From: Mike Gabriel Resent-To: x2go-dev@lists.x2go.org Resent-CC: owner@bugs.x2go.org X-Loop: owner@bugs.x2go.org Resent-Date: Mon, 19 Oct 2015 10:25:01 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: report 958 X-X2Go-PR-Package: xserver-xsession X-X2Go-PR-Keywords: Received: via spool by submit@bugs.x2go.org id=B.144525009417702 (code B); Mon, 19 Oct 2015 10:25:01 +0000 Received: (at submit) by bugs.x2go.org; 19 Oct 2015 10:21:34 +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 39A2C5DA4D for ; 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 ; 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 ; 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 ; 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 ; 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 To: submit@bugs.x2go.org 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 This message is in MIME format and has been PGP signed. --=_mxLmFDi_eUHeH1aRbMfpgA1 Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Package: xserver-xsession Severity: important Version: 4.0.1.19 Several /etc/X11/Xsession.d scripts on Debian and Ubuntu (and other=20=20 derivatives)=20fail (don't get executed), because they try to detect a=20= =20 variable=20$BASESTARTUP from $STARTUP which gets set during the Xsession=20= =20 startup=20mechanism. The detection code expects the session command (mate-session,=20=20 startkde,=20xfce4-session, etc.) as the first element in $STARTUP when=20= =20 splitting=20the $STARTUP string at every blank. As x2goruncommand prepends a LD_LIBRARY_PATH to the STARTUP command=20=20 (for=20enabling Xinerama in X2Go sessions), this distro-specific=20=20 detection=20mechanism fails. Why report this issue to X2Go then (and not to Debian). Easy=20=20 reasoning...=20With nx-libs 3.6.x, the Xinerama code will be completely=20= =20 rewritten=20and it won't be necessary to set a customer LD_LIBRARY_PATH=20= =20 anymore.=20Thus, we should make sure, your X2Go Xsession startups get=20=20 aligned=20with distro-specific expectations. 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 --=_mxLmFDi_eUHeH1aRbMfpgA1 Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJWJMQrAAoJEJr0azAldxsxnesP+wcqnE7qYIre9MfxfCgih3hC I8WJhWePhy45V336zUKLRKfO3H4RH7xFQeMsNj6jv7R6tlf0ADjcB81eHQR6ry66 0SK17JS8VS609FbjAEE05glhtgo5MFMaPN1VkssNZX2hnqI2OdFe90Xc+2lCPjXN 5D9tBwIY1brrYgVbYvLipSM9QBc6+jepmZVsmeJnjf03XvSBzkORZFAzZJ7blutl n0r5Hz6FE8J9Fojxe9Hdbnc+OEN4VlWwbT8CkKGifXyN2n4J49BxOGbMgbMX4vI+ QGDjoOxzaK8LOoz6KlKwD9hQlgpO0oTr8AYi6C/4Nysv83McCfd8YllbmIxYRODE cqDh9UdEADQuKr1V1OegmT1Deik8ysYsudmWwwoDUHsPFzf3cgGRLYUHlraExbcb 9W6aSkKt/vC4+N7Zlq28fx4LaJyrp9MO3nfLJAAf4JfZ511iRt/OlCyFopRHO0dT WoQfbpYVcfM4cOVtapjJ+T5388MzXgK9XgYXgEiJ0bVFVhXATNGlUhnrnocDcL0R HdOg24vK+ryAjrXFSZ4lhjdbJCpG8m/nJzkzSbK6y2K4Spc15LGWfdCcLhAqrUpV b7q+SzhK5EMzAoV94xWCECTqZqsylLF9ucbPx+ZcG2ZUdSo24bJLpq0Y5c7rPtD2 RJp3irzZrJQ1r32QcY3k =ybg7 -----END PGP SIGNATURE----- --=_mxLmFDi_eUHeH1aRbMfpgA1--