X2Go Bug report logs - #720
Unrecognized arguments when using --broker-krblogin

version graph

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

Reported by: Matthew Richardson <m.richardson@ed.ac.uk>

Date: Tue, 6 Jan 2015 18:30:01 UTC

Severity: important

Tags: pending

Fixed in version 4.0.3.2

Done: X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#720: [X2Go-Dev] Bug#720: Unrecognized arguments when using --broker-krblogin
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 720@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: Thu, 08 Jan 2015 15:15:01 +0000
Resent-Message-ID: <handler.720.B720.142072996116937@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 720
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by 720-submit@bugs.x2go.org id=B720.142072996116937
          (code B ref 720); Thu, 08 Jan 2015 15:15:01 +0000
Received: (at 720) by bugs.x2go.org; 8 Jan 2015 15:12:41 +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 BA95C5DB53
	for <720@bugs.x2go.org>; Thu,  8 Jan 2015 16:12:39 +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 6F9252F52;
	Thu,  8 Jan 2015 16:12:39 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 587C43BB45;
	Thu,  8 Jan 2015 16:12:39 +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 PEFBj9GZcTPe; Thu,  8 Jan 2015 16:12:39 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 0B4193BAED;
	Thu,  8 Jan 2015 16:12:39 +0100 (CET)
Received: from bifrost.das-netzwerkteam.de (bifrost.das-netzwerkteam.de
 [178.62.101.154]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Thu, 08 Jan 2015 15:12:38 +0000
Date: Thu, 08 Jan 2015 15:12:38 +0000
Message-ID: <20150108151238.Horde.htV_OpO95AQMwsHYccYEYw3@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Matthew Richardson <m.richardson@ed.ac.uk>, 720@bugs.x2go.org
In-Reply-To: <54AC203F.4050508@ed.ac.uk>
User-Agent: Internet Messaging Program (IMP) H5 (6.2.2)
Accept-Language: en,de
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 178.62.101.154
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="=_sqLQipqShOJ667vZHwW7Tg2";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Hi Matthew,

On  Di 06 Jan 2015 18:49:51 CET, Matthew Richardson wrote:

> I am running x2goclient using the following cmd-line options:
>
> x2goclient --debug --broker-krblogin
> --broker-url=ssh://broker.example.com:22/usr/bin/x2gobroker
>
> This returns a suitable session from the broker, but then fails to
> connect, giving an error about invalid arguments:
>
> x2go-DEBUG-../onmainwindow.cpp:2199> Reading 1 session from config file.
> x2go-DEBUG-../onmainwindow.cpp:2803> Starting session via smartcard,
> ssh-agent or kerberos token.
> x2go-DEBUG-../httpbrokerclient.cpp:282> called selectUserSessions
> x2go-DEBUG-../httpbrokerclient.cpp:467> "usage: x2gobroker.orig [-h] [-M
> BROKER_MODE] [-C CONFIG_FILE] [-d] [-i]
>                        [-b BIND_ADDRESS] [-D] [-P PIDFILE] [-L LOGDIR]
>                        [--task BROKER_TASK] [--user USER_NAME]
>                        [--auth-cookie AUTH_ID] [--profile-id PROFILE_ID]
>                        [--backend BROKER_BACKEND]
> x2gobroker.orig: error: unrecognized arguments: echo
> X2GODATAEND:4fc77554-09cf-446a-bd44-1c2abaf8238d
> "
>
> If I run the client without the '--broker-krblogin' option, and
> authenticate to the broker using password or ssh key, this error never
> appears and the connection to the server (from the downloaded session)
> succeeds.
>
> I tried replacing the x2gobroker with a wrapper that calls it via
> strace, and I see the following in the strace output:
>
> execve("/usr/bin/x2gobroker.orig", ["/usr/bin/x2gobroker.orig",
> "--user", "mrichar1", "--authid",
> "f4d2e31c-8438-4cd3-8248-4b35f86e07ff", "--task", "selectsession",
> "--sid", "pool-icewm;", "echo",
> "X2GODATAEND:9c607aa1-a3c3-4c29-a7dc-36847ec8ceb0"], [/* 24 vars */])
>
> I notice that the semi-colon separating the sid value and the subsequent
> command appears inside the sid value quotes, which seems wrong - indeed
> running this as a test gives:
>
> x2gobroker --debug --sid "test;" true
>
> x2gobroker.orig: error: unrecognized arguments: true
>
> Can this quoting be sorted out to allow the use of the --broker-krblogin
> option?


This one's a nasty issue. I will take a look.

Mike


-- 

DAS-NETZWERKTEAM
mike gabriel, 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.xfb
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Apr 18 01:49:37 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.