Re: Help on terminate on disconnect feature needed

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

 



On Fri, Aug 10, 2012 at 03:57:05PM -0500, Jeremy White wrote:
> I've got a need for an Xspice feature whereby the whole X server dies on
> client disconnect.  Basically, we want the Xspice session to live
> exactly once, and then die.

You are talking about the spice client?

> 
> As I puzzle through the code, I don't have the feeling that there is an
> obvious place to inject that logic.  I mean, I can shove an abort()
> pretty much anywhere.  But I'd like to do it gracefully.

Look at server/red_channel.c; there is a per channel on_disconnect
callback, you can add a parameter to it. Also, why abort, exit sounds
like what you want.

> 
> I was hoping this would be obvious to someone else.  Anyone?
> 
> Thanks,
> 
> Jeremy
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]