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 #5 received at submit@bugs.x2go.org (full text, mbox, reply):

Received: (at submit) by bugs.x2go.org; 6 Dec 2012 13:44:05 +0000
From siretart@gmail.com  Thu Dec  6 14:44:05 2012
Received: from mail-ob0-f179.google.com (mail-ob0-f179.google.com [209.85.214.179])
	by ymir (Postfix) with ESMTPS id D0BC23BC43
	for <submit@bugs.x2go.org>; Thu,  6 Dec 2012 14:44:04 +0100 (CET)
Received: by mail-ob0-f179.google.com with SMTP id x4so5883798obh.24
        for <submit@bugs.x2go.org>; Thu, 06 Dec 2012 05:44:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:date:message-id:subject:from:to:content-type;
        bh=IOSqIR8jD+bpxUxaxu4/fe6fYgmTeXY+MTyKUt+9y/s=;
        b=N1JdoUTf0z4Gzi82J/jqwAexYLr8KNIL48GSKYAAfe1Y7eiT6Q9WgWXWtf0oRu1W2d
         aKoPb/OnOumWnRau9mwXTbMz0z7PQd1dfIKzNrptHb4sipL9lyFME0Skds6Wpf1/EPQK
         0znALTQvDgnl/0wji5Ov1zwapq/3O15TS9AdU1k7INw07Rw40kzz0F+VjAAG1HEKehXx
         CdGkR+6RbHt0WVhxI02IV2wAmbceiUF9xdHZDyznb98ZKRSR64iOOg5sO2R+HYNsmTLk
         jmNTjAOievj2PfTL6nkrMRSkoQjVItPWnK1dy3G6nWMBmSGNtavrqdenVWvKXxIRdXBk
         pCBA==
MIME-Version: 1.0
Received: by 10.182.92.70 with SMTP id ck6mr835817obb.46.1354801443113; Thu,
 06 Dec 2012 05:44:03 -0800 (PST)
Received: by 10.60.25.71 with HTTP; Thu, 6 Dec 2012 05:44:03 -0800 (PST)
Date: Thu, 6 Dec 2012 14:44:03 +0100
Message-ID: <CAJ0cceYUDjWXtoRMVoe-q9-ZWe6v-U7E6SFMwbPktZFE2ocZjQ@mail.gmail.com>
Subject: x2goruncommand is not "user friendly"
From: Reinhard Tartler <siretart@gmail.com>
To: submit@bugs.x2go.org
Content-Type: text/plain; charset=ISO-8859-1
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.

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.

-- 
regards,
    Reinhard

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Mar 28 13:04: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.