Xwin shutdown command line option

Alexander Gottwald alexander.gottwald@s1999.tu-chemnitz.de
Wed Sep 22 08:39:00 GMT 2004


On Wed, 22 Sep 2004, Vijay Kiran Kamuju wrote:

> I think the Cygwin/X server implementation for shutting down the xserver
> 
> ie, code using the system tray->exit
> 
> can be encapsulated in -stop/-terminate
> 
> like
> 
> if(strcmp(args[#no],"-terminate")
> {
> #ifdef WIN32
>       //code using the system tray->exit
> #endif
> }

by calling XWin -terminate you're starting another process which
knowns nothing about the already running XWin. 

How would you select which of the already running xservers should be 
terminated? (There may be more than just one running) Killing all 
is a little bit dangerous.  With terminal clients you might have different
users on the same box. If one issues XWin -terminate by accident all 
other users would suffer. 

No. This is not an option.

bye
	ago 
-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723



More information about the Cygwin-xfree mailing list