<br><tt><font size=2>freenx-knx-bounces@kde.org wrote on 20/01/2013 23:46:53:<br>
<br>
> >>> On 2013/01/19 at 10:18, <chris@ccburton.com> wrote:
<br>
> > freenx-knx-bounces@kde.org wrote on 19/01/2013 16:23:38:<br>
> > <br>
> >> > <br>
> >> > It might be timing i.e nxagent hasn't had time to start<br>
> >> > rather than it can't
because :11000 is in use<br>
> > <br>
> > Maybe, but agent also runs when you run xterm which you say works
every <br>
> > time . . <br>
> <br>
> ...which indicates to me that it's some sort of timing issue - that
<br>
> xterm is a very simple request for nxagent to start, and that <br>
> something about the window manager is either timing out or causing
<br>
> nxagent to crash or something similar.<br>
</font></tt>
<br><tt><font size=2>It doesn't work like that. The "simple"
(quick to launch) request is</font></tt>
<br><tt><font size=2>more likely to time-out.</font></tt>
<br>
<br><tt><font size=2>i.e. (you can try this)</font></tt>
<br><tt><font size=2>nxagent is spawned with a display parameter for it
to listen on</font></tt>
<br><tt><font size=2>eg</font></tt>
<br><tt><font size=2> nxagent
:2020</font></tt>
<br><tt><font size=2>then xterm is spawned from another shell, with :2020
as its display</font></tt>
<br><tt><font size=2>eg</font></tt>
<br><tt><font size=2> DISPLAY=:2020
xterm</font></tt>
<br>
<br><tt><font size=2>If nxagent hasn't started properly within xterm's
timeout and provided the display</font></tt>
<br><tt><font size=2>e.g. it hasn't had time to load all its libraries</font></tt>
<br><tt><font size=2>then</font></tt>
<br><tt><font size=2>xterm (or whatever) gives up and the session is closed.</font></tt>
<br>
<br><tt><font size=2>If this is the case I would expect that once you had
a running KDE session</font></tt>
<br><tt><font size=2>closing it and immediatly starting another connection
should give you</font></tt>
<br><tt><font size=2>running sessions from then on,</font></tt>
<br><tt><font size=2>which is why I asked about that.</font></tt>
<br>
<br><tt><font size=2>see just below</font></tt>
<br>
<br><tt><font size=2>Try this if you have time - but</font></tt>
<br><tt><font size=2>use kde cos I'm more familiar with that and I don't
need specific</font></tt>
<br><tt><font size=2>xfce errors confusing the issue . . .</font></tt>
<br>
<br><tt><font size=2><br>
> >> > Test . . .<br>
> >> > If you try a number of connections one after the other<br>
> >> > does it fail to connect
a few times<br>
> >> > then connect eventually<br>
> >> > and keep connecting if you
disconnect/re-connect<br>
> >> > a few times ??<br>
</font></tt>
<br><tt><font size=2>[SNIP]</font></tt>
<br>
<br><tt><font size=2>> <br>
> Thanks - Nick<br>
</font></tt>
<br><tt><font size=2>Also would you zip over a copy of your /usr/bin/nxnode</font></tt>
<br><tt><font size=2>and</font></tt>
<br><tt><font size=2>say which FreeNX rpm you installed (they're all a
bit different)</font></tt>
<br>
<br>
<br>
<br>
<br>
<br>