Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 12 May 2004 14:30:42 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Shutdown doesn't seem to work when invoked from ssh session Message-ID: <20040512123042.GH12030@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20040510164646 DOT GC8667 AT cygbert DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i On May 11 17:47, Krzysztof Duleba wrote: > Corinna Vinschen wrote: > > > On May 10 07:33, Egerton, James wrote: > > > I've tried using the Cygwin shutdown-1.4 from an ssh session and it > > > doesn't seem to do anything. The call to ExitWindowsEx doesn't > appear > > > to fail, but nothing happens after the "WARNING!!!..." message is > > > displayed. I have verified that the system can be rebooted from ssh > if > > > InitiateSystemShutdown is called instead of ExitWindowsEx and this > > > appears to be consistent with the ExitWindowsEx description: > > > > Thanks for the report. > > I'll upload a new shutdown tool within the next few days, probably. > > I tried out the following sequence: > > reboot -f "now" > > I had no reaction. Then I typed > > shutdown now > > No reaction too. Then I closed the remote console and went back to my > room. My computer was rebooting. So remote shutdown is working, but in a > bit strange (and slow) way. > > This summer I've been shutdowning from a remote console a lot, and > everything worked fine, so I wonder what's different now. It works for me, too. Using InitiateSystemShutdown might be just the cleaner method, I guess. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Co-Project Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/