If it isn't obvious I need to make it clear that I'm a noob when it comes
to Linux so please have patience. =)
(I am quite good at googling for solutions though so I found the answer to
my own question a few minutes after posting the message. I'm not very good
at sticking to my "google first, ask later" rule though)
I managed to start machinekit by connecting with SSL from another box with
"SSH -Y 192.168.1.136" and then start machinekit from within that shell.
After I shut down the shell I tried SSH without X11 display hoping it would
have saved some settings that would allow me to start Machinekit from a
normal shell without X11 Display. That was not the case though.
How would I go about setting up the DE10 as a standalone CNC controller? I
don't have another computer in the garage and my goal was to have the DE10
as a standalone solution that starts when I power on the machine (as it's
powered from thje same powersupply as the CNC) and automatically starts
Machinekit which I can then connect to using Cetus/QtQuickVcp on a small
android tablet.
Also, any idea on how to remove that second IP on eth0?
On Friday, November 9, 2018 at 1:49:42 PM UTC+1, Charles Steinkuehler wrote:
>
> You don't have an X11 display, so you need to route the display to
> somewhere else. This is typically done by tunneling X11 via ssh, or
> by setting DISPLAY to point to a different machine.
>
> On 11/8/2018 4:25 PM, Johan Jakobsson wrote:
> > I also get this error when trying to launch machinekit;
> > machinekit@mksocfpga-nano-soc:/usr/bin$ 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)
> > machinekit@mksocfpga-nano-soc:/usr/bin$
> >
> >
> > On Thursday, November 8, 2018 at 10:54:48 PM UTC+1, Johan Jakobsson
> wrote:
> >>
> >>
> >>>> I installed a DE10 nano with the console (no HDMI) image.
> >> For some reason it gets 2 IP's. One from my DHCP and another IP that I
> >> don't recognize. Tried setting a new MAC and it got a new IP but it was
> in
> >> the same 169.254.x.x/16 range. I can remove it with "sudo ip addr del
> >> 169.254.16.247/16 dev eth0" but it returns when I reboot the DE10
> board.
> >> Perhaps there is a local DHCP scope set in the image?
> >>
> >
>
>
> --
> Charles Steinkuehler
> [email protected] <javascript:>
>
--
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.