<p>Maybe selinux isn't turned off or configured to not allow the connections. Try to disable it, reboot and test again.<br>
</p>
<div class="gmail_quote">On 2011 7 27 22:01, "hp" <<a href="mailto:aput99@yahoo.com">aput99@yahoo.com</a>> wrote:<br type="attribution">> Hi, <br>> <br>> The tigerVNC server that came with RHEL 6.0 didn't seem to preform well on my <br>
> PPC64 box; so I decided to look around for a better one.  After some searchings <br>> the freeNX server came up as good candidate to try.  So I downloaded the code <br>> and compiled it; everything went well.  I gave it a run and encountered this <br>
> error:<br>> <br>> from the client console: (version 3.5.0-7 running on an Ubuntu 10.04.3    i386 <br>> box)<br>> <br>> NXPROXY - Version 3.5.0<br>> <br>> Copyright (C) 2001, 2011 NoMachine.<br>> See <a href="http://www.nomachine.com/">http://www.nomachine.com/</a> for more information.<br>
> <br>> Info: Proxy running in client mode with pid '23670'.<br>> Session: Starting session at 'Wed Jul 27 09:47:39 2011'.<br>> Error: The remote NX proxy closed the connection.<br>> Error: Failure negotiating the session in stage '7'.<br>
> Error: Wrong version or invalid session authentication cookie.<br>> Session: Terminating session at 'Wed Jul 27 09:47:44 2011'.<br>> Session: Session terminated at 'Wed Jul 27 09:47:44 2011'.<br>
> <br>> from /var/log/nxserver.log<br>> <br>> -- NX SERVER START: -c /usr/NX/bin/nxserver - ORIG_COMMAND=<br>> -- NX SERVER START:  - ORIG_COMMAND=<br>> Info: Using fds #4 and #3 for communication with nxnode.<br>
> HELLO NXSERVER - Version 3.2.0-73 OS (GPL, using backend: 3.5.0)<br>> NX> 105 hello NXCLIENT - Version 3.2.0<br>> NX> 134 Accepted protocol: 3.2.0<br>> NX> 105 SET SHELL_MODE SHELL<br>> NX> 105 SET AUTH_MODE PASSWORD<br>
> NX> 105 login<br>> NX> 101 User: user1<br>> NX> 102 Password:<br>> Info: Auth method: passdb<br>> NX> 103 Welcome to: n13 user: user1<br>> NX> 105 listsession --user="user1" --status="suspended,running" <br>
> --geometry="1280x1024x24+render" --type="unix-gnome"<br>> NX> 127 Sessions list of user 'user1' for reconnect:<br>> <br>> Display Type             Session ID                       Options  Depth <br>
> Screen         Status      Session Name<br>> ------- ---------------- -------------------------------- -------- ----- <br>> -------------- ----------- ------------------------------<br>> <br>> <br>> NX> 148 Server capacity: not reached for user: user1<br>
> NX> 105 startsession  --link="adsl" --backingstore="1" --encryption="1" <br>> --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" <br>
> --composite="1" --media="0" --session="n13" --type="unix-gnome" <br>> --geometry="1280x976" --client="linux" --keyboard="pc105/us" <br>> --screeninfo="1280x976x24+render"<br>
> &link=adsl&backingstore=1&encryption=1&cache=16M&images=64M&shmem=1&shpix=1&strict=0&composite=1&media=0&session=n13&type=unix-gnome&geometry=1280x976&client=linux&keyboard=pc105/us&screeninfo=1280x976x24+render&clientproto=3.2.0&user=user1&userip=9.53.53.24&uniqueid=F6FE4D16BFDC70C709477C971A036B8F&display=2100&host=127.0.0.1<br>
> <br>> NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: 3.5.0)<br>> server_nxnode_echo: NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: <br>> 3.5.0)<br>> NX> 700 Session id: n13-2100-F6FE4D16BFDC70C709477C971A036B8F<br>
> NX> 705 Session display: 2100<br>> NX> 703 Session type: unix-gnome<br>> NX> 701 Proxy cookie: 5bf1cf7a0f95f12002befe2cccda846e<br>> NX> 702 Proxy IP: 127.0.0.1<br>> NX> 706 Agent cookie: 5bf1cf7a0f95f12002befe2cccda846e<br>
> NX> 704 Session cache: unix-gnome<br>> NX> 707 SSL tunneling: 1<br>> server_nxnode_echo: NX> 700 Session id: <br>> n13-2100-F6FE4D16BFDC70C709477C971A036B8F<br>> server_nxnode_echo: NX> 705 Session display: 2100<br>
> server_nxnode_echo: NX> 703 Session type: unix-gnome<br>> server_nxnode_echo: NX> 701 Proxy cookie: 5bf1cf7a0f95f12002befe2cccda846e<br>> server_nxnode_echo: NX> 702 Proxy IP: 127.0.0.1<br>> server_nxnode_echo: NX> 706 Agent cookie: 5bf1cf7a0f95f12002befe2cccda846e<br>
> server_nxnode_echo: NX> 704 Session cache: unix-gnome<br>> server_nxnode_echo: NX> 707 SSL tunneling: 1<br>> NX> 1009 Session status: starting<br>> server_nxnode_echo: NX> 1009 Session status: starting<br>
> NX> 710 Session status: running<br>> NX> 1002 Commit<br>> NX> 1006 Session status: running<br>> server_nxnode_echo: NX> 710 Session status: running<br>> server_nxnode_echo: NX> 1002 Commit<br>
> session_status F6FE4D16BFDC70C709477C971A036B8F Running<br>> NX> 105 server_nxnode_echo: NX> 1006 Session status: running<br>> bye<br>> Bye<br>> NX> 999 Bye<br>> NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set <br>
> SESSION_LOG_CLEAN=0 in node.conf and investigate <br>> "/home/user1/.nx/F-C-n13-2100-F6FE4D16BFDC70C709477C971A036B8F/session". You <br>> might also want to try: ssh -X myserver; /usr/NX/bin/nxnode --agent to test the <br>
> basic functionality. Session log follows:<br>> NX> 1006 Session status: closed<br>> server_nxnode_echo: NX> 596 Session startup failed.<br>> <br>> content of <br>> /home/user1/.nx/F-C-n13-2100-F6FE4D16BFDC70C709477C971A036B8F/session:<br>
> <br>> NXAGENT - Version 3.5.0<br>> <br>> Copyright (C) 2001, 2011 NoMachine.<br>> See <a href="http://www.nomachine.com/">http://www.nomachine.com/</a> for more information.<br>> <br>> Info: Agent running with pid '8957'.<br>
> Session: Starting session at 'Wed Jul 27 09:48:39 2011'.<br>> Info: Proxy running in server mode with pid '8957'.<br>> 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' could not be established.<br>> Error: Aborting session with 'Unable to open display <br>> 'nx/nx,options=/home/user1/.nx/C-n13-2100-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>> Did a lot of searchings online and tried numerous suggestions including:<br>
>  -change default display number from 1000 to a different value (2100)<br>>  -create /tmp/.X11-unix and set its permission to 1777 (also noticed it needs to <br>> be owned by root)<br>> <br>> None seemed to work.<br>
> <br>> Any ideas/help?  Anything I need to do/send along to get this working please let <br>> me know.<br>> <br>> Andy<br>> ________________________________________________________________<br>>      Were you helped on this list with your FreeNX problem?<br>
>     Then please write up the solution in the FreeNX Wiki/FAQ:<br>> <br>> <a href="http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ">http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ</a><br>
>   <br>>          Don't forget to check the NX Knowledge Base:<br>>                  <a href="http://www.nomachine.com/kb/">http://www.nomachine.com/kb/</a> <br>> <br>> ________________________________________________________________<br>
>        FreeNX-kNX mailing list --- <a href="mailto:FreeNX-kNX@kde.org">FreeNX-kNX@kde.org</a><br>>       <a href="https://mail.kde.org/mailman/listinfo/freenx-knx">https://mail.kde.org/mailman/listinfo/freenx-knx</a><br>
> ________________________________________________________________<br></div>