Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!wsl.dec.com!mikey From: mikey@wsl.dec.com (Mike Yang) Newsgroups: comp.windows.x Subject: Re: Killing the server (was "oclock changes to run ahead of time") Message-ID: <2750@bacchus.dec.com> Date: 14 Feb 90 03:15:46 GMT References: <2785@umbc3.UMBC.EDU> <90056@elsie.UUCP> Sender: news@decwrl.dec.com Reply-To: mikey@wsl.dec.com Organization: DEC Western Software Laboratory Lines: 17 In article <2785@umbc3.UMBC.EDU>, alex@umbc3.UMBC.EDU (Alex S. Crain) writes: > What I would really like to do, though is reset the server or > otherwise get back to the xdm login window. Something like: > > XResetServer(...) > > obviously, this call doesn't exist. Is there any way of accomplishing > this cleanly? Well, you could use the "technique" mentioned in an earlier message and use XDestroySubwindows to destroy all the children of the root window, and hope that this disconnects all the connections to the server, thus resetting it... ----------------------------------------------------------------------------- Mike Yang Western Software Laboratory Digital Equipment Corporation mikey@wsl.dec.com decwrl!mikey 415/853-6677