BTW
I have set
REMOTE=1
in /etc/linuxcnc/machinekit.ini

On Wednesday, 15 May 2019 18:50:26 UTC+2, Michael Brown wrote:
>
> 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:
> https://gist.github.com/the-snowwhite/d73c3fd090f98f0e94e6d7f7ed96a1a1
>
> That does this:
> /usr/bin/mklauncher /home/machinekit/Hm2-soc_FDM/Cramps/PY/OX
>
> the python run file is here:
> https://github.com/the-snowwhite/Hm2-soc_FDM/blob/ob-ox/Cramps/PY/OX/run.py
>
> 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)
>
> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc-log-old_mk_repo-ok_session-started-only-txt
>
> Linuxcnc log file after trying to stare the session in Machinekit client 
> (new mk-hal-cnc packages)
>
> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc-log-full_new-mk-hal-cnc_repos-bad-txt
>
> Comparing All I can see here is that all below here (line 2355) is missing 
> and the session terminates instead:
>
> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc-log-old_mk_repo-ok_session-started-only-txt-L2355
>
>
> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc-log-full_new-mk-hal-cnc_repos-bad-txt-L2356
>
> linuxcnc_debug-txt is here:
>
> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc_debug-txt
>
>
> linuxcnc_print.txt is here:
>
> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc_print-txt
>
> The python based config is here 
> https://github.com/the-snowwhite/Hm2-soc_FDM/tree/ob-ox/Cramps/PY/OX
>
> Best wishes Michael B.
>
>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/b216cad8-bead-4d74-b009-9784e2159010%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to