delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/31/09:13:58

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,BARRACUDA_BRBL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: Run a Cygwin (X) app from a DOS command line
Date: Wed, 31 Dec 2008 15:13:01 +0100
Lines: 9
Message-ID: <gjfulb$nbn$1@ger.gmane.org>
References: <001d01c96b41$2bbb20e0$4001a8c0 AT mycomputer>
Mime-Version: 1.0
User-Agent: MicroPlanet-Gravity/2.71.4
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

* John Emmas (Wed, 31 Dec 2008 12:13:20 -0000)> 
> Is it possible to run a Cygwin GUI app (i.e. requiring 'X') from a DOS
> terminal, as opposed to a bash terminal?  After starting the X server
> I tried  "cygstart path/to/my/program" but nothing happened.  The app
> runs fine if I start it from a bash terminal.

You have to set the DISPLAY variable to a valid value.

Thorsten


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