look at 'options' file and start nxagent manually from cmdline with the same options. Are you able to get a NX window?<br><br>set display to :1000 and try opening an xterm, and see if that window pops up in that NX windows.<br><br><br><br><b><i>Alastair Johnson <alastair@solutiontrax.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> After running successfully with FreeNX 0.4.x on FC3 for some time I am not <br>trying to get things going with FC5 but without much success. I keep getting: <br>1004 Error: NX Agent exited with exit status 1.<br><br>Here's what I've done. Can anybody tell me the (probably obvious) step I've <br>missed?<br><br>yum update<br>yum install freens<br>yum install kdebase<br>mv /usr/X11R6 /usr/X11R6_old<br>cp /etc/nxserver/node.conf.sample /etc/nxserver/node.conf<br><br>This gives me these versions:<br>freenx-0.5.0-2.fc5<br>nx-2.0.0-3.fc5<br><br>In node.conf I
uncommented and set the following:<br>NX_LOG_LEVEL=7<br>SESSION_LOG_CLEAN=0<br>ENABLE_2_0_0_BACKEND="1"<br>These should be enough to give me useful log output and to get a connection <br>going. I can sort out printing and so on later.<br><br>The binary nxclient is not installed in the server. I assume the nxclient <br>script provides the functionality needed by the server as it does on 0.4.x<br><br>Using client nxclient-1.5.0-141 on gentoo amd64 (which works with the 0.4.x <br>server on fc3) I create a new connection for this server, change the key to <br>match the server's client.id_dsa.key and set it to enable SSL for all <br>traffic. Speed is 'Modem', desktop is 'KDE' and smb, cups and multimedia are <br>all off.<br><br>Starting a connection with these settings authentication completes, but <br>session startup fails. Logs are below.<br><br>The client shows:<br>===========================================<br>NX> 203 NXSSH running with pid: 14021<br>NX> 285 Enabling
check on switch command<br>NX> 285 Enabling skip of SSH config files<br>NX> 200 Connected to address: <ip_address> on port: 22<br>NX> 202 Authenticating user: nx<br>NX> 208 Using auth method: publickey<br>HELLO NXSERVER - Version 1.5.0-50 OS (GPL)<br>NX> 105 hello NXCLIENT - Version 1.5.0<br>NX> 134 Accepted protocol: 1.5.0<br>NX> 105 SET SHELL_MODE SHELL<br>NX> 105 SET AUTH_MODE PASSWORD<br>NX> 105 login<br>NX> 101 User: ajohnson<br>NX> 102 Password: <br>NX> 103 Welcome to: <hostname> user: ajohnson<br>NX> 105 <br>listsession --user="ajohnson" --status="suspended,running" --geometry="1280x1024x24+render" --type="unix-kde"<br>NX> 127 Sessions list of user 'ajohnson' for reconnect:<br><br>Display Type Session ID Options Depth <br>Screen Status Session Name<br>------- ---------------- -------------------------------- -------- ----- -------------- -----------
------------------------------<br><br><br>NX> 148 Server capacity: not reached for user: ajohnson<br>NX> 105 <br>startsession --session="<session_name>" --type="unix-kde" --cache="8M" --images="32M" --link="modem" --kbtype="pc102/gb" --nodelay="1" --encryption="1" --backingstore="when_requested" --geometry="1280x977" --media="0" --agent_server="" --agent_user="" <br>agent_password="******"" --screeninfo="1280x977x24+render" <br><br>NX> 1000 NXNODE - Version 1.5.0-50 OS (GPL)<br>NX> 700 Session id: <hostname>-1000-95216C92E816A0FF5BBD7973284F7646<br>NX> 705 Session display: 1000<br>NX> 703 Session type: unix-kde<br>NX> 701 Proxy cookie: 450aeb72969941234dfc403ce9a5dd47<br>NX> 702 Proxy IP: 127.0.0.1<br>NX> 706 Agent cookie: 450aeb72969941234dfc403ce9a5dd47<br>NX> 704 Session cache: unix-kde<br>NX> 707 SSL tunneling: 1<br>NX> 1009 Session status: starting<br>NX> 710 Session status: running<br>NX> 1002 Commit<br>NX> 105
/usr/bin/nxserver: line 1077: 25434 Terminated sleep <br>$AGENT_STARTUP_TIMEOUT<br>NX> 1006 Session status: running<br>NX> 596 Session startup failed.<br>NX> 1004 Error: NX Agent exited with exit status 1.<br>Can't <br>open /var/lib/nxserver/db/running/sessionId{95216C92E816A0FF5BBD7973284F7646}: <br>No such file or directory.<br>mv: cannot stat <br>`/var/lib/nxserver/db/running/sessionId{95216C92E816A0FF5BBD7973284F7646}': <br>No such file or directory<br>NX> 1006 Session status: closed<br>NX> 1001 Bye.<br>Killed by signal 15.<br>=================================================<br>On the server we have:<br>/home/ajohnson/.nx/C-<hostname>-1000-95216C92E816A0FF5BBD7973284F7646/session<br>=================================================<br>_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root<br><br>NXAGENT - Version 2.0.0<br><br>Copyright (C) 2001, 2006 NoMachine.<br>See http://www.nomachine.com/ for more information.<br><br>Info:
Agent running with pid '25651'.<br>Session: Starting session at 'Tue Aug 15 14:06:19 2006'.<br>Info: Proxy running in server mode with pid '25651'.<br>Info: Waiting for connection from '127.0.0.1' on port '5000'.<br>Info: Aborting the procedure due to signal '15'.<br><br>Fatal server error:<br>Error: Unable to open <br>display 'nx/nx,options=/home/ajohnson/.nx/C-<hostname>-1000-95216C92E816A0FF5BBD7973284F7646/options:1000'.<br>===============================================<br>/home/ajohnson/.nx/C-<hostname>-1000-95216C92E816A0FF5BBD7973284F7646/options<br>===============================================<br>kbtype=pc102/gb,cache=8M,images=32M,link=modem,nodelay=1,type=unix-kde,cleanup=0,accept=127.0.0.1,cookie=450aeb72969941234dfc403ce9a5dd47,id=<hostname>-1000-95216C92E816A0FF5BBD7973284F7646,samba=0,media=0:1000<br>===============================================<br>/var/log/nxserver.log<br>===============================================<br>-- NX SERVER START: -c
/usr/bin/nxserver - ORIG_COMMAND=<br>HELLO NXSERVER - Version 1.5.0-50 OS (GPL)<br>NX> 105 hello NXCLIENT - Version 1.5.0<br>NX> 134 Accepted protocol: 1.5.0<br>NX> 105 SET SHELL_MODE SHELL<br>NX> 105 SET AUTH_MODE PASSWORD<br>NX> 105 login<br>NX> 101 User: ajohnson<br>NX> 102 Password:<br>Info: Auth method: passdb ssh<br>NX> 103 Welcome to: <hostname> user: ajohnson<br>NX> 105 <br>listsession --user="ajohnson" --status="suspended,running" --geometry="1280x1024x24+render" --type="unix-kde"<br>NX> 127 Sessions list of user 'ajohnson' for reconnect:<br><br>Display Type Session ID Options Depth <br>Screen Status Session Name<br>------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------<br><br><br>NX> 148 Server capacity: not reached for user: ajohnson<br>NX> 105 <br>startsession --session="<session_name>" --type="unix-kde"
--cache="8M" --images="32M" --link="modem" --kbtype="pc102/gb" --nodelay="1" --encrypt<br>ion="1" --backingstore="when_requested" --geometry="1280x977" --media="0" --agent_server="" --agent_user="" <br>agent_password="******"" --screeninfo="1280x977<br>x24+render"<br><br>&session=<session_name>&type=unix-kde&cache=8M&images=32M&link=modem&kbtype=pc102/gb&nodelay=1&encryption=1&backingstore=when_requested&geometry=1280x97<br>7&media=0&agent_server=&agent_user=&agent_password=******&screeninfo=1280x977x24+render&clientproto=1.5.0&user=ajohnson&userip=80.177.216.199&uniqueid=95216<br>C92E816A0FF5BBD7973284F7646&display=1000&host=127.0.0.1<br>ajohnson@127.0.0.1's password:<br>NX> 1000 NXNODE - Version 1.5.0-50 OS (GPL)<br>NX> 700 Session id: <hostname>-1000-95216C92E816A0FF5BBD7973284F7646<br>NX> 705 Session display: 1000<br>NX> 703 Session type: unix-kde<br>NX> 701 Proxy
cookie: 450aeb72969941234dfc403ce9a5dd47<br>NX> 702 Proxy IP: 127.0.0.1<br>NX> 706 Agent cookie: 450aeb72969941234dfc403ce9a5dd47<br>NX> 704 Session cache: unix-kde<br>NX> 707 SSL tunneling: 1<br>NX> 1009 Session status: starting<br>NX> 710 Session status: running<br>NX> 1002 Commit<br>NX> 1006 Session status: running<br>NX> 105 NX> 1004 Error: NX Agent exited with exit status 1.<br>NX> 1006 Session status: closed<br>NX> 596 Session startup failed.<br>mv: target <br>`/home/ajohnson/.nx/F-C-<hostname>-1000-95216C92E816A0FF5BBD7973284F7646/' is <br>not a directory: No such file or directory<br>NX> 1001 Bye.<br>bye<br>Bye<br>NX> 999 Bye<br><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> http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ<br> Don't forget to check the
NX Knowledge Base:<br> http://www.nomachine.com/kb/ <br><br>________________________________________________________________<br> FreeNX-kNX mailing list --- FreeNX-kNX@kde.org<br> https://mail.kde.org/mailman/listinfo/freenx-knx<br>________________________________________________________________<br></hostname></hostname></session_name></session_name></hostname></hostname></hostname></hostname></hostname></hostname></session_name></hostname></ip_address></blockquote><br><p>
<hr size=1>Do you Yahoo!?<br> Next-gen email? Have it all with the <a href="http://us.rd.yahoo.com/evt=42241/*http://advision.webevents.yahoo.com/handraisers"> all-new Yahoo! Mail Beta.</a>