[Magic-dev] tcl/tk problem on mac os x.4
David Fang
fang at csl.cornell.edu
Sat Nov 18 13:41:50 EST 2006
> I contacted Dr. Timothy Edwards in regards to what seems to be a
> tcl/tk problem with xcircuit, and he advised that I send my problem
> here, as the startup is the same as magic. Anyway, I'm trying to run
> the xcircuit using the fink build, and it installs without any
> problems. I've also made sure tcl/tk is current by reinstalling it,
> and it says i have 8.4.1-12. The problem arises when I attempt to
> start xcircuit, and I get the following message:
>
> Application initialization failed: no display name and no $DISPLAY
> environment variable
> Error in startup script: no display name and no $DISPLAY environment variable
> while executing
Hi,
Try setting your environment variable prior to running:
[t]csh: setenv DISPLAY :0
[ba]sh: export DISPLAY=:0
Might sound obvious, but make sure X11 is running already.
Sometimes the value "localhost:0" works instead of just ":0", though
localhost is assumed otherwise.
You can add this line to your startup script ~/.cshrc or ~/.bashrc for
convenience.
Fang
More information about the magic-dev
mailing list