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. 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 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
We don't have the server machine in DNS yet so I'm using the IP address for now. I've made sure the IP address is in /etc/hosts of the server machine and matches the hostname.
Any other ideas? Is there a way to disable the host lookup?
Darby
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?
Darby
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
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
Am 25.12.18 um 17:02 schrieb Darby Vicker:
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.
Do make sure you're using the latest version of the X2GoClient; we had a regression a while back that messed up keyboard settings on macOS and you might have been affected by that. According to the changelog, it was fixed in 4.1.2.0, released 2018-06-23.
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
At first I was using the latest client but I had downgraded to the client version that matched our sever (x2goserver-4.1.0.0-1.el7.x86_64). But I just tried the latest (4.1.2.1) and that didn't help - still have a scrambled keyboard. Specifically, this thread:
http://lists.x2go.org/pipermail/x2go-user/2015-October/003550.html
On Tue, Dec 25, 2018 at 10:05 AM Stefan Baur <X2Go-ML-1@baur-itcs.de> wrote:
Am 25.12.18 um 17:02 schrieb Darby Vicker:
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.
Do make sure you're using the latest version of the X2GoClient; we had a regression a while back that messed up keyboard settings on macOS and you might have been affected by that. According to the changelog, it was fixed in 4.1.2.0, released 2018-06-23.
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