Am 05.10.2017 um 16:34 schrieb Joshua Alexander:
I'm trying to get x2go set up on CentOS 6. When I try to connect the client says "Connection failed. megs: ttyname failed. Invalid argument megs: ttyname failed: Invalid argument"... any ideas how to troubleshoot?
I'd check to make sure that your default shell is bash, and that you don't have any commands in bashrc, profile, ... that require a TTY to be present.
"mesg n" (note: it's "mesg", not "megs") seems like a likely candidate.
Please review the thread <http://lists.x2go.org/pipermail/x2go-user/2015-January/002840.html> - this one should give you an idea which files you need to check.
See e.g. these threads in the list archives, where people had similar issues: <http://lists.x2go.org/pipermail/x2go-user/2016-August/003881.html> <http://lists.x2go.org/pipermail/x2go-dev/2015-December/010789.html> as well as the corresponding bug report <https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=976>
Kind Regards, Stefan Baur
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243