[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#648219: killer script does not recognize X2Go sessions



Hi Petter,

On Mi 09 Nov 2011 19:06:04 CET Petter Reinholdtsen wrote:

[Mike Gabriel]
Hi,

as X2Go may be a nice add-on feature for Debian Edu terminal servers
it would be nice to have the killer script recognize X2Go sessions and
keep them alive.

Sound useful.  How can the killer script recognize X2Go sessions?

I still owe you a reply on this. The master processes of an X2Go session are

  x2goagent (an X-server like Xnest)
  x2goruncommand

The X2Go server has its own session cleanup script, so this script should handle session terminations and cleanups.

If you want to wipe sessions from the server (over night), it is sufficient to kill the x2goagent's found running.

Simple solution:

  - (a) leave x2goagent and x2goruncommand and all child processes of
    x2goruncommand untouched by killer

Genuine solution:

  - (b) detect the x2goagent's X display number and keep all processes alive
    that are attached to that X display

On full process wiping:

  - kill all x2goagent's found on the system
  - the x2gocleansessions script should handle the post-cleanup of brutefully
    killing x2goagent (i.e. the X-Server of each X2Go session)

Greets,
Mike



--

DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419

GnuPG Key ID 0xB588399B
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

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

Attachment: pgpfDolxz2OMl.pgp
Description: Digitale PGP-Unterschrift


Reply to: