unable to open the display on local machine
Klemens Meyer
klesmen@teleinfo.de
Thu Nov 20 07:36:00 GMT 2003
-----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/
More information about the Cygwin
mailing list