That didn't work either, but I came up with an idea to get the logs in a roundabout way.
I use :
Code:
xfce4-terminal -x linuxcnc '/home/axel/linuxcnc/configs/mini-cnc-tc-dust/mini-cnc-tc-dust.ini'
Then I saved the output in the attached file.
This is an error related to the toggle.1 function in the HAL file for the dust collector button.
I was able to solve my problem with this information!
My “loadrt toggle” was in the “postgui.hal” file, I moved it to the “machine.hal” file.
For some reason, the “postgui.hal” file isn't loaded at exactly the same time when it's an autostart and when it's a manual start.
In any case, now it's cleaner and more stable.
Thanks for the help.