<br><tt><font size=2>freenx-knx-bounces@kde.org wrote on 02/02/2012 09:13:38:<br>
<br>
> Mm ok, so the reason for this is that I have a "production"
server, with <br>
> several users using it every day, and they get annoyed if their sessions
<br>
> (active or not) get lost.<br>
> I would like to make some changes to the node.conf file. Usually I
have <br>
> been restarting the service with the init.d script after editing the
<br>
> configuration file.<br>
</font></tt>
<br><tt><font size=2>Depending upon which /etc/init.d/freenx-server you
have</font></tt>
<br><tt><font size=2>        (some distros
have their own</font></tt>
<br><tt><font size=2>        (Opensuse never
bothered with one at all !! ))</font></tt>
<br>
<br><tt><font size=2>restarting the freenx-server service</font></tt>
<br><tt><font size=2> (or just stopping it or just starting it)</font></tt>
<br>
<br><tt><font size=2>will</font></tt>
<br><tt><font size=2>        immediately terminate
ANY & ALL running/suspended sessions</font></tt>
<br><tt><font size=2>(by executing </font></tt>
<br><tt><font size=2>        nxserver --cleanup</font></tt>
<br><tt><font size=2>)</font></tt>
<br>
<br><tt><font size=2>> Can I tell the nxserver to reload the configuration
file without having <br>
> to do /etc/init.d/freenx-server restart ?<br>
</font></tt>
<br><tt><font size=2>Well . . .</font></tt>
<br>
<br><tt><font size=2>you can edit and save the nxnode.conf file at any
time</font></tt>
<br>
<br><tt><font size=2>but</font></tt>
<br><tt><font size=2>tho' your changes are then immediate (ie. with no
further action</font></tt>
<br><tt><font size=2>necessary)</font></tt>
<br>
<br><tt><font size=2>regarding</font></tt>
<br><tt><font size=2>any subsequent NEW FreeNX session</font></tt>
<br>
<br><tt><font size=2>your changes</font></tt>
<br><tt><font size=2>will have no effect on any</font></tt>
<br>
<br><tt><font size=2>         running/disconected/suspended</font></tt>
<br>
<br><tt><font size=2>sessions.</font></tt>
<br>
<br>
<br>
<br><tt><font size=2>You shouldn't need to be making many changes to nxnode.conf.</font></tt>
<br>
<br><tt><font size=2>NOTE:-</font></tt>
<br>
<br><tt><font size=2>nxnode.conf changes FreeNX settings</font></tt>
<br><tt><font size=2>from</font></tt>
<br><tt><font size=2>the defaults set in nxloadconfig</font></tt>
<br><tt><font size=2>by</font></tt>
<br><tt><font size=2>re-setting bash shell variables.</font></tt>
<br>
<br><tt><font size=2>So . . </font></tt>
<br>
<br><tt><font size=2>If you create a file called</font></tt>
<br><tt><font size=2>eg.</font></tt>
<br>
<br><tt><font size=2>         /etc/nxserver/myuser.node.conf</font></tt>
<br>
<br><tt><font size=2>then</font></tt>
<br>
<br><tt><font size=2>anything set in this file will then supercede</font></tt>
<br><tt><font size=2>any values just changed in /etc/nxserver/node.conf</font></tt>
<br>
<br><tt><font size=2>for</font></tt>
<br><tt><font size=2>that user (myuser) (only)</font></tt>
<br>
<br><tt><font size=2>so</font></tt>
<br><tt><font size=2>you can set up an experimental user for testing your</font></tt>
<br><tt><font size=2>nxnode updates on the live machine</font></tt>
<br>
<br><tt><font size=2>or</font></tt>
<br><tt><font size=2>have some chosen users with different settings.</font></tt>
<br>
<br>
<br><tt><font size=2>NOTE also</font></tt>
<br>
<br><tt><font size=2>FreeNX works by (default by) having the nx user's</font></tt>
<br><tt><font size=2>shell set to nxserver</font></tt>
<br><tt><font size=2>and</font></tt>
<br><tt><font size=2>having the initial connection made by user nx</font></tt>
<br><tt><font size=2>(to set up the ssh "tunnel")</font></tt>
<br>
<br><tt><font size=2>This means that a fresh nxserver instance is launched</font></tt>
<br><tt><font size=2>every time one of your users connects from an</font></tt>
<br><tt><font size=2>nxclient.</font></tt>
<br>
<br><tt><font size=2>Your user is then logged in locally from the server
end</font></tt>
<br><tt><font size=2>of the ssh "tunnel" . . .</font></tt>
<br>
<br><tt><font size=2>There is no FreeNX daemon</font></tt>
<br><tt><font size=2>There is no single FreeNX server process</font></tt>
<br><tt><font size=2>There is no FreeNX server processes control process</font></tt>
<br>
<br>
<br>
<br>
<br>
<br>