delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/29/15:38:15

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AC26193.6090104@cygwin.com>
Date: Tue, 29 Sep 2009 15:35:47 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Wish/tcltk & DISPLAY is not set
References: <20090929131427 DOT 3sc5fitfs4os00sk AT webmail DOT u-picardie DOT fr> <200909291350 DOT 38734 DOT aluaces AT udc DOT es> <20090929150232 DOT efr54x2tlww8kwkc AT webmail DOT u-picardie DOT fr> <4AC23090 DOT 6070304 AT cygwin DOT com> <20090929210755 DOT vprw8jp2yow0kcw8 AT webmail DOT u-picardie DOT fr>
In-Reply-To: <20090929210755.vprw8jp2yow0kcw8@webmail.u-picardie.fr>
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

On 09/29/2009 03:07 PM, FyD wrote:
> Quoting "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin period com>:
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<http://cygwin.com/acronyms/#PCYMTNQREAIYR>  Thanks.


<snip>

> So I should miss something because I think what I did is correct ;-)
>
> - I start cygwin using the icon from the Windows 7 desktop
> (bash shell is used; full cygwin install was carried out)
>
> - in my .bashrc I do have:
> export DISPLAY=127.0.0.1:0.0

This is not required and, in the case of X forwarding using ssh (and
perhaps other cases), this would not be what you want.

> - the command "echo $DISPLAY" gives in this black terminal:
> 127.0.0.1:0.0
>
> - I execute startxwin.sh in this black terminal
>
> - from the new xterm opened (white), I execute "wish tmp.tcl"
> I get:
> /usr/bin/xterm Xt error: Can't open display:
> /usr/bin/xterm: DISPLAY is not set
>
> Where is the problem ?

Sorry, I'm not a tcltk expert.  My guess is it has to do with the
fact that Cygwin's tcltk isn't X-based.  As a result, it may be
X-challenged.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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