I have a cnc router running on a DE0_Nano_SoC with Machinekit_Client Cetus gui (mkwrapper).
that I'm trying to migrate to the new:
machinekit-hal-rt-preempt
machinekit-cnc-rt-preempt
Packages.
All that happens when I start the config in Machinekit client (after migration) is that the session terminates after about 15-20 sec.
With an option to see an errorfree Machinekit log.
I use this process for the "MK package migration":
sudo apt -y purge machinekit machinekit-rt-preempt
sudo apt -y autoremove
sudo apt update
sudo apt -y install machinekit-hal-rt-preempt machinekit-cnc-rt-preempt
sudo nano /etc/linuxcnc/machinekit.ini
sudo sh -c 'echo ""> /var/log/linuxcnc.log'
sudo reboot now
I run this start script via a systemd service:
That does this:
/usr/bin/mklauncher /home/machinekit/Hm2-soc_FDM/Cramps/PY/OX
the python run file is here:
Before the logs files below I have noticed this message in linuxcnc_print.txt:
Starting DISPLAY program: mkwrapper
Can't execute DISPLAY program mkwrapper
Shutting down and cleaning up Machinekit...
So after the below exploration I suspect it has somthing to do with mkwapper changes in the new -hal -cnc repos ?
Linuxcnc log file after starting the session in Machinekit client (old mk packages)
Linuxcnc log file after trying to stare the session in Machinekit client (new mk-hal-cnc packages)
Comparing All I can see here is that all below here (line 2355) is missing and the session terminates instead:
linuxcnc_debug-txt is here:
linuxcnc_print.txt is here:
Best wishes Michael B.