X2Go Bug report logs - #140
x2gobroker: agent-query-mode in sessionprofiles ignored

version graph

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

Reported by: Anders Bruun Olsen <abo@dsl.dk>

Date: Wed, 6 Mar 2013 14:33:01 UTC

Severity: normal

Tags: wontfix

Found in version

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log

Message #15 received at 140@bugs.x2go.org (full text, mbox, reply):

Received: (at 140) by bugs.x2go.org; 6 Mar 2013 17:15:32 +0000
From abo@dsl.dk  Wed Mar  6 18:15:32 2013
Received: from eu1sys200aog104.obsmtp.com (eu1sys200aog104.obsmtp.com [])
	by ymir (Postfix) with SMTP id 83FE95DB0D
	for <140@bugs.x2go.org>; Wed,  6 Mar 2013 18:15:32 +0100 (CET)
Received: from mail-ia0-f200.google.com ([]) (using TLSv1) by eu1sys200aob104.postini.com ([]) with SMTP
	ID DSNKUTd5tMx4Vkff+1rUsz5/mM4v/+n0YYx+@postini.com; Wed, 06 Mar 2013 17:15:32 UTC
Received: by mail-ia0-f200.google.com with SMTP id u20so31039488iag.3
        for <140@bugs.x2go.org>; Wed, 06 Mar 2013 09:15:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=dsl.dk; s=google;
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=google.com; s=20120113;
X-Received: by with SMTP id z5mr23429975obu.24.1362590127407;
        Wed, 06 Mar 2013 09:15:27 -0800 (PST)
MIME-Version: 1.0
X-Received: by with SMTP id z5mr23429955obu.24.1362590127043; Wed,
 06 Mar 2013 09:15:27 -0800 (PST)
Received: by with HTTP; Wed, 6 Mar 2013 09:15:26 -0800 (PST)
In-Reply-To: <20130306180730.1027260dp4d6wdsi@mail.das-netzwerkteam.de>
References: <CAFJm-UP+K-ND-5syc0urRGxUr5EzizeKnuDzoaoDrcUGuyD2Uw@mail.gmail.com>
Date: Wed, 6 Mar 2013 18:15:26 +0100
Message-ID: <CAFJm-UM+1-oOBUf5Y_TDqWHO+qBHTB7E3X-AZ10MH13HgcVxbw@mail.gmail.com>
Subject: Re: [X2Go-Dev] Bug#140: x2gobroker: agent-query-mode in
 sessionprofiles ignored
From: Anders Bruun Olsen <abo@dsl.dk>
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Cc: 140@bugs.x2go.org
Content-Type: multipart/alternative; boundary=f46d044785337f4c3204d744bc29
X-Gm-Message-State: ALoCoQls6gvIww0HvptCUyaFMHjRxNteKjCG7Y4vQfqmFNivFR3EXaMsLHNgQp4wQP0XwPGiMvXRIZYR27TXinB+D35YvnSWFGFXWlXJ2jwBrxE1bqn2wq6+BuNPuiQaF0yNuSaSURHe2YPTFcBkFV3LFWHjDM7MWg==
[Message part 1 (text/plain, inline)]
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 the
>> 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 the
> exact line?

In branch from git:
abo@x2go-broker:~/x2gobroker/x2gobroker$ grep -n self.get_profile_broker
478:        _profile = self.get_profile_broker(profile_id)
504:        _profile = 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-mode
wasn't. Since the answer is, that it works as intended, this last part is a
non-issue as well.

Anders Bruun Olsen
Det Danske Sprog- og Litteraturselskab
(Society for Danish Language and Literature)
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu May 30 15:10:40 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.