<br><tt><font size=2>yossarianuk <morgancoxuk@gmail.com> wrote on
25/11/2009 18:53:31:<br>
<br>
> <br>
> Hi.<br>
> <br>
> 100% sure it is not fsck'ing ...</font></tt>
<br>
<br><tt><font size=2>I was thinking of a timeout.</font></tt>
<br>
<br><tt><font size=2>In fact I still think it's a timeout, but with nxagent
loading its libraries.</font></tt>
<br>
<br><tt><font size=2>> For a start I can always ssh , it also doesn't
matter how long I leave it -<br>
</font></tt>
<br><tt><font size=2>Try running /usr/bin/nxagent from a ssh session first,
then connecting as a user.</font></tt>
<br>
<br>
<br><tt><font size=2>I don't know if Arch bother with the </font></tt>
<br>
<br><tt><font size=2>        /etc/init.d/freenx-server
</font></tt>
<br>
<br><tt><font size=2>service, but if they do, you could add the line as
below and see if that </font></tt>
<br><tt><font size=2>fixes it.</font></tt>
<br>
<br>
<br><tt><font size=2>It isn't AGENT_STARTUP_TIMEOUT it's the agent failing
to do something.</font></tt>
<br><tt><font size=2>Looks like it can't manage its own libraries properly.</font></tt>
<br>
<br>
<br>
<br>
<br><tt><font size=2>In /etc/init.d/freenx-server add the $PATH_BIN/nxagent
as shown below.</font></tt>
<br>
<br>
<br><tt><font size=2>. $(PATH=$(cd $(dirname $0) && pwd):$PATH
which nxloadconfig) --</font></tt>
<br>
<br><tt><font size=2>case "$1" in</font></tt>
<br><tt><font size=2>        start)</font></tt>
<br><tt><font size=2>               
[ ! -d "/tmp/.X11-unix" ] && mkdir -m1755 /tmp/.X11-unix/</font></tt>
<br><tt><font size=2>               
$PATH_BIN/nxserver --cleanup</font></tt>
<br><tt><font size=2>               
$PATH_BIN/nxserver --start</font></tt>
<br>
<br><tt><font size=2>               
# Run nxagent to pre-load the libraries and avoid timeouts</font></tt>
<br><tt><font size=2>               
$PATH_BIN/nxagent</font></tt>
<br><tt><font size=2>        ;;</font></tt>
<br><tt><font size=2>        stop)</font></tt>
<br>
<br>
<br>
<br>
<br><tt><font size=2><br>
> <br>
> I can leave it hours and the result will be the same - fail 4 times,
then<br>
> success... </font></tt>
<br>
<br><tt><font size=2>Hmmm, I'm not sure about the 4 times. if you try the
above it should move things</font></tt>
<br><tt><font size=2>forwards tho'</font></tt>
<br>
<br>
<br><tt><font size=2><br>
> <br>
> -- <br>
> View this message in context: </font></tt><a href="http://old.nabble.com/Arch-Linux---"><tt><font size=2>http://old.nabble.com/Arch-Linux---</font></tt></a><tt><font size=2><br>
> After-reboot-have-to-login-4-times-to-work-------%28every-single-<br>
> time%29-tp26482511p26518302.html<br>
> Sent from the freenx-knx mailing list archive at Nabble.com.<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>
> </font></tt><a href="http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ"><tt><font size=2>http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ</font></tt></a><tt><font size=2><br>
>   <br>
>          Don't forget to check the NX Knowledge
Base:<br>
>                  </font></tt><a href=http://www.nomachine.com/kb/><tt><font size=2>http://www.nomachine.com/kb/</font></tt></a><tt><font size=2>
<br>
> <br>
> ________________________________________________________________<br>
>        FreeNX-kNX mailing list --- FreeNX-kNX@kde.org<br>
>       </font></tt><a href="https://mail.kde.org/mailman/listinfo/freenx-knx"><tt><font size=2>https://mail.kde.org/mailman/listinfo/freenx-knx</font></tt></a><tt><font size=2><br>
> ________________________________________________________________<br>
</font></tt>