This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: sshd interaction with desktop not working
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Aijaz Baig <aijazbaig1 at gmail dot com>, cygwin at cygwin dot com
- Date: Thu, 11 Feb 2016 14:56:42 +0300
- Subject: Re: sshd interaction with desktop not working
- Authentication-results: sourceware.org; auth=none
- References: <CAHB2L+ct03oQVgQ27m=oPC41qMvXvwrO0Zm63SDidmujUJd47Q at mail dot gmail dot com> <CAHB2L+dPtZCm_1ga-a8Ud74oNg5-3JDW6zHYMeYUHDyiOtUXZQ at mail dot gmail dot com>
- Reply-to: cygwin at cygwin dot com
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