Tom Harris | 27 Jul 21:32 2013
Picon

Re: 'Connection failed sh: 1: Syntax error: "(" unexpected'

I had seen some problems similar to this in the past when the user account used a shell other than bash.   In the Ubuntu I was using, the default shell was /bin/sh, which failed.   I also saw tickets regarding issues with tcsh.


So, I would confirm you're using /bin/bash and test again.

On Sat, Jul 27, 2013 at 9:47 AM, Barnet Wagman <bw-iQ8/ux7sCC4AvxtiuMwx3w@public.gmane.org> wrote:
I received the following error message while attempting to connect:

Connection failed sh: 1: Syntax error: "(" unexpected

x2go had been working correctly. I assume that some shell script got corrupted.  Does anyone know what shells script get calls when x2go connects?  The error appears in a popup window in the x2go client.

thanks


PS my configuration is

Server:
Debian wheezy
xfce4
x2goserver 4.0.1.3-0

Client:
OS X 10.7.5
MacPorts x2goclient.app 4.0.1.0

_______________________________________________
X2Go-User mailing list
X2Go-User-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org
https://lists.berlios.de/mailman/listinfo/x2go-user

<div>
<p>I had seen some problems similar to this in the past when the user account used a shell other than bash. &nbsp; In the Ubuntu I was using, the default shell was /bin/sh, which failed. &nbsp; I also saw tickets regarding issues with tcsh.</p>
<div>
<br>
</div>
<div>So, I would confirm you're using /bin/bash and test again.<br><br><div class="gmail_quote">On Sat, Jul 27, 2013 at 9:47 AM, Barnet Wagman <span dir="ltr">&lt;<a href="mailto:bw@..." target="_blank">bw@...</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">

    

  <div bgcolor="#FFFFFF" text="#000000">

    I received the following error message while attempting to connect:<br><span><br></span>
    <blockquote>Connection failed sh: 1: Syntax error: "(" unexpected<br><br>
</blockquote>
    x2go had been working correctly. I assume that some shell script got
    corrupted.&nbsp; Does anyone know what shells script get calls when x2go
    connects?&nbsp; The error appears in a popup window in the x2go client.<br><br>
    thanks<br><br><br>
    PS my configuration is<br><br>
    Server:<br><blockquote>Debian wheezy<br>
      xfce4<br>
      x2goserver 4.0.1.3-0<br>
</blockquote>
    <br>
    Client:<br><blockquote> OS X 10.7.5<br>
      MacPorts x2goclient.app 4.0.1.0<br>
</blockquote>

    

  </div>

<br>_______________________________________________<br>
X2Go-User mailing list<br><a href="mailto:X2Go-User@...">X2Go-User@...</a><br><a href="https://lists.berlios.de/mailman/listinfo/x2go-user" target="_blank">https://lists.berlios.de/mailman/listinfo/x2go-user</a><br>
</blockquote>
</div>
<br>
</div>
</div>

Gmane