X2Go Bug report logs - #1583
user resources not being read

version graph

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

Reported by: Hanno Foest <hurga-x2go@tigress.com>

Date: Mon, 28 Feb 2022 21:50:02 UTC

Severity: normal

Tags: pending

Found in version 4.1.0.4-0x2go1.2~git20220217.1940+11.heuler.1

Fixed in version 4.1.0.4

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>:
Bug#1583; Package x2goserver-xsession. (Mon, 28 Feb 2022 21:50:02 GMT) (full text, mbox, link).


Acknowledgement sent to Hanno Foest <hurga-x2go@tigress.com>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 28 Feb 2022 21:50:02 GMT) (full text, mbox, link).


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

From: Hanno Foest <hurga-x2go@tigress.com>
To: submit@bugs.x2go.org
Subject: user resources not being read
Date: Mon, 28 Feb 2022 22:46:13 +0100
[Message part 1 (text/plain, inline)]
Package: x2goserver-xsession
Version: 4.1.0.4-0x2go1.2~git20220217.1940+11.heuler.1

I noticed that the user resources (ie, $HOME/.Xresources-x2go) are not
being read on my new Devuan Chimaera instance (should be the same for
Debian stable).

xsession-x2go-errors told me that "has_option" command was not found:

grep has_option .xsession-x2go-gui3-errors
/etc/x2go/Xsession.d/30x11-common_xresources: Zeile 16: has_option:
Kommando nicht gefunden.

Upon investigation, it looks like this command, and reading of the
option file Xsession.options, used to be defined in
/etc/X11/Xsession.d/20x11-common_process-args, but now resides in
/etc/X11/Xsession. /etc/x2go/Xsession is a modified copy of
/etc/X11/Xsession, but this change was not made.

Copying the relevant lines over from /etc/X11/Xsession made things work
again. Patch attached (please bear with me - I'm a sysadmin, not a
developer).

Hanno
[x2gouserresources.txt (text/plain, attachment)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1583; Package x2goserver-xsession. (Mon, 16 May 2022 19:50:02 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 16 May 2022 19:50:02 GMT) (full text, mbox, link).


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

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: 1583-submitter@bugs.x2go.org
Cc: control@bugs.x2go.org, 1583@bugs.x2go.org
Subject: X2Go issue (in src:x2goserver) has been marked as pending for release
Date: Mon, 16 May 2022 21:45:17 +0200 (CEST)
tag #1583 pending
fixed #1583 4.1.0.4
thanks

Hi!

X2Go issue #1583 (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=1f9a68b4d1d13f80073d888586b48999316d5907

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 1f9a68b4d1d13f80073d888586b48999316d5907
Author: Hanno Foest <hurga-x2go@tigress.com>
Date:   Mon May 16 21:29:38 2022 +0200

    x2goserver-xsession: Port OPTIONS variable and has_option() function from recent version of /etc/X11/Xsession to X2Go's Xsession file. (Fixes: #1583). More porting is actually needed.

diff --git a/debian/changelog b/debian/changelog
index 4d737e11..c0514892 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,12 @@ x2goserver (4.1.0.4-0x2go1.2) UNRELEASED; urgency=medium
     - x2gocleansessions: Separate non-forking behavior from --debug into
       --nofork.
 
+  [ Hanno Foest ]
+  * New upstream version (4.1.0.4):
+    - x2goserver-xsession: Port OPTIONS variable and has_option() function
+      from recent version of /etc/X11/Xsession to X2Go's Xsession file. (Fixes:
+      #1583). More porting is actually needed.
+
   [ Mike Gabriel ]
   * New upstream version (4.1.0.4):
     - Fix version number in VERSION.x2goserver-desktopsharing.


Added tag(s) pending. Request was from Mike Gabriel <mike.gabriel@das-netzwerkteam.de> to control@bugs.x2go.org. (Mon, 16 May 2022 19:50:02 GMT) (full text, mbox, link).


Marked as fixed in versions 4.1.0.4. Request was from Mike Gabriel <mike.gabriel@das-netzwerkteam.de> to control@bugs.x2go.org. (Mon, 16 May 2022 19:50:02 GMT) (full text, mbox, link).


Message sent on to Hanno Foest <hurga-x2go@tigress.com>:
Bug#1583. (Mon, 16 May 2022 19:50:03 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sun Dec 4 07:26:59 2022; 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.