Why is $DISPLAY wrong? (was: copying and pasting in the terminal window?)

Igor Peshansky pechtcha@cs.nyu.edu
Mon Aug 28 16:02:00 GMT 2006


On Mon, 28 Aug 2006, mwoehlke wrote:

> Gary R. Van Sickle wrote:
> > > Oh, and...
> > > "rxvt: can't open display 127.0.0.1:0"
> >
> > I think you have either installed the wrong one or have DISPLAY set
> > wrong.
>
> Of course $DISPLAY is set wrong. /etc/prodile.d/qt3.3.sh sets it
> unconditionally to 127.0.0.1:0, which also breaks 'ssh -X'. Anyone know
> *why* it's doing this?

'Cause it's broken?

> Can it be fixed? (I assume this comes from a qt package ;-) but I don't
> know who maintains those.)

It's not in the official distribution: <http://cygwin.com/packages/qt/>.
You'd probably better ask whoever you got it from (but not on this list).

> '[ -z "$DISPLAY" ] && export DISPLAY=127.0.0.1:0' seems to work better.

Nope, it's worse.  Perhaps the user left DISPLAY unset for a reason...  I
don't want simply installing some package to muck up my $DISPLAY...
	Igor
--
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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