X2Go Bug report logs - #79
x2goruncommand is not "user friendly"

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

Reported by: Reinhard Tartler <siretart@gmail.com>

Date: Thu, 6 Dec 2012 13:48:02 UTC

Severity: wishlist

Full log


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

Received: (at 79) by bugs.x2go.org; 6 Dec 2012 14:17:24 +0000
From mike.gabriel@das-netzwerkteam.de  Thu Dec  6 15:17:24 2012
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id 0C1053BC43;
	Thu,  6 Dec 2012 15:17:24 +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 A94DB36F;
	Thu,  6 Dec 2012 15:17:23 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 96D313C03A;
	Thu,  6 Dec 2012 15:17:23 +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 kJfGdAKiC5qg; Thu,  6 Dec 2012 15:17:23 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 6C5BA3BFE1;
	Thu,  6 Dec 2012 15:17:23 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 4D51B3BBEA;
	Thu,  6 Dec 2012 15:17:23 +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
	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 E5F073BBF1; Thu,  6 Dec 2012 15:17:22 +0100 (CET)
Received: from nocatv2.tng.de (nocatv2.tng.de [213.178.75.58]) by
 mail.das-netzwerkteam.de (Horde Framework) with HTTP; Thu, 06 Dec 2012
 15:17:22 +0100
Message-ID: <20121206151722.14666sqe3o3u6eia@mail.das-netzwerkteam.de>
X-Priority: 3 (Normal)
Date: Thu, 06 Dec 2012 15:17:22 +0100
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Reinhard Tartler <siretart@gmail.com>, 79@bugs.x2go.org,
 x2go-dev@lists.berlios.de
Cc: control@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#79: x2goruncommand is not "user friendly"
References:  <CAJ0cceYUDjWXtoRMVoe-q9-ZWe6v-U7E6SFMwbPktZFE2ocZjQ@mail.gmail.com>
In-Reply-To:  <CAJ0cceYUDjWXtoRMVoe-q9-ZWe6v-U7E6SFMwbPktZFE2ocZjQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed;
 boundary="=_6n1wtc0e8836";
 protocol="application/pgp-signature";
 micalg="pgp-sha1"
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.3.4)
[Message part 1 (text/plain, inline)]
severity #79 wishlist
thanks

Hi Reinhard,

On Do 06 Dez 2012 14:44:03 CET Reinhard Tartler wrote:

> Package: x2goserver
>
> It seems that x2goruncommand is not supposed to be called directly by
> the user. Calling it without parameters yields to:
>
>>> x2goruncommand
> /usr/bin/x2goruncommand: Zeile 46:
> /home/inf4/tartler/.x2go/C-/cmdoutput: Datei oder Verzeichnis nicht
> gefunden
> /usr/bin/x2goruncommand: Zeile 262:
> /home/inf4/tartler/.x2go/C-/cmdoutput: Datei oder Verzeichnis nicht
> gefunden
> kill: Gebrauch: kill [-s Signalname | -n Signalnummer | -Signalname]
> [pid | job] ... oder kill -l [Signalname]
> Died at /usr/lib/x2go/x2gochangestatus line 35.
> argument "session_id" missed at /usr/lib/x2go/x2godbwrapper.pm line 575.
>
>
> The fact that it is installed by default into /usr/bin makes it appear
> in the tab-completion of modern shells such as bash and implies that
> users are supposed to call it directly.

Agreed! So with many other X2Go commands in /usr/bin. The reason is  
that the client implementations currently expect to find the x2go*  
commands in $PATH.

> I would suggest to either: a) make it robust against wrong calling
> usage, b) place it in /usr/lib/x2go/x2goruncommand instead, or c)
> both.

a) is the way to go...

Mike

-- 

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.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: Sat Nov 23 10:09:52 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.