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 Mime-Version: 1.0 (Apple Message framework v613) In-Reply-To: References: <20040709091515 DOT GB6590 AT cygbert DOT vinschen DOT de> <3FF0B65A-D198-11D8-98E6-000393CE9342 AT kreisbote DOT de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: <3FA5FCB0-D1B7-11D8-98E6-000393CE9342@kreisbote.de> From: Systemtechnik Subject: Re: OpenSSH disconnects when Windows user logging out Date: Fri, 9 Jul 2004 16:49:58 +0200 To: cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i69EoDaL024099 Hello. >>>> when using an secureshell on an Windows-Box, running cygwin and >>>> openssh, i receive an disconnect when the Windows user just loggs >>>> off >>>> (no shutdown nor restart !). >>> >>> I just tried the same. My remote session didn't disconnect when the >>> local user logged off. >> >> That's strange. I see an errormessage like: >> >> Received disconnect from 172.29.3.165: Command terminated on signal >> 1. >> >> Can you/anybody give me a hint how to solve this ? Or what to do next >> to find the source of it ? > > Looks like you aren't starting sshd as a service. Are you even using > WinNT/2k/XP? Service is started as "LocalSystem" on WindowsNT 4.0 But your question pointed me to the right direction and i finally found the error. I choose "Interact with desktop" in the service-dialog to do funny things like starting applications for users :-) If i uncheck this, my sessions thays active, even if the user loggs off. I wonder if there is a way to prevent this ?! It would be very nice to start programs from within a ssh-shell, e.g. start "iexplore c:\adminwarn.html" to show the user that someone's working on his machine. Oliver Geisen --------------------------------------- Systemadministrator Kreisboten Verlag Mühlfellner KG Telefon: 0881/686-63 Telefax: 0881/686-74 Mail: technik AT kreisbote DOT de --------------------------------------- -- 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/