public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: Aijaz Baig <aijazbaig1@gmail.com>, cygwin@cygwin.com
Subject: Re: sshd interaction with desktop not working
Date: Thu, 11 Feb 2016 12:05:00 -0000	[thread overview]
Message-ID: <1769495026.20160211145642@yandex.ru> (raw)
In-Reply-To: <CAHB2L+dPtZCm_1ga-a8Ud74oNg5-3JDW6zHYMeYUHDyiOtUXZQ@mail.gmail.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

  reply	other threads:[~2016-02-11 12:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-09  9:49 Aijaz Baig
2016-02-09 12:56 ` Larry Hall (Cygwin)
2016-02-11  7:00 ` Aijaz Baig
2016-02-11 12:05   ` Andrey Repin [this message]
2018-03-16 18:00     ` mhallnh
2018-03-17  6:16       ` Andrey Repin
2018-03-17 20:05         ` mhallnh
2018-03-17 20:21           ` R0b0t1
2018-03-18 15:34             ` mhallnh
2018-03-18 16:19               ` R0b0t1

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1769495026.20160211145642@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=aijazbaig1@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).