This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: launching a windows program remotely using ssh


From: "Larry Hall" <cygwin-lh@cygwin.com>

> At 02:33 PM 10/27/2003, Rob S.i.k.l.o.s. you wrote:
> >Hello,
> >
> >I have an ssh (cygwin) server running on a windows 2000 machine, and I
want
> >to start a windows program on this machine using a remote command.
> >
> >My problem is that I can't get the window of the program to display
> >anywhere.
> >
> >For example:
> >I run something like "ssh user@computer /c/winnt/system32/notepad.exe"
> >
> >When I ran this command, I was expecting to see a notepad window open on
> >"computer", but none appeared.  Is there any way to accomplish this?
> >The process *did* start, because it was listed in the task manager.
>
> See the "--interactive" flag of cygrunsrv.  You need to install ssh (or
> any service) with this if you want the service to interact with the
> "desktop"

right - that totally works.  Thanks a lot.

Now, is there any way of having sshd run being able to interact with the
desktop, but without having an empty console window hanging around?

I guess that was probably the point of not allowing sshd to interact with
the desktop in the first place, huh?

Rob.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]