Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3FBC6F0C.4030008@teleinfo.de> Date: Thu, 20 Nov 2003 08:36:44 +0100 From: Klemens Meyer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en, ja, de-de MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: unable to open the display on local machine References: <28343 DOT 1069312376 AT www12 DOT gmx DOT net> In-Reply-To: <28343.1069312376@www12.gmx.net> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 daniel43 AT gmx DOT ch wrote: | Hello, | | I have installed cygwin localy on a W2K PC. | I have installed the package ghostview, using the setup.exe utility. | Now, if I try to start ghostview, I type: | $ gv & | I get the error message: | gv: Unable to open the display. Do you have installed and started X-Windows? If not you should do that before starting gv. | I tried to set the DISPLAY variable: | $setenv DISPLAY localhost:0.0 | But the setenv command is not known. | So I tried with set: | $set DISPLAY localhost:0.0 | But this does not seem to do anything. | When I echo the variable DISPLAY: | $echo $DISPLAY | I just get a blank line. Cygwin uses the bash shell as default. In bash setting a variable is done this way: export DISPLAY="localhost:0.0" Klemens - -- Ever wondered where I work? Try this: http://www.map-scout.de/myMap.asp?G=332EBA4E8A73442294C50D02C0FB9C7A&S=0 - -- Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/vG8MdDBiVZS7P/MRApWiAJ9On572OBvDDyDTln3y8yocaEd0XwCglvSq VS0b8Ku++aNDs2LQfJvfguc= =BoR/ -----END PGP SIGNATURE----- -- 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/