[X2Go-Dev] Bug#1434: X2Go issue (in src:x2goserver) has been marked as pending for release
Mike Gabriel
mike.gabriel at das-netzwerkteam.de
Mon May 16 21:57:03 CEST 2022
tag #1434 pending
fixed #1434 4.1.0.4
thanks
Hi!
X2Go issue #1434 (src:x2goserver) reported by you has been
fixed in X2Go Git. You can see the changelog below, and you can
check the diff of the fix at:
https://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=2cabb88c3f785d93060d41e3f86eadc508aab553
The issue will most likely be fixed in src:x2goserver (4.1.0.4).
light+love
X2Go Git Admin (on behalf of the sender of this mail)
---
commit 2cabb88c3f785d93060d41e3f86eadc508aab553
Author: Orion Poplawski <orion at nwra.com>
Date: Mon May 16 21:55:23 2022 +0200
x2goserver-xsession/etc/Xsession: Detect $SHELL from getent passwd and use it to launch the session (on RHEL, SUSE, Gentoo and alike). (Fixes: #1434).
X2Go's Xsession file always starts the user's session with /bin/bash (at
least on RedHat systems where SHELL is set to /bin/bash via ~/.bashrc
calling /etc/bashrc). This patch attempts to determine the user's login
shell and use that for launching the session. See also:
.
https://bugzilla.redhat.com/show_bug.cgi?id=1794660
.
Another option might be the judicious use of the --norc option when
launching x2goruncommand on followers but I'm not sure what other
effects this will have or where to do that. Effects might not be to bad
because I can simulate this by moving away the user's .bash_profile and
.bashrc files and then the tcsh is used as expected in this case.
However, while $SHELL does not get set in this case, the xfce4-session
script still gets launched with bash which triggers some other errors,
so this patch may be the best option.
diff --git a/debian/changelog b/debian/changelog
index a9cc40af..9aa24304 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -472,6 +472,12 @@ x2goserver (4.1.0.4-0x2go1.2) UNRELEASED; urgency=medium
- Support for rootless X2GoKdrive sessions.
- Setting keyboard layout in rootless X2GoKdrive sessions.
+ [ Orion Paplowski ]
+ * New upstream version (4.1.0.4):
+ - x2goserver-xsession/etc/Xsession: Detect $SHELL from getent passwd
+ and use it to launch the session (on RHEL, SUSE, Gentoo and alike).
+ (Fixes: #1434).
+
[ Tom Ruzicka ]
* debian/po: Add Czech debconf translation.
More information about the x2go-dev
mailing list