X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=tnZ59YhShkuqRbYC nZIGYc41IN/R/Z651ywQzUutd457aX6CeizibElS8axJiDgWzgXIMkKOSNS+fIB0 2YQeaREMHBTY1uAiDPw3fw8sbLYXfFYCxMWfeRjcQKKhgLDNqGNroQeC1EuKxN3y dIVsR6WXYbZyYbENrtIKBSUR6e4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=Lw64cWifsKy8K2Z7LqPFgQ z66E8=; b=ubPnk3TSQ6r/5LyHn+t9B5hyWUsQRtf9c+a90X85GERUzCA6U6HXcG 1HVfUBG+8D+b3vc9ENphB8ML9vMAzfpKeQNRt71b3zcXvieZUtbDb9JcdN3Ou6T4 /3g1XU5KkLbw2Yny3LVpAZHhRcwGQsAMpOY0hDgl3a9CoXhQFpvoI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=H*UA:Bat!, H*x:Bat!, detection, H*F:D*yandex.ru X-HELO: smtp.ht-systems.ru Date: Thu, 11 Feb 2016 14:56:42 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <1769495026.20160211145642@yandex.ru> To: Aijaz Baig , cygwin AT cygwin DOT com Subject: Re: sshd interaction with desktop not working In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Aijaz Baig! Please don't top-post, thank you. > I was able to see some "action" by turning the > "NoInteractiveSercvices" option OFF in the registry. So now when I try > to run notepad.exe from the ssh shell, it asks me whether I'd like to > see the "message" and when I click yes, I see some "window-like" thing > on the desktop at which point the desktop apparently hangs. > On prodding further, I realize that if I disable the windows service > which checks whether a certain service is trying to "interact", I see > nothing in the desktop and everything is just like it was before I > started this exploration. This is exactly what Larry has been referring to. Services are running in a separate desktop session since Vista. If you disable detection of such services showing GUI stuff, you will have no access to that desktop. > Has anyone been able to get around this problem? On the other hand, > where can I get to read the log of the cygwin SSHD?? /var/log/sshd.log > is empty? where does CYGWIN sshd does the logging?? AFAIK it used to > be this file. Has that changed?? This is not a problem, this is a security feature. If you desperately want to interact with user session, run SSHD in that user's session. -- With best regards, Andrey Repin Thursday, February 11, 2016 14:51:36 Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple