HI Frank,

I sent a message about something similar a short while ago: http://lists.x2go.org/pipermail/x2go-user/2017-September/004539.html . Unfortunately, I didn't receive any responses. 

Thanks for pointing out the article from 2012; I was not aware of it. 

In our particular case, I think the workaround was to remove the bash-related dotfiles from the user's home directory and/or to modify the PATH in $HOME/.bash* . But this is not an easily generalized solution. I suppose we could have tried modifying the x2go run script in some way, but I haven't gone down that road yet.

-- Marlin


On Sat, Oct 7, 2017 at 7:07 AM, Frank Steiner <fsteiner-mail1@bio.ifi.lmu.de> wrote:
Hi,

we just tried to x2go for the first time (client 4.0.5.2 server 4.0.1
on SLED 12). It works fine for users with bash as login shell on the
server side, but fails for those with tcsh.

According to
http://blog.x2go.org/index.php/2012/07/26/x2go-sessions-startups-for-users-with-non-bash-like-shells-e-g-tcsh-and-alike/
this should have been fixed a while ago, but it seems to have returned.

I couldn't see any difference neither in the server log (debug level)
nor in the output of "x2goclient --debug". The clients are identical until
the line

x2go-DEBUG-../src/onmainwindow.cpp:6014> Proxy wrote on stderr: "Session: Session started at 'Fri Oct  6 16:43:09 2017'.

and then the tcsh instance exits with
Warning: Protocol mismatch or no X authentication data.

while the bash version continues with
x2go-DEBUG-../src/onmainwindow.cpp:6014> Proxy wrote on stderr: "Info: Established X server connection.

The server logs are identical until the line
2017-10-06T16:43:09.173981+02:00 knuth /usr/lib/x2go/x2gocreatesession[21667]: db_createsession called, session ID: fst-76-1507300986_stDmwm_dp24, cookie: 7b94de4d7f6bdbcda01a3dc547c42f66, client: xx:xx:xx:xx, pid: 21620, graphics port: 35760, sound port: 35761, file sharing port: 35762

and then the tcsh instance  exits with
2017-10-06T16:43:15.007175+02:00 knuth sshd[21228]: pam_unix(sshd:session): session closed for user fst
2017-10-06T16:43:15.011998+02:00 knuth systemd-logind[9940]: Removed session 59.


Is this problem known already? Sth. I could try to solve it? We wouldn't
like to force all our users to switch away from their tcsh...

cu,
Frank


--
Dipl.-Inform. Frank Steiner   Web:  http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik    Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17           Phone: +49 89 2180-4049
80333 Muenchen, Germany       Fax:   +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
_______________________________________________
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user