From unknown Sat Apr 04 16:33:23 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#638: broker agent in LOCAL mode cannot find state file
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 638@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.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: Sat, 11 Oct 2014 09:05:01 +0000
Resent-Message-ID: <handler.638.B.141301823016994@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 638
X-X2Go-PR-Package: x2gobroker
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.141301823016994
          (code B); Sat, 11 Oct 2014 09:05:01 +0000
Received: (at submit) by bugs.x2go.org; 11 Oct 2014 09:03:50 +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=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 57BAA5E09D
	for <submit@bugs.x2go.org>; Sat, 11 Oct 2014 11:03:49 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 0697413BE
	for <submit@bugs.x2go.org>; Sat, 11 Oct 2014 11:03:49 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id E1F1B3BB5F
	for <submit@bugs.x2go.org>; Sat, 11 Oct 2014 11:03:48 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id YIbqoR573Uvg for <submit@bugs.x2go.org>;
	Sat, 11 Oct 2014 11:03:48 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id B80AB3B9B1
	for <submit@bugs.x2go.org>; Sat, 11 Oct 2014 11:03:48 +0200 (CEST)
Received: from 46.115.183.172 ([46.115.183.172]) by mail.das-netzwerkteam.de
 (Horde Framework) with HTTP; Sat, 11 Oct 2014 09:03:48 +0000
Date: Sat, 11 Oct 2014 09:03:48 +0000
Message-ID: <20141011090348.Horde.cSPXl7mT4EdtTMtded6DRg1@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: submit@bugs.x2go.org
User-Agent: Internet Messaging Program (IMP) H5 (6.2.2)
Accept-Language: en,de
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 46.115.183.172
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101
 Firefox/32.0 Iceweasel/32.0
Content-Type: multipart/signed; boundary="=_v_csBjtOJh6iA659avzfbA1";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0

This message is in MIME format and has been PGP signed.

--=_v_csBjtOJh6iA659avzfbA1
Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: x2gobroker
Severity: important
Version: 0.3.0.0

Since X2Go Server 4.0.1.16, all session relevant files moved to=20=20
/tmp/.x2go-<user>.=20In $HOME/.x2go there only is a symlink to the=20=20
session=20dir on /tmp.

This change breaks x2gobroker-agent in LOCAL mode (evoked on the=20=20
broker=20host itself, assuming all session files are available).

In LOCAL mode, x2gobroker-agent is evoked on the X2Go Broker host=20=20
itself=20and assumes that it can access all session files in=20=20
$HOME/.x2go/C-<session>.

But=20what it finds is a dangling symlink to a non-existent C-<session>=20=
=20
dir=20in /tmp/.x2go-<user>.

The wanted session dir, of course, can only be found on

   X2Go-Server-node-N:/tmp/.x2go-<user>/C-<session>

:-(

Mike

--=20

DAS-NETZWERKTEAM
mike=20gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x=
fb

--=_v_csBjtOJh6iA659avzfbA1
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJUOPJ0AAoJEJr0azAldxsxpRcP/RmWIvaZ9lBW69/OmayEMO5R
vcLgdyMPsHRgO2Vw0zjGgF/5uomJu029h57s/igU2E1mk45Aaa4EaJ1M8ug7EDd1
v99oH/sIeEeea39SX4PIDeqYkp8AulRCSNQgMadqTmY9NwKxdXo3KziRP4fvfNd+
TxkL2VWw9g5dcaz5QLYhDHCepbnJaHnln41uhxqElZOdQX67wPTyB4MjCQGoYn6I
f+GMKaYyhEikcd/7JsDNYc7Hvvat2AGRPEY6mpv1+1bWE7W49Poe6MWCN5xJ82Fi
qjRnNgjdYrIEZYsiH9W8RXMfO9qiBDoJCEkbN76+hU+eLp1wAo2fSPhqvP2RhHjv
q+AYDPX3QSOW9i+94paB/V5Q3YLtlBcenlMMyZfl9c+/lU2YvoF9s+y9EAQZ6AlD
ryXLWP/sHgbZDJlubL4GpULc8mey0E+LhnvgI+Yn5i52riFdwKoQO1L56k95j0Tn
dQs4amNjXZW4I06cd5tHnCJDdIFvLZ6nR5AbMqDRf//xopw8iaRm1NHHvg3Q9zWt
NUQZKH6bDTXDjwWF9KGVLbc0EmWfZD5kXgIUqASlKb3jK23RHNqksdAJX6lXm3mW
qALiACYPy15RReNAJm3ynZEPpeSAEnvJkOYGMA5MRJwv7kUn0xqYSCJTNmkWKY3j
7hv/gpu3qOekifYRCyrT
=rN+O
-----END PGP SIGNATURE-----

--=_v_csBjtOJh6iA659avzfbA1--
