You were right on. /etc/hosts was not present on my Mac and putting a localhost entry in there fixed it. Thanks a lot.
I'm still experiencing the same scrambled keyboard issue as before but I can probably work around that in the same way I reported some time ago.
On Tue, Dec 25, 2018 at 8:54 AM Stefan Baur <X2Go-ML-1@baur-itcs.de> wrote:
Am 25.12.18 um 16:15 schrieb Darby Vicker:
Hello,
I've used x2go on a very similar setup in the past but I'm running into a problem on a new installation. I've installed x2goserver on a CentOS 7.5 machine - simply a yum install via EPEL. I'm trying to connect from a Mac running 10.13. I can ssh password free between the machines with no issues. When I try to connect with x2go, I get this in my client window:
Error: Failed to resolve address of 'localhost'. Loop: PANIC! Unknown remote host 'localhost'. Error: Unknown remote host 'localhost'. Session: Session terminated at 'Tue Nov 27 08:06:01 2018'.
On the server side, I see this in /var/og/messages:
Nov 27 08:06:01 valkyrie /usr/bin/x2gostartagent: successfully started X2Go Agent session with ID dvicker-51-1543331158_stDMATE_dp32
The server machine is in our local DNS and I've made sure the IP address is in /etc/hosts and matches the hostname. Any idea what is going on here? Is there a way to disable the host lookup?
Well, it complains about "localhost" being unresolvable, not the actual DNS name. Soooo ... does your hosts file (on the Mac) contain an entry for "localhost" and "127.0.0.1"? My guess is that X2GoClient is trying to connect to XQuartz via that name, so if there's no entry for it, it can't find the local X server you need to have running on the client (which, in the case of macOS, is XQuartz).
-Stefan
-- 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 x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user