gv: Unable to open the display

Igor Pechtchanski pechtcha@cs.nyu.edu
Mon Sep 27 13:32:00 GMT 2004


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



More information about the Cygwin-xfree mailing list