X2Go Bug report logs - #963
x2go session environment broken

version graph

Package: x2goserver; Maintainer for x2goserver is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver is src:x2goserver.

Reported by: Henning Schild <henning@hennsch.de>

Date: Mon, 16 Nov 2015 18:40:02 UTC

Severity: normal

Found in version bfe3ba761c1d3e9143285ca17edc87ac763ce35d

Full log

🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#963: x2go session environment broken
Reply-To: Henning Schild <henning@hennsch.de>, 963@bugs.x2go.org
Resent-From: Henning Schild <henning@hennsch.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Mon, 16 Nov 2015 18:40:02 +0000
Resent-Message-ID: <handler.963.B.144769912910627@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 963
X-X2Go-PR-Package: x2goserver
Received: via spool by submit@bugs.x2go.org id=B.144769912910627
          (code B); Mon, 16 Nov 2015 18:40:02 +0000
Received: (at submit) by bugs.x2go.org; 16 Nov 2015 18:38:49 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from wp038.webpack.hosteurope.de (wp038.webpack.hosteurope.de [])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id C60DC5DA53
	for <submit@bugs.x2go.org>; Mon, 16 Nov 2015 19:38:47 +0100 (CET)
Received: from aftr-88-217-180-90.dynamic.mnet-online.de ([] helo=localhost); authenticated
	by wp038.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	id 1ZyOfv-0002aC-Hq; Mon, 16 Nov 2015 19:38:47 +0100
Date: Mon, 16 Nov 2015 19:38:48 +0100
From: Henning Schild <henning@hennsch.de>
To: submit@bugs.x2go.org
Message-ID: <20151116193848.2bc2e443@hennsch.de>
X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="MP_/S0Q0Xs9aoKvcVM5XZ_W+xa1"
X-bounce-key: webpack.hosteurope.de;henning@hennsch.de;1447699127;713834df;
[Message part 1 (text/plain, inline)]
Package: x2goserver
Tag: patch
Version: bfe3ba761c1d3e9143285ca17edc87ac763ce35d


i have been using x2go for years, also on servers where i needed to
set environment variables for proxies etc. A regular x2go-session fails
to include stuff that is configured in /etc/env.d/ and /etc/profile.d/.
I think those directories are actually distro specific, the solution is
to start everything in a login shell.

For me the attached patch helps setting environment variables on several
debian systems, i did not test on other distros.

[0001-x2goruncommand-use-a-login-shell-for-the-commands.patch (text/x-patch, attachment)]

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Jun 20 21:25:19 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.