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
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@norbl.com> wrote:
Hi Tom, hi Barnet
On Sa 27 Jul 2013 21:32:02 CEST Tom Harris wrote:
What is the default shell of the connecting user?
thanks
Please test X2Go Client from a Linux system against the same server.
Use 4.0.1.1 (preview) from the nightly builds. The 4.0.1.1 version has
a --debug cmdline parameter. Activate it and watch the console output
while connecting to that server. Try to locate the debug message that
correlates to the reported Syntax Error and report back to this list.
Thanks. Mike
--
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby 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.xf...
If this is true, x2go's behavior is completely wrong. It shouldn't rely on something like "default" shell but only use scripts with a correct hashbang to be sure they get executed whatever the system *expects*, (x)or be using POSIX features only and thus ensure execution in any POSIX compatible shell (is there any non-POSIX compatible shell?)
Hi Mihai,
On So 28 Jul 2013 05:41:12 CEST Mihai Moldovan wrote:
X2Go Client used to presume /bin/bash as the server-side user shell.
But that has been fixed (I hope) completely. Now server-side commands
are like ,,sh -c ....''. Same with Python X2Go.
My guess about the reported issue is a broken command call in X2Go
Client somewhere. But for this to detect, I need someone who observes
the issue with X2Go Client (4.0.1.1 or newer, version is important,
not yet released) and posts the debug output (x2goclient --debug).
Thanks+Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby 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.xf...
On 27/07/2013 18:47, Barnet Wagman wrote:
That looks suspiciously like your running a 64bit OS and a 32bit application. Could that be possible? I know it seems unlikely, but for what it's worth, I though I'd share it.
regards
Roland