delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/02/11/07:05:34

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: <cygwin.cygwin.com>
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
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 <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1769495026.20160211145642@yandex.ru>
To: Aijaz Baig <aijazbaig1 AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: sshd interaction with desktop not working
In-Reply-To: <CAHB2L+dPtZCm_1ga-a8Ud74oNg5-3JDW6zHYMeYUHDyiOtUXZQ@mail.gmail.com>
References: <CAHB2L+ct03oQVgQ27m=oPC41qMvXvwrO0Zm63SDidmujUJd47Q AT mail DOT gmail DOT com> <CAHB2L+dPtZCm_1ga-a8Ud74oNg5-3JDW6zHYMeYUHDyiOtUXZQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
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

- Raw text -


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