Hi,
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.”
This user must have /bin/tcsh for default shell
How work around?
sebastien.
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=588ba614baf0ba6... 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.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Hi Seba, hi all,
On Mi 25 Jul 2012 22:39:26 CEST Mike Gabriel wrote:
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.”
The bug in x2goclient is the same and should be fixable with something like
x2goclient has been fixed: http://code.x2go.org/gitweb?p=x2goclient.git;a=commitdiff;h=5e5eb0cfffc514ee...
Packages (Linux only for now) are currently building for our nightly
builds repositories:
http://wiki.x2go.org/doku.php/wiki:development:nightly-builds
Also see my blog on this issue on: http://blog.x2go.org/index.php/2012/07/26/x2go-sessions-startups-for-users-w...
Thanks for reporting! Mike
--
DAS-NETZWERKTEAM mike gabriel, rothenstein 5, 24214 neudorf-bornstein 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 Do 26 Jul 2012 11:40:51 CEST Mike Gabriel wrote:
Also see my blog on this issue on: [...]
The above, of course, had to be...
,,Also see my post on our blog on this issue on: [..URL..]''
Mike
--
DAS-NETZWERKTEAM mike gabriel, rothenstein 5, 24214 neudorf-bornstein 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...