Wish/tcltk & DISPLAY is not set

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Tue Sep 29 16:08:00 GMT 2009


On 09/29/2009 09:02 AM, FyD wrote:
> Alberto,
>
>>> When I execute "wish" under cygwin (wish test.tcl), I get the following
>>> error message:
>>>
>>> /usr/bin/xterm: DISPLAY is not set
>>>
>>> I think this problem has been reported in 2006 @
>>> http://cygwin.com/ml/cygwin/2006-02/msg00090.html
>>> &
>>> http://www.mail-archive.com/cygwin@cygwin.com/msg65756.html
>>>
>>> I checked my tcltk version in my cygwin install:
>>> it is tcltk/tcltk-20080420-1
>>>
>>> Does it mean that this problem reported in 2006 was not corrected in
>>> the 2008 version ? or do I miss something ?
>
>
>> Do you have the X server running?
>
> Yes, I obviously started the X server of Cygwin (- using startxwin.sh)

So you either:

   A. Didn't set DISPLAY appropriately in the shell you're starting 'wish' from.
   B. Didn't start 'wish' from the 'xterm' that gets started with 
'startxwin.sh'.

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



More information about the Cygwin mailing list