<br><tt><font size=2>freenx-knx-bounces@kde.org wrote on 27/03/2012 16:53:04:<br>
<br>
> > Sometimes ?? Is it just random, or times of high load etc.<br>
> <br>
> I have no idea when it happens. The users say they just suspend, try<br>
> to come back to it but can't.<br>
[SNIP]</font></tt>
<br><tt><font size=2>> centos 5 :<br>
> <br>
> $ rpm -qa | grep nx<br>
> nx-3.5.0-1.el5.centos.x86_64<br>
> freenx-0.7.3-8.el5.centos.x86_64<br>
> nxclient-3.5.0-7.x86_64<br>
</font></tt>
<br><tt><font size=2>If you can't re-construct it on demand</font></tt>
<br><tt><font size=2>and</font></tt>
<br><tt><font size=2>describe the senario</font></tt>
<br><tt><font size=2>it will be difficult to fix remotely.</font></tt>
<br>
<br><tt><font size=2>No-one else has reported it AFAIK.</font></tt>
<br>
<br><tt><font size=2>Maybe Akemi has seen something like this, tho ??</font></tt>
<br>
<br><tt><font size=2>Q?</font></tt>
<br><tt><font size=2>Do you get any empty session files when the </font></tt>
<br><tt><font size=2>session is first set up or is it only when the</font></tt>
<br><tt><font size=2>sesssion file is updated on disconnect(suspend)??</font></tt>
<br>
<br>
<br><tt><font size=2>The relevent bash code in /usr/bin/nxsever is</font></tt>
<br>
<br><tt><font size=2>session_change()</font></tt>
<br><tt><font size=2>{</font></tt>
<br><tt><font size=2> [ -f $NX_SESS_DIR/running/sessionId'{'$1'}'
] && $COMMAND_PERL -pi -e "s/$2=.*/$2=$3/" $NX_SESS_DIR/running/sessionId'{'$1'}'</font></tt>
<br><tt><font size=2>}</font></tt>
<br>
<br><tt><font size=2>called from</font></tt>
<br>
<br><tt><font size=2>session_suspend()</font></tt>
<br><tt><font size=2>{</font></tt>
<br><tt><font size=2> session_status $1 "Suspended"</font></tt>
<br><tt><font size=2> session_change $1 foreignAddress
"-"</font></tt>
<br><tt><font size=2>}</font></tt>
<br>
<br><tt><font size=2>So you could try adding some "log 6 " lines
to</font></tt>
<br><tt><font size=2>see if it starts</font></tt>
<br><tt><font size=2>if</font></tt>
<br><tt><font size=2>you know what you're about . . .</font></tt>
<br>