This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: git gui and gitk fail to start on cygwin updated 8/25/2011


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]