* sshd interaction with desktop not working
@ 2016-02-09 9:49 Aijaz Baig
2016-02-09 12:56 ` Larry Hall (Cygwin)
2016-02-11 7:00 ` Aijaz Baig
0 siblings, 2 replies; 10+ messages in thread
From: Aijaz Baig @ 2016-02-09 9:49 UTC (permalink / raw)
To: cygwin
Hello
I am SSH'ing into a windows 10 box from a Linux box. I've configured
sshd on the windows box and I can properly SSH into it.
X11 forwarding also works perfectly after having installed Xming on
windows (not that it matters with this problem anyways).
However I am unable to open any windows application from the Linux
box. I would like to open the windows app locally in the windows box
(or to rephrase it, I do not need the UI windows to be opened on the
Linux box)
I am unable to figure out why it is not working even after selecting
"Allow service to interact with desktop". My goal is to invoke windows
app from ssh (Linux to Windows). Similar problems earlier were solved
by selecting this option but apparently they were on earlier version
of windows.
Or should I take a different approach? Am I barking at the wrong tree here??
I am keen to hear from input(s)
--
Best Regards,
Aijaz Baig
--
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: sshd interaction with desktop not working
2016-02-09 9:49 sshd interaction with desktop not working Aijaz Baig
@ 2016-02-09 12:56 ` Larry Hall (Cygwin)
2016-02-11 7:00 ` Aijaz Baig
1 sibling, 0 replies; 10+ messages in thread
From: Larry Hall (Cygwin) @ 2016-02-09 12:56 UTC (permalink / raw)
To: cygwin
On 2/9/2016 4:49 AM, Aijaz Baig wrote:
> Hello
>
> I am SSH'ing into a windows 10 box from a Linux box. I've configured
> sshd on the windows box and I can properly SSH into it.
>
> X11 forwarding also works perfectly after having installed Xming on
> windows (not that it matters with this problem anyways).
>
> However I am unable to open any windows application from the Linux
> box. I would like to open the windows app locally in the windows box
> (or to rephrase it, I do not need the UI windows to be opened on the
> Linux box)
>
> I am unable to figure out why it is not working even after selecting
> "Allow service to interact with desktop". My goal is to invoke windows
> app from ssh (Linux to Windows). Similar problems earlier were solved
> by selecting this option but apparently they were on earlier version
> of windows.
>
> Or should I take a different approach? Am I barking at the wrong tree here??
>
> I am keen to hear from input(s)
Wrong tree, yes. Microsoft chopped down the tree you want and planted a new
one in its place. In short, the restriction was introduced post-XP as it
is considered a security hole. There have been sporadic subsequent reports
of success to this list but never a clear recipe for getting this to work
reliably. And given that this is perceived as a security hole, I doubt
you'll find one that doesn't include some significant effort and/or
restrictions. If you search around for "Windows station" and "Allow
service to interact with desktop", I think you'll find some relevant
information.
--
Larry
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: sshd interaction with desktop not working
2016-02-09 9:49 sshd interaction with desktop not working Aijaz Baig
2016-02-09 12:56 ` Larry Hall (Cygwin)
@ 2016-02-11 7:00 ` Aijaz Baig
2016-02-11 12:05 ` Andrey Repin
1 sibling, 1 reply; 10+ messages in thread
From: Aijaz Baig @ 2016-02-11 7:00 UTC (permalink / raw)
To: cygwin
Hello
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.
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??
On Tue, Feb 9, 2016 at 3:19 PM, Aijaz Baig <aijazbaig1@gmail.com> wrote:
> Hello
>
> I am SSH'ing into a windows 10 box from a Linux box. I've configured
> sshd on the windows box and I can properly SSH into it.
>
> X11 forwarding also works perfectly after having installed Xming on
> windows (not that it matters with this problem anyways).
>
> However I am unable to open any windows application from the Linux
> box. I would like to open the windows app locally in the windows box
> (or to rephrase it, I do not need the UI windows to be opened on the
> Linux box)
>
> I am unable to figure out why it is not working even after selecting
> "Allow service to interact with desktop". My goal is to invoke windows
> app from ssh (Linux to Windows). Similar problems earlier were solved
> by selecting this option but apparently they were on earlier version
> of windows.
>
> Or should I take a different approach? Am I barking at the wrong tree here??
>
> I am keen to hear from input(s)
> --
>
> Best Regards,
> Aijaz Baig
--
Best Regards,
Aijaz Baig
--
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: sshd interaction with desktop not working
2016-02-11 7:00 ` Aijaz Baig
@ 2016-02-11 12:05 ` Andrey Repin
2018-03-16 18:00 ` mhallnh
0 siblings, 1 reply; 10+ messages in thread
From: Andrey Repin @ 2016-02-11 12:05 UTC (permalink / raw)
To: Aijaz Baig, cygwin
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
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2018-03-18 15:45 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-09 9:49 sshd interaction with desktop not working Aijaz Baig
2016-02-09 12:56 ` Larry Hall (Cygwin)
2016-02-11 7:00 ` Aijaz Baig
2016-02-11 12:05 ` Andrey Repin
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
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).