今天在调试开发板时,执行开发板上的linuxcnc指令,总是出现如下报错
LINUXCNC - 2.9.0~pre0
application-specific initialization failed: couldn't connect to display "192.168.137.3:1"
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 linuxcnc-wizard"
invoked from within
"set logo [linuxcnc::image_search linuxcnc-wizard]"
(file "/home/tsinglin/linuxcnc-dev/tcl/bin/pickconfig.tcl" line 31)
application-specific initialization failed: couldn't connect to display "192.168.137.3:1"
查看LinuxCNC官方论坛,原来是由于没有显示屏,导致报错。可以使用网上的方法,进行远程显示
首先设置开发板ip
在开发板调试窗口执行