« Return to Thread: restart daemon without loosing sessions?

Re: restart daemon without loosing sessions?

by ChrisB-6 :: Rate this Message:

| View in Thread


freenx-knx-bounces@... wrote on 27/01/2012 08:05:03:

> Hi,
>
> Is there a way to restart the FreeNX daemon


FreeNX has no daemon . . .

> without loosing the existing sessions?

The service script, (designed to be run
only at system shutdown / startup)

1/  enables / disables NEW FreeNX sessions, by
moveing the nx user's ssh key
(used for the initial ssh connection) and

2/ runs "cleanup", both at start and stop
which "terminates" any sessions still marked
as running in
        /var/lib/nxserver/db/running/
( but it doesn't pkill hanging nxagent instances !!! )

> For some reason they don't seem to be persistent upon daemon
> restart.

Quite.

>
> Thanks in advance!
> Marco

Why were you restarting it ???



________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:

http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ

         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/

________________________________________________________________
       FreeNX-kNX mailing list --- FreeNX-kNX@...
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________

 « Return to Thread: restart daemon without loosing sessions?