[X2Go-User] Problem connecting from Mac to Linux

Stefan Baur X2Go-ML-1 at baur-itcs.de
Tue Dec 25 16:36:00 CET 2018


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


More information about the x2go-user mailing list