You should read up on this: https://github.com/machinekit/QtQuickVcp#showcase-applications-and-examples
QtQuickVCP is a library for making a UI with QtQuick. Right now, you are starting a machinekit configuration, and having that window shown on your windows OS. But the UI is still coming from the BBB. For you to have the remote UI, you need to start a configuration that exposes the services that the client need to attach to. (my terminology might be off). Since you have a CNC setup, this is your starting point: https://github.com/machinekit/Cetus In the paragraphs below the first link above, there are examples of configurations. These configurations load the HAL realtime environment, including HAL remote components. These remote components then can be “seen” by the remote UI. Bas From: [email protected] <[email protected]> On Behalf Of Sardar Vayghannezgad Sent: Friday, 29 March 2019 21:09 To: Machinekit <[email protected]> Subject: Re: [Machinekit] Machinekit Client keeps loading with no result Thanks a million Schooner. I guess you were sort of right. I followed the links and from there ended up watching this video <https://www.youtube.com/watch?v=aHwv8U3ptvA> to realize that I actually needed to install Xming. So now I can run machinekit on BBB for the machinekit configuration windowd (see the attached image please) to pop up. But it looks like my knowledge lags behind my practical progress, as I still can't get my around what are these MachinekitClient and QtQuickVCP good for in this scenario. Can anyone shed some light on this please? BTW, I'm having the same "nonstop loading" issue with the Machinekit Client. On Friday, March 29, 2019 at 5:21:24 PM UTC+3, Schooner wrote: On 29/03/19 14:11, Sardar Vayghannezgad wrote: I can't seem to start Machinekit on my BBB because: root@beaglebone:/home/machinekit# machinekit MACHINEKIT - 0.1 application-specific initialization failed: no display name and no $DISPLAY environment variable Error in startup script: invalid command name "image" while executing "image create photo -file $f/$i.gif" invoked from within "if [file exists $f/$i.gif] { return [image create photo -file $f/$i.gif] }" (procedure "linuxcnc::image_search" line 7) invoked from within "linuxcnc::image_search machinekit-wizard" invoked from within "set logo [linuxcnc::image_search machinekit-wizard]" (file "/usr/lib/tcltk/linuxcnc/bin/pickconfig.tcl" line 31) I tried the following workarounds, but nothing seems to have changed: sudo apt-get install xauth touch ~/.Xauthority as suggested by Karl Jacobs here <https://groups.google.com/forum/#%21topic/machinekit/nGrU3diWEFA> sudo apt install xorg as suggested here <https://groups.google.com/forum/#%21topic/machinekit/1dkgEgov6Wg> , by a person called Schooner. You are being selective in your reading Read the whole thread and follow the links These for example https://unix.stackexchange.com/questions/12755/how-to-forward-x-over-ssh-to-run-graphics-applications-remotely https://unix.stackexchange.com/questions/314862/minimal-no-hassle-debian-install-with-functioning-x11-login-etc but still I'm getting the error. On Friday, March 29, 2019 at 4:01:42 PM UTC+3, Bas de Bruijn wrote: On 29 Mar 2019, at 13:47, Sardar Vayghannezgad <[email protected] <mailto:[email protected]> > wrote: Thanks for reaching out, Bas. According to the first question, which link should I go with on <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fmachinekit%2FQtQuickVcp&sa=D&sntz=1&usg=AFQjCNFSHHjDTy575Uy7ujQBViRsMgvGDA> this page. No idea what you actually link to A few lines below are download links to both QtQuickVCP and Machinekit for various OS's. I think you mean machinekit-client Machinekit only runs on Linux. Just pick the one for the os you’re going to run machinekit-client on. * Have you got any ideas why my Machinekit Client acts up the way it does? I have attached a photo of it in the original post. Yes, it can’t find machinekit instances. As per my previous remarks, make sure there is an actual machinekit (your BBB) started, and that you have enabled it to expose itself so a remote UI can connect to it (the machinekit.ini file) Thanks On Friday, March 29, 2019 at 1:17:04 PM UTC+3, Bas de Bruijn wrote: On 29 Mar 2019, at 09:53, Sardar Vayghannezgad <[email protected] <mailto:[email protected]> > wrote: I have tried my best to understand the fundamental ins and outs of running Machinekit on BBB from my windows desktop, but there are so many technical concepts and approaches that I just can't fully understand everything. Although it seems I'm towards the end of this, I'm already frustrated, and since working for a sort of tight deadline I need some practical help, and need that in layman's terms, into the bargain, please. I followed these instructions <https://machinekoder.com/machinekit-debian-stretch-beaglebone-black/> to run M.K. on BBB from my desktop. But I am badly thrown off. I have apparently successfully done everything on that instruction page, but just don't know how to start what!! I don't know what command to use on the PuTTy. You need to start Machinekit when you’ve logged into your BBB. Putty is just a terminal you log onto your BBB. Everything you type into that terminal, is as if you would type on a keyboard directly attached to the BBB on s terminal on a screen directly attached to the BBB. (Please, as far as possible, don't direct me to start everything from scratch, as I already had Debian Jessie installed on BBB, but decided to change it to Stretch.) My newbie questions: 1. Should Machinekit Client be installed on my Windows OS or on the BBB?! (I already have M.K Client on my Windows OS. but once I start it, it keeps loading in no veil, with no available instances.) Machinekit client on your windows OS Make sure that on your BBB you have set REMOTE = 1 in the file machinekit.ini That file should be here: /etc/linuxcnc/machinekit.ini 2. According to the first question, which link should I go with on this page <https://github.com/machinekit/QtQuickVcp> . No idea what you actually link to. 3. AFAIK, I need a U.I on my desktop to give me access to the M.K. Is this UI the Machinekit Client? How can I start it from PuTTY? You start machinekit-client from your Windows PC. It’s a remote UI (seen from the BBB perspective) and you don’t need to start the UI from Putty (your BBB) but from the pc. In the putty terminal type: machinekit FYI: Operating System: Debian GNU/Linux 9 (stretch) Kernel: Linux 4.4.155-ti-rt-r153 Architecture: arm Thanks in advance -- 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] <mailto:[email protected]> . Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout. <2019-03-29_11h36_57.png> -- 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] <mailto:[email protected]> . Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout. -- 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] <javascript:> . Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout. -- 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] <mailto:[email protected]> . Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout.
