From unknown Tue May 12 22:36:04 2026
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"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--QABnVUAXoqcE6N6hIh0vuBCKxxbbNwfSA
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 18.08.2015 05:46 PM, Orion Poplawski wrote:
> Package: x2goserver
> Version: 4.0.1.19
>=20
> 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/L=
ogin
Managers?

It's inconvenient, but I remember other software doing exactly the same t=
hing,
so it's at least "consistent". But maybe I'm wrong. I see ~/.xsession-err=
ors and
~/.xsession-errors.old on my system using LightDM. So you're probably rig=
ht. 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, mult=
iple
sessions also get logged to the same file, so merely going for one file p=
er host
name feels half-baked.



Mihai


--QABnVUAXoqcE6N6hIh0vuBCKxxbbNwfSA
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJV2e0hAAoJEB/WLtluJTqHwDkQAJ3MnNhmYhANLGG5Se1517kR
ZbyXeBwuk2LpKkw+gmCQFvIHdHT6d/ilu2Z3RNGM9NaTAKN9n6zF3KFO8vmyba2s
yVtIRJTEdGHf97cr09NJEee7I57Ne4iOToKedPQjtSirMOnnU1PHfoh3XCB6Duz3
OBXZLEi2Tc6mHeGNY3sXwuXcsPoUXwfPW+8FxjEt/gGcXGOQJIG9WVR4wHOE9+Vo
7pq78wUILh2CG03hW1heDOJCB04LisIF54Tb1KPt9yJyF2ECW4FRwBHMhkDmvyZE
MhkZ/YLG+MSwmc5SdXScz2qS6TFaVwD3qJ/a6z7SYVQRvrfwdRFo+Z7WuWEjqiUp
9D9kVqtc0wpcN68GGnOq4dSQXx+71Zhu71YCMPf1yUdLVruEJwBVcSUOh51kKbfQ
f/z5PpRJRU8n+C5Ds74xQoK5qk7RTLUhGfZoSYq90gzCo1W7uxwcD9LavjBgaWNC
juOWYL02yAHX8FlbXMk0Hg2i61XowUMPt/JgoaVG4QV7jODUMj/2IFnbIYhJ8wO1
vbfa0chy8Om64MJYfS5V7ZDunq1M2w2EEflP2OMdOdUBnmaONna9Az+1EZwXiPDN
UZ++s6v9WKiPSjY77h8OaJ876W5JlyzBdgzmKX/rwdRvpAOTUMtgodJFmqOpKRv5
kmM32W1/f3MT/X6wArjX
=c8w5
-----END PGP SIGNATURE-----

--QABnVUAXoqcE6N6hIh0vuBCKxxbbNwfSA--
