From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3215 invoked by alias); 27 Oct 2003 21:39:06 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 3207 invoked from network); 27 Oct 2003 21:39:05 -0000 Received: from unknown (HELO square.phpwebhosting.com) (69.0.231.197) by sources.redhat.com with SMTP; 27 Oct 2003 21:39:05 -0000 Received: (qmail 13291 invoked from network); 27 Oct 2003 21:39:03 -0000 Received: from unknown (HELO qawks6) (216.13.136.178) by square.phpwebhosting.com with SMTP; 27 Oct 2003 21:39:03 -0000 Message-ID: <004101c39cd2$bd2d8c90$6c0aa8c0@adexainc.com> From: "Rob S.i.k.l.o.s." To: References: <003301c39cc1$3e7dd140$6c0aa8c0@adexainc.com> <6.0.0.22.0.20031027160146.02ad5bc8@127.0.0.1> Subject: Re: launching a windows program remotely using ssh Date: Tue, 28 Oct 2003 02:13:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-SW-Source: 2003-10/txt/msg01670.txt.bz2 From: "Larry Hall" > 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/