delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/28/11:52:56

X-Spam-Check-By: sourceware.org
Date: Mon, 28 Aug 2006 11:52:40 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: mwoehlke <mwoehlke AT tibco DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Why is $DISPLAY wrong? (was: copying and pasting in the terminal window?)
In-Reply-To: <ecv33r$jcc$1@sea.gmane.org>
Message-ID: <Pine.GSO.4.63.0608281150240.10073@access1.cims.nyu.edu>
References: <ecn7oe$25f$1 AT sea DOT gmane DOT org> <002601c6c8a6$22e13a30$020aa8c0 AT DFW5RB41> <ecv33r$jcc$1 AT sea DOT gmane DOT org>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019