This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: unable to open the display on local machine
- From: Klemens Meyer <klesmen at teleinfo dot de>
- To: cygwin at cygwin dot com
- Date: Thu, 20 Nov 2003 08:36:44 +0100
- Subject: Re: unable to open the display on local machine
- References: <28343.1069312376@www12.gmx.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
daniel43@gmx.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/