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 0.0.0.6

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

Bug is archived. No further changes may be made.

Full log


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

Received: (at submit) by bugs.x2go.org; 6 Mar 2013 14:22:54 +0000
From abo@dsl.dk  Wed Mar  6 15:22:54 2013
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==
[Message part 1 (text/plain, inline)]
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)
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Wed Nov 6 09:14:16 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.