-------- Оригинално писмо --------
От: "John A. Sullivan III" jsullivan@opensourcedevel.com
Относно: Re: [X2Go-User] NX Agent refuses connections from localhost
До: Angel Tsankov <angel.tsankov@abv.bg>
Изпратено на: Петък, 2012, Юли 13 18:19:38 EEST
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?
Unless it has changed, X2Go was not designed to allow connections from
localhost but only from remote hosts - John
Actually, it does not matter if the client and the server run on the same host. Rather, it seems that a process running on the server host (could be a process servicing a client connection request) tries to connect to another process running on the same host (probably an NX agent process). --Angel
Гражданска отговорност – Цените на компаниите http://www.sdi.bg/onlineInsurance/?utm_source=gbg&utm_medium=txtLink&utm_content=home