This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: gv: Unable to open the display
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: cygwin-xfree at cygwin dot com
- Date: Mon, 27 Sep 2004 09:32:29 -0400 (EDT)
- Subject: Re: gv: Unable to open the display
- References: <cj8dmt$kr2$1@sea.gmane.org> <87sm94ou6k.fsf@vzell-de.de.oracle.com>
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: cygwin-xfree at cygwin dot com
On Mon, 27 Sep 2004, Dr. Volker Zell wrote:
> >>>>> Alex Vinokur writes:
>
> > $ gv -v
> > gv: Unable to open the display
That's because the DISPLAY variable is not set correctly. For a default X
invocation (no display number on the command line), DISPLAY should be
":0.0".
> > $ cygcheck -sr | grep ghost
> > ghostscript-base 7.05-2
> > ghostscript-x11 7.05-2
>
> > Also:
> > $ which -a gs
> > /usr/local/bin/gs
> > /usr/bin/gs
> > /bin/gs
> > /usr/bin/gs
> > /usr/X11R6/bin/gs
>
> Make sure /usr/X11R6/bin/gs is first in your path.
Good advice in any case.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing." -- Dr. Jubal Harshaw