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, which I found here, but nothing seems to 
have changed:
sudo apt-get install xauth
touch ~/.Xauthority
as suggested by Karl Jacobs here 
<https://groups.google.com/forum/#!topic/machinekit/nGrU3diWEFA>

sudo apt install xorg

as suggested here 
<https://groups.google.com/forum/#!topic/machinekit/1dkgEgov6Wg>, by a 
person called Schooner.

But still I'm getting the errors.


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] 
> <javascript:>> wrote:
>
> Thanks for reaching out, Bas.
>
>
> According to the first question, which link should I go with on this page 
>> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fmachinekit%2FQtQuickVcp&sa=D&sntz=1&usg=AFQjCNFSHHjDTy575Uy7ujQBViRsMgvGDA>
>> . 
>> 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]> 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
>>
>>
>>    1. 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.
>>
>>
>>    1. 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].
>> 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] <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].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to