[X2Go-User] X2Go and a complex command

Stefan Baur X2Go-ML-1 at baur-itcs.de
Wed Nov 1 14:43:20 CET 2017


Hi James,

Am 01.11.2017 um 14:06 schrieb James M. Pulver:
> I'm having some issue with a session command. I'm trying to launch x2go
> and have it run
> xterm -e 'qrsh -q interactive.q -pe sge_pe 1 -l m_core=1
> /nfs/opt/ImageJ/ImageJ'
> 
> This command works when run manually, and other commands like
> xterm -e 'qrsh -q interactive.q -pe sge_pe 1 -l m_core=1 matlab -desktop'
> work also.
> 
> I get an error from x2go saying
> 
> Connection Failed bash: -c: line 0: unexpected EOF while looking for
> matching `"
> bash: -c: line1: syntax error: unexpected end of file
> 
> I got this with 4.0.2.0 with sh substituted for bash above, then tried
> 4.1.0.0 on Windows 7 x64.
> 
> Any ideas?

I would suggest putting the command in a script file, then starting the
script file via X2Go.
Quotes and pipes do tend to confuse X2GoClient here.

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20171101/49ae6c73/attachment.sig>


More information about the x2go-user mailing list