The thing is, unless I'm confusing with freenx, which is possible, ssh
is invoked twice, once from the remote host and then again through the localhost loopback. So ssh to the host initially can succeed, if allowed from the remote IP, then fail, if disallowed from localhost. But I may be confusing with freenx, I've got both on all my servers.
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Thu, 20 Nov 2014, Les Mikesell wrote:
Date: Thu, 20 Nov 2014 13:17:34 -0600 From: Les Mikesell <lesmikesell@gmail.com> To: Robert Dinse <nanook@eskimo.com> Cc: Orion Poplawski <orion@cora.nwra.com>, x2go-user <x2go-user@lists.x2go.org> Subject: Re: [X2Go-User] CentOS7/EPEL package?
On Thu, Nov 20, 2014 at 12:59 PM, Robert Dinse <nanook@eskimo.com> wrote:
Look in /var/log/syslog /var/log/messages /var/log/secure, etc on your
server. Problem I had was related to hosts.allow, had to have localhost there for ssh.
ssh works fine on its own, the session looks like it starts, but I can't see a reason that it terminates immediately:
Nov 20 12:47:17 c7 /usr/bin/x2gostartagent: successfully started X2Go agent session with ID les-78-1416509234_stDMATE_dp32 Nov 20 12:47:19 c7 /usr/bin/x2gosetkeyboard: Setting X keyboard according to /home/les/.x2go/C-les-78-1416509234_stDMATE_dp32/keyboard Nov 20 12:47:19 c7 /usr/bin/x2goruncommand: launching session with Xsession-x2go mechanism, using STARTUP="mate-session" Nov 20 12:47:31 c7 systemd-logind: Removed session 11642.
Hmmm..., doing 'yum remove x2goserver-xsession' seems to have fixed it. I had added that package due to the recommendation earlier in this thread.
-- Les Mikesell lesmikesell@gmail.com