I got a tcltk error with both 6.3 cvs, my last compilation and your 30 may installer. Same happens with 6.2
Application initialization failed: couldn’t connect to display “:0.0”
Error in startup script: couldn’t connect to display “:0.0”
while executing
“load /Applications/GRASS-6.3.app/Contents/Resources/lib/tk8.4/…/libtk8.4.dylib Tk”
(“package ifneeded” script)
invoked from within
“package require Tk 8.0”
(“package ifneeded” script)
invoked from within
“package require -exact BWidget 1.2.1”
(file “/Applications/GRASS-6.3.app/Contents/Resources/etc/dm/d.m.tcl” line 23)
[1]+ Exit 1 d.m
Machine Name: iMac
Machine Model: iMac5,1
Processor Name: Intel Core 2 Duo
Processor Speed: 2 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache (per processor): 4 MB
Memory: 2 GB
Bus Speed: 667 MHz
Boot ROM Version: IM51.0090.B03
SMC Version: 1.8f2
Dr. Agustín Diez Castillo
Departament de Prehistòria i Arqueologia
Fundació General Universitat de València Phone: +34 963 98 38 93
Avda. Blasco Ibañez, 28 Fax: +34 963 98 38 87
València 46010
http://www.uv.es/sidgeipa
Member of the European Network of Excellence EPOCH
http://www.epoch.eu/
I got a tcltk error with both 6.3 cvs, my last compilation and your
30 may installer. Same happens with 6.2
Application initialization failed: couldn't connect to display ":0.0"
Error in startup script: couldn't connect to display ":0.0"
while executing
"load /Applications/GRASS-6.3.app/Contents/Resources/lib/tk8.4/../
libtk8.4.dylib Tk"
("package ifneeded" script)
invoked from within
"package require Tk 8.0"
("package ifneeded" script)
invoked from within
"package require -exact BWidget 1.2.1"
(file "/Applications/GRASS-6.3.app/Contents/Resources/etc/dm/
d.m.tcl" line 23)
I'm not sure. First, X11 needs to be running, of course. This should be
taken of by the app startup.
Do you have a DISPLAY setting in your .bash_profile? The app startup will
set it to :0.0 for you, but only if it isn't set already. If you do have
something in .bash_profile (or other shell init script), it may be set
wrong. That's all I can think of.
If it used to work, maybe you installed something that added a DISPLAY
line to your .bash_profile?
I don't use d.m, and only occassionally gis.m. gis.m works for me.
After rebooting the mac machine, grass is working. Maybe the problem was that I did ssh -Y to a linux box and this takes display “:0.0”.
On Jun 16, 2007, at 1:33 AM, kyngchaos@kyngchaos.com wrote:
I got a tcltk error with both 6.3 cvs, my last compilation and your
30 may installer. Same happens with 6.2
Application initialization failed: couldn’t connect to display “:0.0”
Error in startup script: couldn’t connect to display “:0.0”
while executing
“load /Applications/GRASS-6.3.app/Contents/Resources/lib/tk8.4/…/
libtk8.4.dylib Tk”
(“package ifneeded” script)
invoked from within
“package require Tk 8.0”
(“package ifneeded” script)
invoked from within
“package require -exact BWidget 1.2.1”
(file “/Applications/GRASS-6.3.app/Contents/Resources/etc/dm/
d.m.tcl” line 23)
I’m not sure. First, X11 needs to be running, of course. This should be
taken of by the app startup.
Do you have a DISPLAY setting in your .bash_profile? The app startup will
set it to :0.0 for you, but only if it isn’t set already. If you do have
something in .bash_profile (or other shell init script), it may be set
wrong. That’s all I can think of.
If it used to work, maybe you installed something that added a DISPLAY
line to your .bash_profile?
I don’t use d.m, and only occassionally gis.m. gis.m works for me.