delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/09/10:50:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Mime-Version: 1.0 (Apple Message framework v613)
In-Reply-To: <Pine.GSO.4.58.0407091023080.442@slinky.cs.nyu.edu>
References: <A081FBC0-D16F-11D8-98E6-000393CE9342 AT kreisbote DOT de> <20040709091515 DOT GB6590 AT cygbert DOT vinschen DOT de> <3FF0B65A-D198-11D8-98E6-000393CE9342 AT kreisbote DOT de> <Pine DOT GSO DOT 4 DOT 58 DOT 0407091023080 DOT 442 AT slinky DOT cs DOT nyu DOT edu>
Message-Id: <3FA5FCB0-D1B7-11D8-98E6-000393CE9342@kreisbote.de>
From: Systemtechnik <technik AT kreisbote DOT de>
Subject: Re: OpenSSH disconnects when Windows user logging out
Date: Fri, 9 Jul 2004 16:49:58 +0200
To: cygwin AT cygwin DOT com
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/


- Raw text -


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