[X2Go-Dev] Bug#79: x2goruncommand is not "user friendly"

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Thu Dec 6 15:17:22 CET 2012


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 at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20121206/8609bc58/attachment.pgp>


More information about the x2go-dev mailing list