Thanks... got some help in the IRC channel. Changed a line on the remote server in /etc/bashrc from mesg y to tty -s && mesg y and after doing that when trying to connect the x2go client gave a more helpful message, namely that it required XQuartz to be installed. After installing that I was able to get things working.
-J On Thu, Oct 5, 2017 at 8:10 AM, Stefan Baur <[email protected]> wrote: > 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 > > > _______________________________________________ > x2go-user mailing list > [email protected] > https://lists.x2go.org/listinfo/x2go-user >
_______________________________________________ x2go-user mailing list [email protected] https://lists.x2go.org/listinfo/x2go-user
