This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Xwin shutdown command line option
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
}
On Wed, 22 Sep 2004 09:53:35 +0200 (MEST), Alexander Gottwald
<alexander.gottwald@s1999.tu-chemnitz.de> wrote:
> On Wed, 22 Sep 2004, Vijay Kiran Kamuju wrote:
>
> > Hi
> >
> > is there a way to shutdown the Xserver from command line
>
> No.
>
> > rather than using ps and checking for pid of XWin and using kill -9
>
> I'm afraid this seems to be the best option for killing the xserver.
>
> > if u can provide that option from command line it would be gr8
> > when XWin is started i have to go to the tray icon and shutit down,
>
> If someone ever builds a _free_ and selfcontained wrapper for Cygwin/X
> this would be a good option to add.
>
> bye
> ago
> --
> Alexander.Gottwald@s1999.tu-chemnitz.de
> http://www.gotti.org ICQ: 126018723
>