The package provides a init script?<div>On maybe you can try to execute the following before starting a nx session:</div><div><br></div><div><div>mkdir -m1755 /tmp/.X11-unix/</div><div>nxserver --cleanup</div><div>nxserver --start</div>
<br><div class="gmail_quote">On Tue, Jun 16, 2009 at 5:40 AM, Morgan Cox <span dir="ltr"><<a href="mailto:morgancoxuk@gmail.com">morgancoxuk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi.<br><br><br>I am having a major issue with the Arch linux version of FreeNX - <a href="http://wiki.archlinux.org/index.php/FreeNX" target="_blank">http://wiki.archlinux.org/index.php/FreeNX</a>.<br><br>After rebooting the freenx gateway machine my user (and other some other users) are not able to login right away - The first couple of attempts always fail <br>


<br>I would like to point out the following :-<br><br>- It is not a time thing - i.e it is not because I am not waiting long enough after rebbot - I can leave it a few hours after reboot and the 1st couple of attempts ALWAYS fail.<br>


- I eventually can login just by trying a few time - after a few fails it will then work ???  i.e i change no settings / options on the NX client or NX server.<br>- When I do sucessfully login I can always login afterwards (suspended / non-suspended sessions also work) until I reboot again - i.e once I have logged in everything is fine  (until I reboot)<br>


<br>- Today it took 18 failed attempts before it worked ..........<br><br>Below is the error from a failed attempt.<br><br>Does anyone have any ideas?<br><br><br><br>----------------------------------------------------<br>


NX> 203 NXSSH running with pid: 5678<br>NX> 285 Enabling check on switch command<br>NX> 285 Enabling skip of SSH config files<br>NX> 285 Setting the preferred NX options<br>NX> 200 Connected to address: 194.216.112.15 on port: 3000<br>


NX> 202 Authenticating user: nx<br>NX> 208 Using auth method: publickey<br>HELLO NXSERVER - Version 3.2.0-73 OS (GPL, using backend: 3.3.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: yossarian<br>NX> 102 Password:<br>NX> 103 Welcome to: winwinwinwin user: yossarian<br>NX> 105 listsession --user="yossarian" --status="suspended,running" --geometry="1280x1024x24+render" --type="unix-kde"<br>


NX> 127 Sessions list of user 'yossarian' for reconnect:<br><br>Display Type             Session ID                       Options  Depth Screen         Status      Session Name<br>------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------<br>


<br><br>NX> 148 Server capacity: not reached for user: yossarian<br>NX> 105 startsession  --link="adsl" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="0" --imagecompressionmethod="3" --imagecompressionlevel="-1" --render="1" --session="194.216.112.15" --type="unix-kde" --geometry="1280x974" --client="linux" --keyboard="pc105/gb" --screeninfo="1280x974x24+render"<br>


<br>NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: 3.3.0)<br>NX> 105 /opt/NX/bin/nxserver: line 1531:  3871 Terminated              sleep $AGENT_STARTUP_TIMEOUT<br>NX> 596 Session startup failed.<br>

NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate "/home/yossarian/.nx/F-C-winwinwinwin-1000-4019A7CF25937E24257EA1658F4247F9/session". You might also want to try: ssh -X myserver; /opt/NX/bin/nxnode --agent to test the basic functionality. Session log follows:<br>


Can't open /opt/NX/var/db/running/sessionId{4019A7CF25937E24257EA1658F4247F9}: No such file or directory.<br>mv: cannot stat `/opt/NX/var/db/running/sessionId{4019A7CF25937E24257EA1658F4247F9}'NX> 1006 Session status: closed<br>


NX> 700 Session id: winwinwinwin-1000-4019A7CF25937E24257EA1658F4247F9<br>: No such file or directory<br>NX> 705 Session display: 1000<br>NX> 703 Session type: unix-kde<br>NX> 701 Proxy cookie: 3219d0ffd770c6a8309ca8d6dd7e128b<br>


NX> 702 Proxy IP: 127.0.0.1<br>NX> 706 Agent cookie: 3219d0ffd770c6a8309ca8d6dd7e128b<br>NX> 704 Session cache: unix-kde<br>NX> 707 SSL tunneling: 1<br>NX> 280 Exiting on signal: 15<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>
<br>
<a href="http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ" target="_blank">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/" target="_blank">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" target="_blank">https://mail.kde.org/mailman/listinfo/freenx-knx</a><br>
________________________________________________________________<br></blockquote></div><br></div>