XCircuit icon indicating copy to clipboard operation
XCircuit copied to clipboard

Xcircuit not starting in macos Catalina (version 10.15.7)

Open avlsi opened this issue 4 years ago • 2 comments
trafficstars

Hi, I have installed Xcircuit via macports

sudo port install xcircuit And then tried to open Xcircuit via xcircuit I get the following error


application-specific initialization failed: couldn't connect to display "0:0" Error in startup script: couldn't connect to display "0:0" while executing "load /opt/local/lib/libtk8.6.dylib Tk" ("package ifneeded Tk 8.6.11" script) invoked from within "package require Tk $tcl_version" invoked from within "if {$tcl_version < 8.0} { return -code error "tkcon requires at least Tcl/Tk8" } else { package require Tk $tcl_version }" (file "/opt/local/lib/xcircuit-3.9/tkcon.tcl" line 44)

[1] + exit 1 xcircuit

Any help is appreciated?

avlsi avatar Oct 17 '21 05:10 avlsi

You can check the instructions in https://github.com/RTimothyEdwards/netgen/blob/master/README.md for Mac OS, since the build is mostly the same, and depends on Tcl/Tk. But generally speaking, the "couldn't connect to display 0.0" message means that there is not an X11 server running, which probably just means that you need to be running Xquartz.

RTimothyEdwards avatar Oct 21 '21 18:10 RTimothyEdwards

Thanks for the Xquartz insight. I am able to open xcircuit after installing Xquartz.

avlsi avatar Oct 26 '21 02:10 avlsi