From unknown Sun Apr 26 10:56:23 2026
X-Loop: git-admin@x2go.org
Subject: Bug#140: x2gobroker: agent-query-mode in sessionprofiles ignored
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 140@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Resent-To: x2go-dev@lists.berlios.de
Resent-CC: X2Go Developers <x2go-dev@lists.berlios.de>
X-Loop: git-admin@x2go.org
Resent-Date: Wed, 06 Mar 2013 17:42:39 +0000
Resent-Message-ID: <handler.140.B140.136259174232430@bugs.x2go.org>
Resent-Sender: git-admin@x2go.org
X-X2Go-PR-Message: followup 140
X-X2Go-PR-Package: x2gobroker
X-X2Go-PR-Keywords: wontfix
Received: via spool by 140-submit@bugs.x2go.org id=B140.136259174232430
          (code B ref 140); Wed, 06 Mar 2013 17:42:39 +0000
Received: (at 140) by bugs.x2go.org; 6 Mar 2013 17:42:22 +0000
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id C98005DB0D;
	Wed,  6 Mar 2013 18:42:22 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 9E3121068;
	Wed,  6 Mar 2013 18:42:22 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 836AC3B9B1;
	Wed,  6 Mar 2013 18:42:22 +0100 (CET)
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 AxEbamzOdibE; Wed,  6 Mar 2013 18:42:22 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 6187D3BACC;
	Wed,  6 Mar 2013 18:42:22 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 4034F3B9B1;
	Wed,  6 Mar 2013 18:42:22 +0100 (CET)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	grimnir.das-netzwerkteam.de
X-Spam-Flag: NO
X-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00,
	MIME_QP_LONG_LINE,URIBL_BLOCKED autolearn=ham version=3.3.1 running as userid=
X-Spam-Level: 
X-Spam-Bayes-Score: 0.0000
Received: by grimnir.das-netzwerkteam.de (Postfix, from userid 33)
	id F008F3BA89; Wed,  6 Mar 2013 18:42:21 +0100 (CET)
Received: from fylgja.das-netzwerkteam.de (fylgja.das-netzwerkteam.de
 [78.46.204.97]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Wed, 06 Mar 2013 18:42:21 +0100
Message-ID: <20130306184221.208478rhytsrn119@mail.das-netzwerkteam.de>
X-Priority: 3 (Normal)
Date: Wed, 06 Mar 2013 18:42:21 +0100
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Anders Bruun Olsen <abo@dsl.dk>
Cc: 140@bugs.x2go.org, control@bugs.x2go.org
References:  <CAFJm-UP+K-ND-5syc0urRGxUr5EzizeKnuDzoaoDrcUGuyD2Uw@mail.gmail.com>
 <20130306180730.1027260dp4d6wdsi@mail.das-netzwerkteam.de>
 <CAFJm-UM+1-oOBUf5Y_TDqWHO+qBHTB7E3X-AZ10MH13HgcVxbw@mail.gmail.com>
In-Reply-To:  <CAFJm-UM+1-oOBUf5Y_TDqWHO+qBHTB7E3X-AZ10MH13HgcVxbw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed;
 boundary="=_766ipbhioa9p";
 protocol="application/pgp-signature";
 micalg="pgp-sha1"
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.3.4)

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

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

close #140
thanks

Hi Anders,

On Mi 06 M=C3=A4r 2013 18:15:26 CET Anders Bruun Olsen wrote:

> 2013/3/6 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
>>
>> Indeed the option agent-query-mode is ignored in
>> x2gobroker-sessionprofiles.**conf, as it is only available in the backend
>> sections of x2gobroker.conf.
>>
>
> Right. My mistake. My understanding was "per profile", not "per backend",
> even though it clearly says per-broker-backend in the comment. Concept
> confusion I'm afraid.
>
>
>> I see that the new autologin (which works) uses self.get_profile_broker()
>>> instead of self.config to access settings. This might be the source of t=
he
>>> problem?
>>
>> I could not find the usage of self.get_profile_broker() in
>> self.get_agent_query_mode(). If I missed something, can you point me to t=
he
>> exact line?
>>
>
> In branch 0.0.0.6 from git:
> abo@x2go-broker:~/x2gobroker/x2gobroker$ grep -n self.get_profile_broker
> brokers/base_broker.py
> 478:        _profile =3D self.get_profile_broker(profile_id)
> 504:        _profile =3D self.get_profile_broker(profile_id)
>
> But that was just me trying to figure out why the autologin setting was
> being picked up from x2gobroker-sessionprofiles.conf while agent-query-mod=
e
> wasn't. Since the answer is, that it works as intended, this last part is =
a
> non-issue as well.

Marking this issue as done, then.

Mike

--=20

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
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.xf=
b
--=_766ipbhioa9p
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Unterschrift
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAABAgAGBQJRN3/9AAoJEJr0azAldxsx1+IP/RN4fgyNsIrbdnydfdlNOLWp
nOlbnZao4yDL4D3r14LC0oLUWtP+XPEg+XkkUnsrLVbxFsthnJexDJqFHMT1EkM9
/AxarSXBcnls6VHD6BVED6nmsTNNs5asxdJC/nSNMi3zOQCuP3gJrFTRlM3fvmHw
ENwGdwVra0SX6/5NuK7b5sR89zWUxLZKpxj1XkGRlzSvCRAKLU6MDL/ika1y3BYt
Fd8++euKk43IUz0JNrcNGSzwBhXzY0nhhhNJpQ0kxScd4U9OM9hFnMS9VhTJSInu
blNKtNwpVuvT9yzEpYCgkGUL+/7cv4n9XR5UJJvElssxXNpfaZclgsqAhWDu48Cg
aVoLmc8ccaYFIOHbVmiBTSTudpYJm8VFJMliGh8eT84s542s8e1qQcCfoZlYyIXF
kINyhnMbg2ztrHHPlLjVwJHaNoOHLE5bnwuzAqkHmz27XmMhbT8Lm2HwhvY+ZTfZ
8xZ6aJYvM2IqtUEiOgHTfpD+OZT8r/XFSvnzuiIF/qpTsYojiDce+an3JP5iGlaO
h7kZecxh3NxbkIKSnnOSShN8uG8ca8WvyE8QS//NHK48vhhDPhLKdTuW3sK0foaA
N2MN9MiFMvFxkFfbcshyjug2f6aNl09vAcFGtNW/O4OlEQ/ALWiprwcmxSJtqvap
wG3d0T/RFbkMItM0Up7/
=j1yI
-----END PGP SIGNATURE-----

--=_766ipbhioa9p--
