public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Rob S.i.k.l.o.s." <rob2@siklos.ca>
To: <cygwin@cygwin.com>
Subject: Re: launching a windows program remotely using ssh
Date: Tue, 28 Oct 2003 02:13:00 -0000	[thread overview]
Message-ID: <004101c39cd2$bd2d8c90$6c0aa8c0@adexainc.com> (raw)
In-Reply-To: <6.0.0.22.0.20031027160146.02ad5bc8@127.0.0.1>

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/

  reply	other threads:[~2003-10-27 21:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-27 21:39 Rob S.i.k.l.o.s.
2003-10-28  2:09 ` Larry Hall
2003-10-28  2:13   ` Rob S.i.k.l.o.s. [this message]
2003-10-30  8:11     ` Larry Hall

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='004101c39cd2$bd2d8c90$6c0aa8c0@adexainc.com' \
    --to=rob2@siklos.ca \
    --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).