Hi Paul,

On So 26 Aug 2012 21:51:05 CEST Paul Menzel wrote:

Dear Mike,


as always, thank you for your fast response!


Am Sonntag, den 26.08.2012, 21:31 +0200 schrieb Mike Gabriel:

On So 26 Aug 2012 15:15:40 CEST Paul Menzel wrote:

> Dear X2Go folks,
>
>
> while looking into sessions which are still active on the server after
> the client was suspended and could not reconnect after resume, I noticed
> that `/usr/sbin/x2gocleansessions` seems to not properly exit. It is
> somehow run in background and does not exit.
>
>         $ /usr/sbin/x2gocleansessions --help
>         $ echo $?
>         0
>         $ /usr/sbin/x2gocleansessions --version
>         $ echo $?
>         0
>
> They are still listed by `ps aux | grep x2go`.

X2Go clean sessions script is a daemon script. It should be possible
to execute multiple instances, but it should fork into background.
There is no --help and --version available, so these optioned commands
will just start another instance of the daemon.

Interesting, thank you for the explanation.

Is there an advantage over letting the user to decide to start in the
foreground or in the background by using the ampersand »&«?

The script needs root privileges on the file system and it is launched via

  invoke-rc.d x2goserver start

It is not supposed to run with user privileges. Please read the script's Perl code for further insights.

Mike


--

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: [email protected], http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

Attachment: pgp4IggKaBpwf.pgp
Description: Digitale PGP-Unterschrift

_______________________________________________
X2Go-Dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/x2go-dev

Reply via email to