From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19887 invoked by alias); 31 Dec 2008 15:40:33 -0000 Received: (qmail 19879 invoked by uid 22791); 31 Dec 2008 15:40:32 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mail.prospeed.net (HELO mail.prospeed.net) (64.25.80.140) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 31 Dec 2008 15:39:43 +0000 Received: from localhost.localdomain (lhall.prospeed.net [64.25.83.123]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.prospeed.net (Postfix) with ESMTP id 7F5F12801733F for ; Wed, 31 Dec 2008 10:39:33 -0500 (EST) Message-ID: <495B920A.3040802@cygwin.com> Date: Wed, 31 Dec 2008 15:40:00 -0000 From: "Larry Hall (Cygwin)" Reply-To: cygwin@cygwin.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.18) Gecko/20081120 Remi/2.0.0.18-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.18 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Run a Cygwin (X) app from a DOS command line References: <001d01c96b41$2bbb20e0$4001a8c0@mycomputer> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2008-12/txt/msg00709.txt.bz2 Thorsten Kampe wrote: > * 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. You also need Cygwin's installation path in your Windows PATH variable. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/