X2Go Bug report logs - #1250
X2Go Doesn't Set Remote Environment

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

Reported by: Matthew Rubenstein <matthew.rubenstein@blue-green-group.com>

Date: Tue, 6 Feb 2018 19:10:01 UTC

Severity: wishlist

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, X2Go Developers <x2go-dev@lists.x2go.org>, owner@bugs.x2go.org:
Bug#1250; Package x2goclient, x2gostartagent. (Tue, 06 Feb 2018 19:10:01 GMT) (full text, mbox, link).


Acknowledgement sent to Matthew Rubenstein <matthew.rubenstein@blue-green-group.com>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>, owner@bugs.x2go.org. (Tue, 06 Feb 2018 19:10:02 GMT) (full text, mbox, link).


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

From: Matthew Rubenstein <matthew.rubenstein@blue-green-group.com>
To: submit@bugs.x2go.org
Subject: X2Go Doesn't Set Remote Environment
Date: Tue, 06 Feb 2018 14:08:13 -0500
Package: x2goclient, x2gostartagent
Version: 4.0.5.1
Severity: wishlist


	Hello. x2goclient and x2gostartagent (and the rest of X2Go) use
libssh, but do not use either the local ssh ~/.ssh/environment or the
remote sshd ~/.ssh/rc . Neither does X2Go use its own corresponding
config files for the remote environment. X2Go will use the remote
~/.bashrc when X2Go starts the remote bash shell, but if that .bashrc
quits upon detecting a non-interactive bash session (such as the ones
X2Go creates) then those .bashrc configs aren't applied to the X2Go
session. That non-interactive=quit logic is standard practice, and
indeed Ubuntu's /etc/skel/.bashrc includes it (among many other
distros).

	This lack of X2Go session configuration can cause remote client
applications to fail. Especially where the X2Go 'Session type' =
'Single application', where the environment X2Go is using was set per-
user at (interactive) login prior to using X2Go. The hackaround is to
create a per-user wrapper that sets the environment (but can't just
source ~/.bashrc for the non-interactive session). This is unmanageable
especially for multiple users and multiple local/remote hosts, and
makes setting the remote environment complex and time consuming
(compared to the basic X2Go invocation configuration). It also requires
the user have access to the remote filesystem, probably to a remote
shell, and to use it to write freeform wrappers.

	The best support for setting the environment would use a local
~/.x2gorc that can set the remote environment with bash syntax,
overridden by a GUI in x2goclient, overridden by a remote ~/.x2gorc ,
with perhaps system defaults local and remote in /etc/x2go/.x2gorc .
The X2Go config files/GUI could include an option to use their
ssh(d)equivalents, ie. [. ~/.ssh/environment].


Bug reassigned from package 'x2goclient, x2gostartagent' to 'x2goclient'. Request was from Juri Grabowski <x2go@jugra.de> to control@bugs.x2go.org. (Sat, 12 Mar 2022 18:40:03 GMT) (full text, mbox, link).


No longer marked as found in versions 4.0.5.1. Request was from Juri Grabowski <x2go@jugra.de> to control@bugs.x2go.org. (Sat, 12 Mar 2022 18:40:03 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sat Apr 27 14:11: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.