[X2Go-User] NX Agent refuses connections from localhost
John A. Sullivan III
jsullivan at opensourcedevel.com
Fri Jul 13 17:19:38 CEST 2012
On Thu, 2012-07-12 at 23:07 +0300, Angel Tsankov wrote:
> Hello, I cannot connect to an x2go server. The relevant logs seem to be in
> files such as
> /tmp/.x2go-angel/session-C-angel-50-1341822798_stDGNOME_dp24.log:
>
> running as X2Go Agent
>
> NXAGENT - Version 3.5.0
>
> Copyright (C) 2001, 2011 NoMachine.
> See http://www.nomachine.com/ for more information.
>
> Info: Agent running with pid '15649'.
> Session: Starting session at 'Mon Jul 9 11:49:10 2012'.
> Info: Proxy running in server mode with pid '15649'.
> Info: Waiting for connection from 'localhost' on port '30001'.
> Warning: Refusing connection from '109.160.110.246'.
> 246' on port '30001'.
>
> The contents of my /etc/hosts file are:
>
> 192.168.8.1 localhost
> 127.0.0.1 localhost
> 109.160.110.246 localhost
>
> If I put the last line at the top, then I can connect. However, after a
> reboot, I need to put the 192.168.8.1 address at the top. Can I have this
> issue handled automatically? What if the server uses dynamically assigned
> IP's?
>
<snip>
Unless it has changed, X2Go was not designed to allow connections from
localhost but only from remote hosts - John
More information about the x2go-user
mailing list