This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: unable to open the display on local machine

Hash: SHA1 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"

- --

Ever wondered where I work? Try this:

- --

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.
Version: GnuPG v1.2.2 (MingW32)
Comment: Using GnuPG with Mozilla -


-- Unsubscribe info: Problem reports: Documentation: FAQ:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]