tcl/tk fails to connect to display

Jeremy Ramer jdramer@gmail.com
Wed Jun 6 18:22:00 GMT 2012


On Tue, Jun 5, 2012 at 2:51 PM, Achim Gratz <Stromeko@nexgo.de> wrote:
> Jeremy Ramer writes:
>> $ gitk
>> Application initialization failed: couldn't connect to display ":0"
>
> Start an X server.  Tk now requires X and won't run without it.
>

Huh. Weird that on my searches earlier I did not find these posts:

http://cygwin.com/ml/cygwin/2012-02/msg00324.html

http://cygwin.com/ml/cygwin-apps/2011-10/msg00083.html

http://cygwin.com/ml/cygwin-announce/2012-02/msg00011.html


Ok, here's what I did to get gitk running again:
- Install the packages xorg-server and xinit
$ rm ~/.gitk
$ startxwin


I was wondering the rationale behind switching to use X11 instead of
GDI. Seems a little heavyweight. This thread sums it up nicely though.
http://cygwin.com/ml/cygwin/2012-02/msg00447.html

Thanks!

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