X-Recipient: archive-cygwin AT delorie DOT com 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 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 12:42:12 -0500 In-Reply-To: <6D33C4BCDBCCFC478D604EF39B60F17802D1BB59@UUSNWEJ1.na.utcmail.com> References: <6D33C4BCDBCCFC478D604EF39B60F17802D1BB59 AT UUSNWEJ1 DOT na DOT utcmail DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: 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 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