Running dxf2code quitely without GUI still invokes GUI for a brief moment. It is impossible to call help with dxf2code --help or run it quitely with dxf2gcode --quiet.
It has been tested on a Linux machine without any window manager (no way to open a window there, only terminal exists) and dxf2gcode won't work there even if ran quietly. Here's what the error looks like:
$ dxf2gcode -h
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
Running dxf2gcode with --quiet flag is not really quiet. It needs to open GUI for a brief moment to initialize graphic objects.
Thus, if you want to run with no physic display, run it with a virtual display like xvfb
On linux:
It worked well, i was tested
Last edit: Thanh Le 2021-07-15
thanks for the hints.
Did this solution work for you and i can close the ticket?
@christi_ko indeed, it works. Thank you and @thanhlx !
Topic closed as solution described in WIKI now.