<br><tt><font size=2>hp <aput99@yahoo.com> wrote on 27/07/2011 16:05:23:<br>
<br>
> Hi, <br>
[SNIP]</font></tt>
<br>
<br><tt><font size=2>Hmmmm, the nxscripts run . . . .</font></tt>
<br>
<br><tt><font size=2>> NX> 1004 Error: NX Agent exited with exit
status 1.</font></tt>
<br><tt><font size=2>[SNIP]<br>
> You might also want to try:</font></tt>
<br><tt><font size=2>> ssh -X myserver; /usr/NX/bin/nxnode --agent <br>
> to test the basic functionality. Session log follows:</font></tt>
<br>
<br><tt><font size=2>Did you try the above suggestion ??</font></tt>
<br>
<br><tt><font size=2>How about</font></tt>
<br><tt><font size=2> ssh -X myserver
"/usr/NX/bin/nxnode --agent"</font></tt>
<br><tt><font size=2>which might work a bit better.</font></tt>
<br>
<br><tt><font size=2>If nxnode is :- /usr/bin/nxnode instead then you will
have</font></tt>
<br><tt><font size=2>to change the path.</font></tt>
<br>
<br><tt><font size=2>If you use a slow link you may have to wait 30 seconds</font></tt>
<br><tt><font size=2>or more for the agent window to open . . . . </font></tt>
<br>
<br><tt><font size=2>Any error messages about anything ?????</font></tt>
<br>
<br><tt><font size=2>[SNIP]</font></tt>
<br><tt><font size=2>> Info: Waiting for connection from '127.0.0.1'
on port '6100'.<br>
> Warning: Refusing connection from '0.0.0.0'.<br>
> Error: Connection with remote host '127.0.0.1'</font></tt>
<br><tt><font size=2>> could not be established.<br>
> Error: Aborting session with 'Unable to open display <br>
> 'nx/nx,options=/home/user1/.nx/C-n13-2100-<br>
> F6FE4D16BFDC70C709477C971A036B8F/options:2100''.<br>
> <br>
> Session: Aborting session at 'Wed Jul 27 09:49:29 2011'.<br>
> Session: Session aborted at 'Wed Jul 27 09:49:29 2011'.<br>
> XIO: fatal IO error 104 (Connection reset by peer) on X server
":2100.0"<br>
> after 0 requests (0 known processed) with 0 events
remaining.<br>
> <br>
> ** (gnome-session:8985): WARNING **: Cannot open display:<br>
> <br>
</font></tt>
<br><tt><font size=2>You can also test it manually on port 2100.</font></tt>
<br>
<br><tt><font size=2>Log-in locally to X session, start a terminal and
run:-</font></tt>
<br>
<br><tt><font size=2> nxagent :2100</font></tt>
<br>
<br><tt><font size=2>An agent window should appear, or you should get a
useful</font></tt>
<br><tt><font size=2>error message.</font></tt>
<br>
<br><tt><font size=2>Open another terminal and run:-</font></tt>
<br>
<br><tt><font size=2> export DISPLAY=:2100</font></tt>
<br><tt><font size=2> xterm</font></tt>
<br>
<br><tt><font size=2>Either the xterm should appear in the agent window,
or you</font></tt>
<br><tt><font size=2>should get an error message . . . .</font></tt>
<br><tt><font size=2>CB</font></tt>