[GRASS-user] grass.bat script for Cygwin GRASS 6.2.2-1

Hamish hamish_nospam at yahoo.com
Thu Aug 30 23:44:14 EDT 2007

Luigi Ponti wrote:
> Installation instructions at 
> <http://grass.itc.it/grass62/binary/mswindows/> say that "there's no 
> grass.bat script", but (no matter what I try) there is no way for me to 
> start grass with the recommended cygwin_grass.bat. It just works fine
> if there is an X server already started from a previous grass.bat run.
> Below you find the error log I have obtained via the following command
>     cygwin_grass.bat > c:\cygwin\all_out.txt 2>&1
> Starting GRASS ...
> Application initialization failed: this isn't a Tk applicationcouldn't 
> connect to display "localhost:0"
> Error in startup script: dynamic loading is not currently available on 
> this system
>     while executing
> "load /usr/local/lib/tk8.4/../libtk8.4.a Tk"

Did you modify the bash line to run startx, launching X at startup?
  bash --login -i -c startx


More information about the grass-user mailing list