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

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: mwoehlke <mwoehlke AT tibco DOT com>
Subject: Why is $DISPLAY wrong? (was: copying and pasting in the terminal window?)
Date: Mon, 28 Aug 2006 10:46:03 -0500
Lines: 18
Message-ID: <ecv33r$jcc$1@sea.gmane.org>
References: <ecn7oe$25f$1 AT sea DOT gmane DOT org> <002601c6c8a6$22e13a30$020aa8c0 AT DFW5RB41>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060719 Thunderbird/1.5.0.5 Mnenhy/0.7.4.0
In-Reply-To: <002601c6c8a6$22e13a30$020aa8c0@DFW5RB41>
X-IsSubscribed: yes
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

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?

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

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

-- 
Matthew
We are Microsoft. You will be assimilated. Resistance is futile. --Badtech


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