www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/06/10:10:42

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_05
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: 1.5.25-Cygstart not showing visible window
Date: Fri, 6 Mar 2009 09:09:59 -0600
Message-ID: <297343D29C14AA4D822142893ABEAEF3061794AB@srv1163ex1.flightsafety.com>
In-Reply-To: <45444c270903052309t38a845f4g26d477efc026065d@mail.gmail.com>
References: <45444c270903052309t38a845f4g26d477efc026065d AT mail DOT gmail DOT com>
From: "Thrall, Bryan" <bryan DOT thrall AT flightsafety DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

Jay Cross wrote on Friday, March 06, 2009 1:09 AM:
> I'm having an problem with cygstart.  When I run a program with it in
> a bash shell on my cygwin machine everything is fine. When I'm
> accessing cygwin through another machine (using SSH through Putty) the
> program window never appears regardless of how I specify command args.
>  The program I specify is running in my Task Manager (Process
> Explorer) but it has no visible window associated.  I can hear sounds
> it makes.. but no window appears.
>=20
> Is this a feature or a bug - or something in between?

It sounds like sshd is lacking the "Interact With Desktop flag". You can
either remove and reinstall the service with cygrunsrv (and add the -i
flag when you reinstall), or open the "Cygwin sshd" Windows service
Properties and check the "Allow service to interact with desktop" box in
the "Log On" tab.

> I've tried changing the ownership of cygrunsrv, bash, and sshd.
>=20
> This behavior also occurs when I run the script below.
>=20
> I'm trying to run programs/files on my TV computer at the command of
> my laptop computer.  It would be useful if they actually displayed on
> TV computer.
>=20
> I know I could use a VNC solution, but it's not really what I'm
> looking for.  Cygstart seems like it is designed to do something
> similar to what I want, am I asking to much?  Have I missed something?
>=20
> Thanks in advance to anyone that can help.

HTH,
--=20
Bryan Thrall
FlightSafety International
bryan DOT thrall AT flightsafety DOT com

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