public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gitk fails to start after updating cygwin
@ 2012-02-10 23:02 Arnon Moscona
  2012-02-11  5:40 ` marco atzeri
  0 siblings, 1 reply; 17+ messages in thread
From: Arnon Moscona @ 2012-02-10 23:02 UTC (permalink / raw)
  To: cygwin

I just updated cygwin (installing hg), which updated all the packages.
gitk now fails to start.

I basically get :


$Application initialization failed: no display name and no $DISPLAY
environment variable
cygwin warning:
  MS-DOS style path detected: C:\Users\Admin\cygwin\bin\gitk
  Preferred POSIX equivalent is: /usr/bin/gitk
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
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.11" script)
    invoked from within
"package require Tk"
    (file "C:\Users\Admin\cygwin\bin\gitk" line 11)

[1]+  Exit 1                  gitk --all




Note that I've seen the discussion at
http://cygwin.com/ml/cygwin/2011-08/msg00478.html, but I don't agree
with the conclusion. I never needed an X server before, and gitk
displayed fine up until now. So why should I need to run an X server
now?

-- 
Arnon Moscona
arnon@moscona.com

Sed fugit interea fugit irreparabile tempus, singula dum capti
circumvectamur amore

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

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: gitk fails to start after updating cygwin
@ 2012-02-10 23:41 Matt Seitz (matseitz)
  0 siblings, 0 replies; 17+ messages in thread
From: Matt Seitz (matseitz) @ 2012-02-10 23:41 UTC (permalink / raw)
  To: cygwin

"Arnon Moscona" <forwardmoscona@gmail.com> wrote in message
news:<CAN0dh0hhiKyPKizU90upoqSWRcKGvAJmqXcDD=eMbmdA34aA5Q@mail.gmail.com
>...
> 
> I never needed an X server before, and gitk
> displayed fine up until now. So why should I need to run an X server
> now?

See:

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




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

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: gitk fails to start after updating cygwin
@ 2012-02-24 19:26 Matt Seitz (matseitz)
  2012-02-24 20:09 ` Corinna Vinschen
  0 siblings, 1 reply; 17+ messages in thread
From: Matt Seitz (matseitz) @ 2012-02-24 19:26 UTC (permalink / raw)
  To: cygwin

"Yaakov (Cygwin/X)" wrote:
> 
> xorg-server is not specified as a runtime dependency of libX11 or
libxcb
> for several reasons:

Should xorg-server be specified as a runtime dependency of gitk?



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

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: gitk fails to start after updating cygwin
@ 2012-02-24 20:50 Matt Seitz (matseitz)
  2012-02-24 22:16 ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 17+ messages in thread
From: Matt Seitz (matseitz) @ 2012-02-24 20:50 UTC (permalink / raw)
  To: cygwin

"Corinna Vinschen" wrote:
 > On Feb 24 11:26, Matt Seitz (matseitz) wrote:
> > 
> > Should xorg-server be specified as a runtime dependency of gitk?
> 
> The X server is no hard requirement.  Consider:
> 
>   $ DISPLAY=my_linux_box:0 gitk&

True.  But would the benefit (helping new users) outweigh the cost
(installing xorg-server for some users that don't actually require it)?
 

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

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: gitk fails to start after updating cygwin
@ 2012-02-24 22:43 Matt Seitz (matseitz)
  2012-02-24 22:54 ` Larry Hall (Cygwin)
  2012-02-26  4:36 ` Yaakov (Cygwin/X)
  0 siblings, 2 replies; 17+ messages in thread
From: Matt Seitz (matseitz) @ 2012-02-24 22:43 UTC (permalink / raw)
  To: cygwin

"Larry Hall (Cygwin)" wrote:
> 
> Nobody that doesn't need or want it has to install the X-Server.  If
> one uses gitk though, one has now moved into the category of
"need/want
> the X-Server" if one wasn't already in that category. ;-)

Well, they certainly will need/want AN X-Server.  But I thought
Corrina's point was that in some cases that X-Server does not have to be
the Cygwin xorg-server (could be a different local X-Server, or even a
remote X-Server).

My question is:  are there enough gitk users who would need/want the
Cygwin xorg-server that it would be worth installing xorg-server by
default when installing gitk, even though some gitk users may not
actually need the Cygwin xorg-server?


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

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: gitk fails to start after updating cygwin
@ 2012-02-27 19:35 Matt Seitz (matseitz)
  0 siblings, 0 replies; 17+ messages in thread
From: Matt Seitz (matseitz) @ 2012-02-27 19:35 UTC (permalink / raw)
  To: cygwin

"Yaakov (Cygwin/X)" wrote: 
> 
> Remember that using X requires some level of manual intervention,
namely
> that you have to *start* the server and set DISPLAY before actually
> using it.  
> So installing xorg-server as a dependency isn't going to
> prevent these questions one bit.

Good point.  Would adding "xinit" as a dependency be a better solution?

I am hoping that when "setup" informs the user that "gitk requires
xinit", it might it at least:

1.  Alert the user to the fact that gitk now requires loading the X
server.  
2.  Spare the user having to run "setup" again to download the packages
they need.



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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2012-02-27 18:12 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-10 23:02 gitk fails to start after updating cygwin Arnon Moscona
2012-02-11  5:40 ` marco atzeri
2012-02-17 22:34   ` Bill Hoffman
2012-02-17 22:55     ` marco atzeri
2012-02-21  2:32       ` Yaakov (Cygwin/X)
2012-02-20  8:34     ` Csaba Raduly
2012-02-10 23:41 Matt Seitz (matseitz)
2012-02-24 19:26 Matt Seitz (matseitz)
2012-02-24 20:09 ` Corinna Vinschen
2012-02-24 20:50 Matt Seitz (matseitz)
2012-02-24 22:16 ` Larry Hall (Cygwin)
2012-02-24 22:43 Matt Seitz (matseitz)
2012-02-24 22:54 ` Larry Hall (Cygwin)
2012-02-24 23:38   ` Mike Kaganski
2012-02-25  4:42     ` Larry Hall (Cygwin)
2012-02-26  4:36 ` Yaakov (Cygwin/X)
2012-02-27 19:35 Matt Seitz (matseitz)

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