Hi Seba, (...diverting this thread to the x2go-dev mailing list...)
On Mi 25 Jul 2012 17:24:53 CEST sebastien seba wrote:
When a user have /bin/tcsh for default shell, this user unable open session on centos 6.3 and x2goserver The error message is “connection failed export: command not found.”
There is no workaround, it is (still) a bug in x2goclient and also was a bug in python-x2go.
The bug in python-x2go has been fixed with this commit: http://code.x2go.org/gitweb?p=python-x2go.git;a=commitdiff;h=588ba614baf0ba689a9ec6870284bcd02b4469ae The bug in x2goclient is the same and should be fixable with something like diff --git a/sshprocess.cpp b/sshprocess.cpp index e8f0ea6..06de599 100644 --- a/sshprocess.cpp +++ b/sshprocess.cpp @@ -130,7 +130,8 @@ void SshProcess::tunnelLoop() void SshProcess::startNormal(const QString& cmd) { - masterCon->addChannelConnection(this, cmd); + QString shcmd = "sh -c \""+cmd+"\""; + masterCon->addChannelConnection(this, shcmd);connect(masterCon,SIGNAL(stdOut(SshProcess*,QByteArray)),this,SLOT(slotStdOut(SshProcess*,QByteArray))); connect(masterCon,SIGNAL(channelClosed(SshProcess*)), this,SLOT(slotChannelClosed(SshProcess*)));
}However, I am not a C++ coder and the above is not correct. Alex, can you take a look at this? Or Mihai?
Thanks guys, Mike -- DAS-NETZWERKTEAM mike gabriel, rothenstein 5, 24214 neudorf-bornstein fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
pgpNDvIPx5i7N.pgp
Description: Digitale PGP-Unterschrift
_______________________________________________ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev