delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/27/16:39:54

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <004101c39cd2$bd2d8c90$6c0aa8c0@adexainc.com>
From: "Rob S.i.k.l.o.s." <rob2 AT siklos DOT ca>
To: <cygwin AT cygwin DOT com>
References: <003301c39cc1$3e7dd140$6c0aa8c0 AT adexainc DOT com> <6 DOT 0 DOT 0 DOT 22 DOT 0 DOT 20031027160146 DOT 02ad5bc8 AT 127 DOT 0 DOT 0 DOT 1>
Subject: Re: launching a windows program remotely using ssh
Date: Mon, 27 Oct 2003 16:39:02 -0500
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

From: "Larry Hall" <cygwin-lh AT cygwin DOT 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 AT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019