<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META content="MSHTML 5.00.3502.5390" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=718501111-19052003>WinGrass list,</SPAN></DIV>
<DIV><SPAN class=718501111-19052003></SPAN> </DIV>
<DIV><SPAN class=718501111-19052003>OK, I have an ugly but effective
workaround. The line that's failing is</SPAN></DIV>
<DIV><SPAN class=718501111-19052003>line 1887 in the gui.tcl file. From
the Grass prompt simply type</SPAN></DIV>
<DIV><SPAN class=718501111-19052003>xwininfo</SPAN></DIV>
<DIV><SPAN class=718501111-19052003>and press return key. It will tell you
to click on your Xwindow.</SPAN></DIV>
<DIV><SPAN class=718501111-19052003>Do that and observe the id that is
returned. My Id was 0x600001.</SPAN></DIV>
<DIV><SPAN class=718501111-19052003>Edit the $GISBASE/tcltkgrass/main/gui.tcl
file and change the </SPAN></DIV>
<DIV><SPAN class=718501111-19052003>[winfo id .w_g] section on line 1887 to be
your Id. Save the file and it</SPAN></DIV>
<DIV><SPAN class=718501111-19052003>should work correctly.
</SPAN></DIV>
<DIV><SPAN class=718501111-19052003></SPAN> </DIV>
<DIV><SPAN class=718501111-19052003>John Huddleston</SPAN></DIV>
<DIV><SPAN class=718501111-19052003></SPAN> </DIV>
<DIV><SPAN class=718501111-19052003></SPAN> </DIV>
<DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> wingrass-admin@grass.itc.it
[mailto:wingrass-admin@grass.itc.it]<B>On Behalf Of </B>Wilhelm "Chip"
Kogelmann<BR><B>Sent:</B> Friday, April 04, 2003 6:56 AM<BR><B>To:</B>
wingrass@grass.itc.it<BR><B>Subject:</B> [winGRASS] tcltk
problem<BR><BR></FONT></DIV>Hi All,<BR><BR>I'm able to run GRASS on cygwin on my
XP machine. Now I have a problem when I try to start the graphical users
interface when I type: tcltkgrass& at the GRASS prompt.<BR><BR>tcltkgrass
begins to start (I can see the boxes come up) but then I get an error box that
says "Error in startup script". This box contains the following
message:<BR><BR>/usr/X11R6/bin/xwininfo: error: No such window with id
0x501da.<BR>while executing<BR>"exec xwininfo -id [winfo id .w _g]|grep -i
Corners"<BR>invoked from within<BR>.........<BR><BR>Can anyone tell me what I
need to do to correct this problem?<BR><BR>Thanks!<BR><X-SIGSEP>
<P></X-SIGSEP><FONT color=#0000ff face="Arial, Helvetica" size=2><B>Wilhelm Chip
Kogelmann</B><X-TAB> </X-TAB><BR>PhD Candidate / GIS Analyst<BR>The
Pennsylvania State University<BR>Dept. of Crop and Soil Science<BR>116 ASI,
University Park, PA 16803<BR>814.863.7658;
wjk11@psu.edu<BR><BR><BR><BR><BR><BR><BR></FONT></P></BODY></HTML>