From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17102 invoked by alias); 25 Aug 2011 17:42:24 -0000 Received: (qmail 16851 invoked by uid 22791); 25 Aug 2011 17:42:24 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-gy0-f171.google.com (HELO mail-gy0-f171.google.com) (209.85.160.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 25 Aug 2011 17:42:10 +0000 Received: by gye5 with SMTP id 5so2393009gye.2 for ; Thu, 25 Aug 2011 10:42:09 -0700 (PDT) Received: by 10.231.62.149 with SMTP id x21mr13328400ibh.96.1314294129501; Thu, 25 Aug 2011 10:42:09 -0700 (PDT) Received: from [192.168.0.100] (S0106000cf16f58b1.wp.shawcable.net [24.79.200.150]) by mx.google.com with ESMTPS id p11sm386340ibf.64.2011.08.25.10.42.08 (version=SSLv3 cipher=OTHER); Thu, 25 Aug 2011 10:42:08 -0700 (PDT) Subject: Re: git gui and gitk fail to start on cygwin updated 8/25/2011 From: "Yaakov (Cygwin/X)" To: cygwin Date: Thu, 25 Aug 2011 17:42:00 -0000 In-Reply-To: <6D33C4BCDBCCFC478D604EF39B60F17802D1BB59@UUSNWEJ1.na.utcmail.com> References: <6D33C4BCDBCCFC478D604EF39B60F17802D1BB59@UUSNWEJ1.na.utcmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Message-ID: <1314294134.6288.26.camel@YAAKOV04> Mime-Version: 1.0 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-08/txt/msg00478.txt.bz2 On Thu, 2011-08-25 at 10:30 -0400, Jensen, James H CAR wrote: > I get the following error: > > Application initialization failed: no display name and no $DISPLAY environment v > ariable > Error in startup script: no display name and no $DISPLAY environment variable > while executing > "load /usr/lib/tk8.5/../../bin/libtk8.5.dll Tk" > ("package ifneeded Tk 8.5.9" script) > invoked from within > "package require Tk" > (file "C:\cygwin\bin\gitk" line 11) > > I am not running the X server. That's your problem. As Marco points out, you're using Cygwin Ports, which provides a *NIX/X11 version of tcl/tk. Install the xinit package and its dependencies to get the Cygwin/X server and the means to easily start it. If you have further questions on Cygwin Ports packages, please direct them to the cygwin-ports-general list. Yaakov Cygwin/X -- 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