HI All,
I am trying to use Netgen over a remote desktop connection via an ubuntu terminal without an attached display. My understanding is that
$ netgen -geofile=example.geo -meshfile=example.vol - coarse -batchmode
would generate a mesh of example.geo without opening a gui interface. Is that correct? I am getting tkinter errors about connecting to a display:
Traceback (most recent call last):
File "/home/james/.local/bin/netgen", line 8, in <module>
sys.exit(main())
File "/home/james/.local/lib/python3.10/site-packages/netgen/__main__.py", line 45, in main
from .gui import win
File "/home/james/.local/lib/python3.10/site-packages/netgen/gui.py", line 48, in <module>
StartGUI()
File "/home/james/.local/lib/python3.10/site-packages/netgen/gui.py", line 20, in StartGUI
win = Tk()
File "/usr/lib/python3.10/tkinter/__init__.py", line 2299, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display "localhost:0.0"
Regards,
James