Hi all, When I try to open Magic tool on my Ubuntu...
# magic
m
Hi all, When I try to open Magic tool on my Ubuntu 18.04, I’m getting this error instantly:
Copy code
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
"load /usr/lib64/tk8.5/../libtk8.5.so Tk"
    ("package ifneeded Tk 8.5.13" 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 {
    # Prevent breaking on version 8.5.2
    # package requ..."
    (file "/build/lib/magic/tcl/tkcon.tcl" line 44)
I tried different solutions on the internet to solve the issue with no luck. Any ideas?
t
If you are running in a normal X11 environment, then $DISPLAY should be set. Are you running Ubuntu in a container where you don't have a desktop environment?
m
Hi @Tim Edwards I’m running Ubuntu on VMWare Fusion on my macOS and it’s the desktop version of the Ubuntu. However I’m running the Magic itself from a container version of the OpenLANE.
m
I don't think that will work. Try installing magic in your VM instead and use that.
👍 1