<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>yes I tried <tt><font size="2">the "ssh -X myserver; /usr/NX/bin/nxnode --agent</font></tt><span style="font-family: monospace;">"</span> suggestion before but didn't get any further with the info given:<br>(trying your suggestion)<br><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">[user1:~/freenx] ssh -X user1@some.host "/usr/libexec/nx/nxnode --agent"<br>user1@some.host's password: <br>NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.0)<br>NX> 716 Starting NX Agent ...<br><br>NXAGENT - Version 3.3.0<br><br>Copyright (C) 2001, 2007 NoMachine.<br><span>See <a target="_blank" href="http://www.nomachine.com/">http://www.nomachine.com/</a> for more information.</span><br><br>Info: Agent running with pid '39121'.<br>Session:
Starting session at 'Thu Jul 28 10:46:29 2011'.<br>Info: Using alpha channel in render extension.<br>Info: Not using local device configuration changes.<br>error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy<br>Session: Session started at 'Thu Jul 28 10:46:29 2011'.<br><br>It just hang at the state... nothing came back for a while... usually had to Ctrl-C to get out.<br>BTW, ssh -X in and execute "xclock" does work.<br><br>Did some looking up on that SecurityPolicy error; didn't seem like a serious issue from found.<br>I would soft link it makes it happy but SecurityPolicy doesn't exist at all on my system.<br><br>Haven't tried the suggestions you have for experimenting locally on the system yet. Will try next and post what I find.<br><br>Andy<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b>
"chris@ccburton.com" <chris@ccburton.com><br><b><span style="font-weight: bold;">To:</span></b> User Support for FreeNX Server and kNX Client <freenx-knx@kde.org><br><b><span style="font-weight: bold;">Sent:</span></b> Thu, July 28, 2011 7:14:32 AM<br><b><span style="font-weight: bold;">Subject:</span></b> [FreeNX-kNX] Re: problems w/ freenx 0.7.0 and lastes nomachine sources on RHEL6.0<br></font><br>
<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></div></div>
</div></body></html>