X2Go Bug report logs - #923
.xsession-x2go-errors improvements

version graph

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

Reported by: Orion Poplawski <orion@cora.nwra.com>

Date: Tue, 18 Aug 2015 15:55:01 UTC

Severity: important

Tags: pending

Found in version 4.0.1.19

Fixed in version 4.0.1.20

Done: X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#923: [X2Go-Dev] .xsession-x2go-errors improvements
Reply-To: Mihai Moldovan <ionic@ionic.de>, 923@bugs.x2go.org
Resent-From: Mihai Moldovan <ionic@ionic.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: Sun, 23 Aug 2015 16:00:02 +0000
Resent-Message-ID: <handler.923.B923.144034538019148@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 923
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: 
Received: via spool by 923-submit@bugs.x2go.org id=B923.144034538019148
          (code B ref 923); Sun, 23 Aug 2015 16:00:02 +0000
Received: (at 923) by bugs.x2go.org; 23 Aug 2015 15:56:20 +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=-0.5 required=5.0 tests=BAYES_05,T_DKIM_INVALID,
	URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from Root24.de (powered.by.root24.eu [5.135.3.88])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 483245DA86
	for <923@bugs.x2go.org>; Sun, 23 Aug 2015 17:56:18 +0200 (CEST)
Received: from nopileos.local (home.ionic.de [217.92.117.31])
	by mail.ionic.de (Postfix) with ESMTPSA id E376A4F094C1;
	Sun, 23 Aug 2015 17:56:17 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default;
	t=1440345378; bh=R92bdxfvHgWAC78URg1MLQ4eXTCbUXU4RZXX6PSo4C4=;
	h=Subject:To:References:From:Date:In-Reply-To:From;
	b=rBHWRsFeY0VP/23JvcP1QIYk4Hms8ts4+LFeWgw6QixJ4By17mNfGapZTC5SkpSA/
	 6BvSc81ANLn0aXvcgzRDZFkjIMYYSzKBSE0tvRbj1Yi9ENa1IBJwdvDtu8PMmTa1fX
	 TA+VA8zpwXR3EjntHrfgBgwxRH/I1H/QwbhthLrI=
To: Orion Poplawski <orion@cora.nwra.com>, 923@bugs.x2go.org
References: <55D3533C.2090101@cora.nwra.com>
From: Mihai Moldovan <ionic@ionic.de>
X-Enigmail-Draft-Status: N1110
Message-ID: <55D9ED21.2060706@ionic.de>
Date: Sun, 23 Aug 2015 17:56:17 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0)
 Gecko/20100101 Thunderbird/38.0.1
MIME-Version: 1.0
In-Reply-To: <55D3533C.2090101@cora.nwra.com>
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="QABnVUAXoqcE6N6hIh0vuBCKxxbbNwfSA"
[Message part 1 (text/plain, inline)]
On 18.08.2015 05:46 PM, Orion Poplawski wrote:
> Package: x2goserver
> Version: 4.0.1.19
> 
> First issue is that ~/.xsession-x2go-errors is always appended to so it grows
> forever.  It should at least get rotated to .old file.

I'm not sure that's an issue per se. Isn't that normal behavior for DEs/Login
Managers?

It's inconvenient, but I remember other software doing exactly the same thing,
so it's at least "consistent". But maybe I'm wrong. I see ~/.xsession-errors and
~/.xsession-errors.old on my system using LightDM. So you're probably right. But
that's for LightDM, not sure how other LMs or systems without a LM handle this?


> Second is with shared NFS home directories, multiple X2Go sessions get logged
> to the same file which is confusing.  I would suggest putting the host name
> into the log file name.

Okay, but that will break for systems with misconfigured/unset hostnames or
environments where every system has the same hostname. Additionally, multiple
sessions also get logged to the same file, so merely going for one file per host
name feels half-baked.



Mihai

[signature.asc (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Apr 19 11:22:47 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.