public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Yaakov (Cygwin/X)" <yselkowitz@users.sourceforge.net>
To: cygwin <cygwin@cygwin.com>
Subject: Re: git gui and gitk fail to start on cygwin updated 8/25/2011
Date: Thu, 25 Aug 2011 17:42:00 -0000	[thread overview]
Message-ID: <1314294134.6288.26.camel@YAAKOV04> (raw)
In-Reply-To: <6D33C4BCDBCCFC478D604EF39B60F17802D1BB59@UUSNWEJ1.na.utcmail.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

      parent reply	other threads:[~2011-08-25 17:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-25 14:31 Jensen, James H           CAR
2011-08-25 16:19 ` Marco atzeri
2011-08-25 17:42 ` Yaakov (Cygwin/X) [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1314294134.6288.26.camel@YAAKOV04 \
    --to=yselkowitz@users.sourceforge.net \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).