delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/12/08:30:54

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <corinna-cygwin AT cygwin DOT com>
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: <F05E952D5FF2DB47BE322C5795DEB3E0017189F0 AT usca1ex-priv1 DOT sanmateo DOT corp DOT akamai DOT com> <20040510164646 DOT GC8667 AT cygbert DOT vinschen DOT de> <c7qsd3$vak$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <c7qsd3$vak$1@sea.gmane.org>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019