Re: [X2Go-User] Problem connecting from Mac to Linux
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 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 > ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Problem connecting from Mac to Linux
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. S ... 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
[X2Go-User] Problem connecting from Mac to Linux
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 ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Problem connecting via intermediate site
On Mon, Oct 22, 2018 at 09:01:13PM +0200, Stefan Baur wrote: > Am 20.10.18 um 09:58 schrieb Chris Green: > > On Thu, Oct 18, 2018 at 09:55:12PM +0200, Stefan Baur wrote: > >> Am 18.10.18 um 21:40 schrieb Chris Green: > >>> It *only* uses password authentication, no keys, but even when I enter > >>> the right passwords it repeatedly outpus the above error. > >> > >> Have you tried entering the password you believe to be the second > >> password first? > >> > > Yes I'm pretty sure I've tried the two passwords both ways round but I > > will try again just to make sure. > > I think I might have encountered a similar issue today. > > Could you please copy and paste what the login to the intermediate host > looks like on the command line, when you're not using an ssh_config > file, and pretend to log in directly for a shell? > > i.e. something like: > > ssh pi@pi > pi@pi's password: > ^ this is the line I'm curious about > There's nothing, just a prompt:- chris$ ssh cheddar.halon.org.uk Password: chris@cheddar$ -- Chris Green ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Problem connecting via intermediate site
Am 20.10.18 um 09:58 schrieb Chris Green: > On Thu, Oct 18, 2018 at 09:55:12PM +0200, Stefan Baur wrote: >> Am 18.10.18 um 21:40 schrieb Chris Green: >>> It *only* uses password authentication, no keys, but even when I enter >>> the right passwords it repeatedly outpus the above error. >> >> Have you tried entering the password you believe to be the second >> password first? >> > Yes I'm pretty sure I've tried the two passwords both ways round but I > will try again just to make sure. I think I might have encountered a similar issue today. Could you please copy and paste what the login to the intermediate host looks like on the command line, when you're not using an ssh_config file, and pretend to log in directly for a shell? i.e. something like: ssh pi@pi pi@pi's password: ^ this is the line I'm curious about 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 x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Problem connecting via intermediate site
On Thu, Oct 18, 2018 at 09:55:12PM +0200, Stefan Baur wrote: > Am 18.10.18 um 21:40 schrieb Chris Green: > > It *only* uses password authentication, no keys, but even when I enter > > the right passwords it repeatedly outpus the above error. > > Have you tried entering the password you believe to be the second > password first? > Yes I'm pretty sure I've tried the two passwords both ways round but I will try again just to make sure. -- Chris Green ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Problem connecting via intermediate site
Am 18.10.18 um 21:40 schrieb Chris Green: > It *only* uses password authentication, no keys, but even when I enter > the right passwords it repeatedly outpus the above error. Have you tried entering the password you believe to be the second password first? -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
Re: [X2Go-User] Problem connecting via intermediate site
On Thu, Oct 18, 2018 at 09:18:08PM +0200, Stefan Baur wrote: > Am 18.10.18 um 20:33 schrieb Chris Green: > > Can I get x2go to do the same thing somehow? Or, even better, can I > > get x2go to use a connection already set up by ssh in 'ControlMaster' > > mode? > > That "nc" thing in your ssh config looks weird. > What you actually do want is the "proxy" feature in the session config, > activate it, select the SSH proxy, enter the connection info for your > proxy/jump host there, and the connection info for the actual X2Go > server in the usual fields above. > You can either have two session tiles, one with proxy settings enabled, > one with them disabled, or go to the session config and check/unched the > proxy as required. > I'm (fairly) happy to set up two configurations for x2go. I'm not quite sure how to configure the non-LAN one though, how do you configure x2goclient to go 'via' system X to system Y? Is that what x2go's "proxy server" means. Well, I've tried it and I always end up with an error box saying:- SSH proxy connection error: Access denied. Authentication that can continue: publickey,password Access denied. Authentication that can continue: publickey,password It *only* uses password authentication, no keys, but even when I enter the right passwords it repeatedly outpus the above error. -- Chris Green ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Problem connecting via intermediate site
You can replace ProxyCommand + nc by ProxyJump for openssh. X2go uses libssh so it cannot work there. Stefan already posted the solution for that case. Uli Stefan Baur schrieb am Do., 18. Okt. 2018, 21:25: > Am 18.10.18 um 20:33 schrieb Chris Green: > > Can I get x2go to do the same thing somehow? Or, even better, can I > > get x2go to use a connection already set up by ssh in 'ControlMaster' > > mode? > > That "nc" thing in your ssh config looks weird. > What you actually do want is the "proxy" feature in the session config, > activate it, select the SSH proxy, enter the connection info for your > proxy/jump host there, and the connection info for the actual X2Go > server in the usual fields above. > You can either have two session tiles, one with proxy settings enabled, > one with them disabled, or go to the session config and check/unched the > proxy as required. > > 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 > x2go-user@lists.x2go.org > https://lists.x2go.org/listinfo/x2go-user ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Problem connecting via intermediate site
Am 18.10.18 um 20:33 schrieb Chris Green: > Can I get x2go to do the same thing somehow? Or, even better, can I > get x2go to use a connection already set up by ssh in 'ControlMaster' > mode? That "nc" thing in your ssh config looks weird. What you actually do want is the "proxy" feature in the session config, activate it, select the SSH proxy, enter the connection info for your proxy/jump host there, and the connection info for the actual X2Go server in the usual fields above. You can either have two session tiles, one with proxy settings enabled, one with them disabled, or go to the session config and check/unched the proxy as required. 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 x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
[X2Go-User] Problem connecting via intermediate site
I have x2go working perfectly OK when connecting across my LAN, so the basics are OK. However it doesn't work when connecting my laptop when I'm away from home (i.e. not on the LAN). When I'm away from home I connect via an intermediate site to my home system, i.e. in my ~/.ssh/config file I have the following:- # # # esprimo may be remote or local # Match host esprimo exec "hostNotLocal esprimo" ForwardX11 true ProxyCommand ssh cheddar nc -q0 zbmc.eu 22 host esprimo ForwardX11 true So when I'm not on the home LAN I connect via 'cheddar' to my home machine. Can I get x2go to do the same thing somehow? Or, even better, can I get x2go to use a connection already set up by ssh in 'ControlMaster' mode? -- Chris Green ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Problem connecting to Centos 7 (x2go 4.0.1.19).
Ill keep investigating. Many thanks for your input. Best wishes, Will. Sent:Thursday, August 06, 2015 at 1:10 AM From:Mihai Moldovan io...@ionic.de To:Will Smith _wi...@mail.com, x2go-user@lists.x2go.org Subject:Re: [X2Go-User] Problem connecting to Centos 7 (x2go 4.0.1.19). On 05.08.2015 06:37 PM, Will Smith wrote: Dear Mahai, Many thanks for your response. I can ssh localhost from the server no problems. I wasnt talking just about connecting to localhost:22, but connections to localhost with random ports. Indeed, all services on localhost are trsuted. Having investigated further, I can see that it uses the public IP address when attempting to bind to localhost rather than 127.0.0.1 when firewalld is running. Cf. with firewalld running, the logs contain Info: Agent running with pid 204654. Session: Starting session at Wed Aug 5 14:57:49 2015. Info: Proxy running in server mode with pid 204654. Info: Waiting for connection from localhost on port 30011. Warning: Refusing connection from 131.***.***.100. 100 on port 30011, Urgh, yeah. It checks whether the connection comes from 127.0.0.1. If your localhost entry does not map to that, connections WILL fail. and Im unable to connect, but after stopping the firewalld service, and reconnecting, they contain Info: Agent running with pid 214487. Session: Starting session at Wed Aug 5 15:19:53 2015. Info: Proxy running in server mode with pid 214487. Info: Waiting for connection from localhost on port 30011. Info: Accepted connection from 127.0.0.1. Info: Connection with remote proxy completed. and I can connect no problem. The routing table is the same in both cases. My /etc/hosts file contains the localhost line first and the public hostname/IP address line second. Perhaps this is more of a firewalld question, but any further light which can be shed on the issue would be most useful. Maybe your resolver does weird things with firewalld running? In any case, whether firewalld is running or not, localhost should (not just for X2Go, but in general) not resolve to a public IP address. Sadly I have no idea what could be misbehaving, other than the resolver. The hosts file should be prioritized in /etc/nsswitch.conf, but theres probably ways to screw that up. Mihai ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Problem connecting to Centos 7 (x2go 4.0.1.19).
On 05.08.2015 03:30 PM, Will Smith wrote: Dear All, I'm having a stange problem when attemping to connect to my Centos server using x2goclients (Ubuntu mac, 4.0.5.0). I'm running firewalld, but port 22 is unblocked and I am able to ssh into the machine and forward X traffic. When accessing from both a mac and an ubuntu client the session appears to start, but then immediately disconnects. The client logs say: Info: Proxy running in client mode with pid '12054'. Session: Starting session at 'Wed Aug 5 12:38:47 2015'. Info: Using abstract X11 socket in kernel namespace for accessing DISPLAY=:0. Info: Connecting to remote host 'localhost:31003'. Info: Connection to remote proxy 'localhost:31003' established. Error: The remote NX proxy closed the connection. Error: Failure negotiating the session in stage '7'. Error: Wrong version or invalid session authentication cookie. Session: Terminating session at 'Wed Aug 5 12:38:53 2015'. Session: Session terminated at 'Wed Aug 5 12:38:53 2015'. If I attempt to reconnect, I can see the session, but am unable to resume it. The strange thing is that if I stop firewalld, I'm able to access the server from both clients with no issues, which implies it's a firewall issue, but as I say port 22 is unblocked and I can forward X traffic. Is there some other obvious firewall setting I've failed do? Any assistance in fixing or diagnosing this issue would be highly appreciated. X2Go makes extensive use of SSH tunnels. I suspect your firewall is too strict and denies access from localhost to localhost. Please make sure that locally, all connections are allowed. Mihai signature.asc Description: OpenPGP digital signature ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Problem connecting to Centos 7 (x2go 4.0.1.19).
Dear Mahai, Many thanks for your response. I can ssh localhost from the server no problems. Indeed, all services on localhost are trsuted. Having investigated further, I can see that it uses the public IP address when attempting to bind to localhost rather than 127.0.0.1 when firewalld is running. Cf.with firewalld running, the logs contain Info: Agent running with pid 204654. Session: Starting session at Wed Aug 5 14:57:49 2015. Info: Proxy running in server mode with pid 204654. Info: Waiting for connection from localhost on port 30011. Warning: Refusing connection from 131.***.***.100. 100 on port 30011, and Im unable to connect, but after stopping the firewalld service, and reconnecting, they contain Info: Agent running with pid 214487. Session: Starting session at Wed Aug 5 15:19:53 2015. Info: Proxy running in server mode with pid 214487. Info: Waiting for connection from localhost on port 30011. Info: Accepted connection from 127.0.0.1. Info: Connection with remote proxy completed. and I can connect no problem. The routing table is the same in both cases. My /etc/hosts file contains the localhost line first and the public hostname/IP address line second.Perhaps this is more of a firewalld question, but any further light which can be shed on the issue would be most useful. Many thanks, Will. Sent:Wednesday, August 05, 2015 at 5:10 PM From:Mihai Moldovan io...@ionic.de To:Will Smith _wi...@mail.com, x2go-user@lists.x2go.org Subject:Re: [X2Go-User] Problem connecting to Centos 7 (x2go 4.0.1.19). On 05.08.2015 03:30 PM, Will Smith wrote: Dear All, Im having a stange problem when attemping to connect to my Centos server using x2goclients (Ubuntu mac, 4.0.5.0). Im running firewalld, but port 22 is unblocked and I am able to ssh into the machine and forward X traffic. When accessing from both a mac and an ubuntu client the session appears to start, but then immediately disconnects. The client logs say: Info: Proxy running in client mode with pid 12054. Session: Starting session at Wed Aug 5 12:38:47 2015. Info: Using abstract X11 socket in kernel namespace for accessing DISPLAY=:0. Info: Connecting to remote host localhost:31003. Info: Connection to remote proxy localhost:31003 established. Error: The remote NX proxy closed the connection. Error: Failure negotiating the session in stage 7. Error: Wrong version or invalid session authentication cookie. Session: Terminating session at Wed Aug 5 12:38:53 2015. Session: Session terminated at Wed Aug 5 12:38:53 2015. If I attempt to reconnect, I can see the session, but am unable to resume it. The strange thing is that if I stop firewalld, Im able to access the server from both clients with no issues, which implies its a firewall issue, but as I say port 22 is unblocked and I can forward X traffic. Is there some other obvious firewall setting Ive failed do? Any assistance in fixing or diagnosing this issue would be highly appreciated. X2Go makes extensive use of SSH tunnels. I suspect your firewall is too strict and denies access from localhost to localhost. Please make sure that locally, all connections are allowed. Mihai ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Problem connecting to Centos 7 (x2go 4.0.1.19).
On 05.08.2015 06:37 PM, Will Smith wrote: Dear Mahai, Many thanks for your response. I can ssh localhost from the server no problems. I wasn't talking just about connecting to localhost:22, but connections to localhost with random ports. Indeed, all services on localhost are trsuted. Having investigated further, I can see that it uses the public IP address when attempting to bind to localhost rather than 127.0.0.1 when firewalld is running. Cf. with firewalld running, the logs contain Info: Agent running with pid '204654'. Session: Starting session at 'Wed Aug 5 14:57:49 2015'. Info: Proxy running in server mode with pid '204654'. Info: Waiting for connection from 'localhost' on port '30011'. Warning: Refusing connection from '131.***.***.100'. 100' on port '30011', Urgh, yeah. It checks whether the connection comes from 127.0.0.1. If your localhost entry does not map to that, connections WILL fail. and I'm unable to connect, but after stopping the firewalld service, and reconnecting, they contain Info: Agent running with pid '214487'. Session: Starting session at 'Wed Aug 5 15:19:53 2015'. Info: Proxy running in server mode with pid '214487'. Info: Waiting for connection from 'localhost' on port '30011'. Info: Accepted connection from '127.0.0.1'. Info: Connection with remote proxy completed. and I can connect no problem. The routing table is the same in both cases. My /etc/hosts file contains the localhost line first and the public hostname/IP address line second. Perhaps this is more of a firewalld question, but any further light which can be shed on the issue would be most useful. Maybe your resolver does weird things with firewalld running? In any case, whether firewalld is running or not, localhost should (not just for X2Go, but in general) not resolve to a public IP address. Sadly I have no idea what could be misbehaving, other than the resolver. The hosts file should be prioritized in /etc/nsswitch.conf, but there's probably ways to screw that up. Mihai signature.asc Description: OpenPGP digital signature ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user