Bug#648219: killer script does not recognize X2Go sessions

2013-06-30 Thread Petter Reinholdtsen
[Mike Gabriel]
> Do you know any hints / readers that we can study so that consolekit
> support gets incorporated into X2Go?

Nope.  I know there is a pam module handling some of it, but have not
studied it.

-- 
Happy hacking
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#648219: killer script does not recognize X2Go sessions

2013-06-30 Thread Mike Gabriel

Hi Petter,

On Sa 29 Jun 2013 20:44:53 CEST Petter Reinholdtsen wrote:



Hi, Mike.

Can you tell me how x2go users show up in consolekit?  Try to run
ck-list-sessions after loggin in, and let me know what it shows.


The two sessions below depict a running session (one SSH session and  
on top of that an nx-X11 session).


Session700:
unix-user = '1000'
realname = 'Mike Gabriel'
seat = 'Seat87'
session-type = ''
active = FALSE
x11-display = ''
x11-display-device = ''
display-device = '/dev/ssh'
remote-host-name = 'localhost.localdomain'
is-local = FALSE
on-since = '2013-06-30T11:32:42.831202Z'
login-session-id = '4294967295'
Session701:
unix-user = '1000'
realname = 'Mike Gabriel'
seat = 'Seat88'
session-type = ''
active = FALSE
x11-display = ':51'
x11-display-device = ''
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2013-06-30T11:32:48.243293Z'
login-session-id = '4294967295'

And this is a suspended session:

Session701:
unix-user = '1000'
realname = 'Mike Gabriel'
seat = 'Seat88'
session-type = ''
active = FALSE
x11-display = ':51'
x11-display-device = ''
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2013-06-30T11:32:48.243293Z'
login-session-id = '4294967295'

I get the impression that we (X2Go upstream) should do something to  
notify consolekit of session status updates.


Do you know any hints / readers that we can study so that consolekit  
support gets incorporated into X2Go?


Greets,
Mike




--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

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

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


pgpNaIsSh4YYp.pgp
Description: Digitale PGP-Unterschrift


Bug#648219: killer script does not recognize X2Go sessions

2013-06-29 Thread Petter Reinholdtsen

Hi, Mike.

Can you tell me how x2go users show up in consolekit?  Try to run
ck-list-sessions after loggin in, and let me know what it shows.

-- 
Happy hacking
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#648219: killer script does not recognize X2Go sessions

2012-01-18 Thread Petter Reinholdtsen
tags 648219 + moreinfo
thanks

[Mike Gabriel]
> 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.

Thank you.  I'm not sure how to implement this.  Can you or anyone
provide a tested patch to implement this?
-- 
Happy hacking
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#648219: killer script does not recognize X2Go sessions

2012-01-15 Thread Mike Gabriel

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.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

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


pgpHx0rkzhN04.pgp
Description: Digitale PGP-Unterschrift


Bug#648219: killer script does not recognize X2Go sessions

2011-11-09 Thread Petter Reinholdtsen
[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?
-- 
Happy hacking
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#648219: killer script does not recognize X2Go sessions

2011-11-09 Thread Mike Gabriel

package: killer
severity: minor
version: SVN-rev-as-of-2009

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.


Currently, all X2Go sessions are sometimes killed by the killer  
script. Sometimes in this case means: several times during a school day.


Greets,
Mike

--

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

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

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


pgp298DkOTYv5.pgp
Description: Digitale PGP-Unterschrift