This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 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: gv: Unable to open the display


On Mon, 27 Sep 2004, Alex Vinokur wrote:

> "Igor Pechtchanski" wrote:
> > 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
> [snip]
>
> Some changes have be done.
>
> $ which gs
> /usr/X11R6/bin/gs
>
> $ set | grep DISP
> DISPLAY=:0.0
>
> $ gs zzz.tex
> GNU Ghostscript 7.05 (2002-04-22)
> Copyright (C) 2002 artofcode LLC, Benicia, CA.  All rights reserved.
> This software comes with NO WARRANTY: see the file PUBLIC for details.
> GNU Ghostscript 7.05: Cannot open X display `:0.0'.
> **** Unable to open the initial device, quitting.
>
> Something else?

Yeah.  Run X? ;-)
	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


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