delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/20/21:34:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.1.0.6.0.20040520212007.03251818@pop.theworld.com>
X-Sender:
Date: Thu, 20 May 2004 21:25:18 -0400
To: David Wuertele <dave-gnus AT bfnet DOT com>, cygwin AT cygwin DOT com
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: Can I get a GUI program to run when logged into cygwin via sshd?
In-Reply-To: <m3u0yaad9c.fsf@bfnet.com>
References: <m3u0yaad9c DOT fsf AT bfnet DOT com>
Mime-Version: 1.0

At 07:29 PM 5/20/2004, you wrote:
>I have a program that I commonly run from the cygwin command line:
>
>  # /cygdrive/c/bin/runme.bat
>
>This executes a certain GUI program with specific command line
>arugments.  The GUI program's window materializes on the Windows
>desktop, the program does its batch processing thing, then it exits
>and the window disappears.  This is exactly how I like it to work.
>
>However, when I run sshd on this host, and ssh into it from another
>host, I try to run the same program:
>
>  # /cygdrive/c/bin/runme.bat
>
>But this time the GUI window does not materialize on the windows
>display, and the program seems to hang indefinitely.
>
>If I could get this program to run through its batch and then exit at
>the end, I would be satisfied, even if the GUI window doesn't
>materialize on the Windows desktop.
>
>Is there any way to acheive this?  


See the '--interactive' flag of 'cygrunsrv'.  You'll need to uninstall and
reinstall the 'sshd' service to use this flag though.  Alternatively, you
can use the Windows "Services" admin applet to change the 'sshd' service.
Click on "Cygwin sshd", "Properties", the "Log on" tab, and then click
the "Allow service to interact with desktop".


> 

--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
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