X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: mwoehlke Subject: Re: Why is $DISPLAY wrong? Date: Mon, 28 Aug 2006 10:57:58 -0500 Lines: 37 Message-ID: References: <002601c6c8a6$22e13a30$020aa8c0 AT DFW5RB41> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Igor Peshansky wrote: > 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: . > You'd probably better ask whoever you got it from (but not on this list). It isn't? http://cygwin.com/packages/qt3/ http://cygwin.com/packages/qt3-bin/ http://cygwin.com/packages/qt3-devel/ http://cygwin.com/packages/qt3-doc/ >> '[ -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... "Better". The other alternative is to simply remove the line, which is probably "best". :-) -- 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/