From unknown Sun Apr 26 10:57:11 2026
MIME-Version: 1.0
X-Mailer: MIME-tools 5.502 (Entity 5.502)
X-Loop: git-admin@x2go.org
From: git-admin@x2go.org (X2Go Bug Tracking System)
Subject: Bug#140 closed by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
 (Re: [X2Go-Dev] Bug#140: x2gobroker: agent-query-mode in sessionprofiles
 ignored)
Message-ID: <handler.140.c.136259174232431.notifdone@bugs.x2go.org>
References: <20130306184221.208478rhytsrn119@mail.das-netzwerkteam.de>
X-X2go-PR-Keywords: wontfix
X-X2go-PR-Message: they-closed 140
X-X2go-PR-Package: x2gobroker
X-X2go-PR-Source: x2gobroker
Date: Wed, 06 Mar 2013 17:42:39 +0000
Content-Type: multipart/mixed; boundary="----------=_1362591759-32444-0"

This is a multi-part message in MIME format...

------------=_1362591759-32444-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

This is an automatic notification regarding your Bug report
which was filed against the x2gobroker package:

#140: x2gobroker: agent-query-mode in sessionprofiles ignored

It has been closed by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mike Gabriel <mike.gab=
riel@das-netzwerkteam.de> by
replying to this email.


--=20
X2Go Bug Tracking System
Contact git-admin@x2go.org with problems

------------=_1362591759-32444-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at control) 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
Subject: Re: [X2Go-Dev] Bug#140: x2gobroker: agent-query-mode in
 sessionprofiles ignored
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--

------------=_1362591759-32444-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.x2go.org; 6 Mar 2013 14:22:54 +0000
Received: from eu1sys200aog108.obsmtp.com (eu1sys200aog108.obsmtp.com [207.126.144.125])
	by ymir (Postfix) with SMTP id 787B95DB0D
	for <submit@bugs.x2go.org>; Wed,  6 Mar 2013 15:22:54 +0100 (CET)
Received: from mail-ie0-f198.google.com ([209.85.223.198]) (using TLSv1) by eu1sys200aob108.postini.com ([207.126.147.11]) with SMTP
	ID DSNKUTdRPmlboH7znEqOICUoFysh8gZnXhZM@postini.com; Wed, 06 Mar 2013 14:22:54 UTC
Received: by mail-ie0-f198.google.com with SMTP id 17so45777822iea.5
        for <submit@bugs.x2go.org>; Wed, 06 Mar 2013 06:22:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=dsl.dk; s=google;
        h=x-received:mime-version:x-received:date:message-id:subject:from:to
         :content-type;
        bh=qQ5oCcksKV6wIyAuX0ven4vyUHx8mIC6aHlgGN84fFo=;
        b=PS7MedZluj1EonKMEX1KwNRxOB/vFm5MhCRnY5eNuhj/4gxfcBStVlo3Tkf37z+D1N
         OGYFHX8YX1V2skptnzxFsu1iqGqLJ0TxZeq3yXez1kEFcnRloAgpyjNFVy33ld+dRJMe
         5BPf0vFS+4ZONpp7/XMt82roHxBPCr1DwHNCY=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=google.com; s=20120113;
        h=x-received:mime-version:x-received:date:message-id:subject:from:to
         :content-type:x-gm-message-state;
        bh=qQ5oCcksKV6wIyAuX0ven4vyUHx8mIC6aHlgGN84fFo=;
        b=CwK/Sl1Y4ANWDWTh/2krPCV2hqk98Lqb+5lpk8ox75NEexusWb5zoKdOStI35LEeA8
         Bx8NU4jnUuACwVBCRTPlvleLV1uyuWrLgr8So55vhQznerEhul7fcOPRMtY+nH2NjxzY
         Hxsmr8CH6qW8TfU8r7C+R7M+YAHqnS8Ugsl3jM3WFB3QHNPKAmAbiWaQeCwve3gQIRsd
         0C1+Yo/OBuCwcuMXr68t2UTo3bk00C8e87M1J0+ESCuZOoa3HjUGPcTj8rY353tDWxQr
         cfwhJp2Qoj5o0xwtxlYiIJNrPKhxFyyEiAwQ0TQEnVcHiJ6qA7kif7Stxf7VEYGln97L
         RLYA==
X-Received: by 10.60.1.225 with SMTP id 1mr22463833oep.141.1362579773061;
        Wed, 06 Mar 2013 06:22:53 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.60.1.225 with SMTP id 1mr22463819oep.141.1362579772849; Wed,
 06 Mar 2013 06:22:52 -0800 (PST)
Received: by 10.182.95.211 with HTTP; Wed, 6 Mar 2013 06:22:52 -0800 (PST)
Date: Wed, 6 Mar 2013 15:22:52 +0100
Message-ID: <CAFJm-UP+K-ND-5syc0urRGxUr5EzizeKnuDzoaoDrcUGuyD2Uw@mail.gmail.com>
Subject: x2gobroker: agent-query-mode in sessionprofiles ignored
From: Anders Bruun Olsen <abo@dsl.dk>
To: submit@bugs.x2go.org
Content-Type: multipart/alternative; boundary=e89a8fb1fbba56d79004d74253dd
X-Gm-Message-State: ALoCoQnkBmdSKErveJ/e0cJFX7mBJU/765VxS7BX67zv07a81w22jMjuaZ3q9BEavXjHYwii4vSvPY13rF88cIBoQXmIag4lASyqsSx5dWzhkD+6I/p6jyjufO0LW3Skk85Uu0Ut2C+7Itj0rBSrytY8BOItfyT2lQ==

--e89a8fb1fbba56d79004d74253dd
Content-Type: text/plain; charset=UTF-8

Package: x2gobroker
Version: 0.0.0.6

Having agent-query-mode=SSH set in a profile in
/etc/x2go/broker/x2gobroker-sessionprofiles.conf is ignored. Instead
default-agent-query-mode from /etc/x2go/x2gobroker.conf is used.
When trying to login with x2goclient, this is logged on x2gobroker:

2013-03-06 15:17:23,997 - broker - DEBUG -
base_broker.X2GoBroker.get_agent_query_mode(): found
default-agent-query-mode in global config section: local

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 the
problem?

-- 
Anders Bruun Olsen
It-ansvarlig
Det Danske Sprog- og Litteraturselskab
(Society for Danish Language and Literature)

--e89a8fb1fbba56d79004d74253dd
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Package: x2gobroker<div>Version: 0.0.0.6</div><div><br></d=
iv><div>Having agent-query-mode=3DSSH set in a profile in /etc/x2go/broker/=
x2gobroker-sessionprofiles.conf is ignored. Instead default-agent-query-mod=
e from /etc/x2go/x2gobroker.conf is used.</div>
<div>When trying to login with x2goclient, this is logged on x2gobroker:</d=
iv><div><br></div><div>2013-03-06 15:17:23,997 - broker - DEBUG - base_brok=
er.X2GoBroker.get_agent_query_mode(): found default-agent-query-mode in glo=
bal config section: local</div>
<div><br></div><div>I see that the new autologin (which works) uses self.ge=
t_profile_broker() instead of self.config to access settings. This might be=
 the source of the problem?<br clear=3D"all"><div><br></div>-- <br>Anders B=
ruun Olsen<br>
It-ansvarlig<br>Det Danske Sprog- og Litteraturselskab<br>(Society for Dani=
sh Language and Literature)<br>
</div></div>

--e89a8fb1fbba56d79004d74253dd--

------------=_1362591759-32444-0--
