delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/15/07:30:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: Yes, hits=6.4 required=5.0 tests=AWL,BAYES_05,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
From: Adam Dinwoodie <Adam DOT Dinwoodie AT metaswitch DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: Problems with tkinter after python upgrade on cygwin
Date: Wed, 15 Feb 2012 12:27:46 +0000
Deferred-Delivery: Wed, 15 Feb 2012 12:27:00 +0000
Message-ID: <CE9C056E12502146A72FD81290379E9A2C4FB9AD@ENFIRHMBX1.datcon.co.uk>
References: <908B205B0EBCC1449FC2AA01C62F101C0150DA20 AT filexch DOT lodam DOT local> <20120215022520 DOT GC2076 AT tishler DOT net>
In-Reply-To: <20120215022520.GC2076@tishler.net>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q1FCUbSn031250

On 15 February 2012 at 02:25, Jason Tishler wrote:
> On Mon, Feb 13, 2012 at 05:23:37PM +0100, Hans Peter Jepsen wrote:
> > I googled for an answer, but did not find any.
> 
> What about the following Google search on "TclError: no display name
> and no $DISPLAY environment variable"?
> 
> http://www.google.com/search?q=TclError%3A+no+display+name+and+no+%24DI
> SPLAY+environment+variable
> 
> The first item from the above search yields:
> 
> http://www.linuxquestions.org/questions/programming-9/tcl-error-no-
> display-name-and-no-display-environment-variable-340184/

Having had the same trouble myself with gitk, I don't think the help on those links is particularly useful.  The two pieces of advice there (and on most similar posts Google threw at me) are to set $DISPLAY to ':0' or similar (which doesn't help at all without an X server), or saying that one needs to use X.

Having never required X previously, and having assumed the Cygwin installer would have told me if packages I was using required X11, I assumed that was a different problem; one specific to full Linux systems.  I "knew" gitk on Cygwin could just work and create windows without needing X11, because that's how it had always worked since I started using it.

Eventually I found http://cygwin.com/ml/cygwin/2012-02/msg00115.html, and realized I did now need to use X11.  However, I suspect most people aren't going to subscribe to the Cygwin mailing lists, and are going to hit exactly the same problems.  Where they, as I did, will spend quite a bit of time trying to work out why things that always used to work are suddenly pumping out errors about this "X11" thing they've never used previously and have no desire to use.

-- 
Adam Dinwoodie
Software Engineer, Carrier Systems Division
Metaswitch Networks

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


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