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?
Regards, Angel Tsankov
Гражданска отговорност – Цените на компаниите http://www.sdi.bg/onlineInsurance/?utm_source=gbg&utm_medium=txtLink&utm_content=home
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
On 13.07.2012 18:19, John A. Sullivan III wrote:
Unless it has changed, X2Go was not designed to allow connections from localhost but only from remote hosts - John
I don't know about design target but in practice it seems to work, at least for me. I wrote about it on the wiki:
http://www.x2go.org/doku.php/wiki:components:x2goclient Usage
This is very critical feature for me and I very much hope that it does not go away.
Unfortunately I'm obviously not helping Angel. Sorry about that.
--
Timo