axis-remote howto
- kccheng
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 1
25 Sep 2018 15:26 #117963
by kccheng
axis-remote howto was created by kccheng
Hi,
I'm using LinuxCNC 2.7.14 with sim/axis_mm configration.
I try to load my ngc file at the same host by:
axis-remote my.ngc
and I got error message:
no application named "axis"
Use "ps aux | grep axis" and I got the following processes running:
kccheng 4493 0.0 0.1 4500 1488 pts/1 S+ 22:23 0:00 /bin/bash /usr/bin/linuxcnc linuxcnc/configs/sim.axis/axis_mm.ini
kccheng 4533 0.0 0.1 3448 1188 pts/1 S+ 22:23 0:00 linuxcncsvr -ini /home/kccheng/linuxcnc/configs/sim.axis/axis_mm.ini
kccheng 4558 0.0 0.1 3596 1612 pts/1 S+ 22:23 0:00 io -ini /home/kccheng/linuxcnc/configs/sim.axis/axis_mm.ini
kccheng 4560 0.1 0.1 3608 1564 pts/1 S+ 22:23 0:03 halui -ini /home/kccheng/linuxcnc/configs/sim.axis/axis_mm.ini
kccheng 4592 1.0 0.9 15468 9324 pts/1 S+ 22:23 0:36 milltask -ini /home/kccheng/linuxcnc/configs/sim.axis/axis_mm.ini
kccheng 4595 0.9 5.0 137008 50788 pts/1 Sl+ 22:23 0:32 /usr/bin/python /usr/bin/axis -ini /home/kccheng/linuxcnc/configs/sim.axis/axis_mm.ini
There do have a process "axis" running.
That's the problem ? Thanks a lot.
KC
I'm using LinuxCNC 2.7.14 with sim/axis_mm configration.
I try to load my ngc file at the same host by:
axis-remote my.ngc
and I got error message:
no application named "axis"
Use "ps aux | grep axis" and I got the following processes running:
kccheng 4493 0.0 0.1 4500 1488 pts/1 S+ 22:23 0:00 /bin/bash /usr/bin/linuxcnc linuxcnc/configs/sim.axis/axis_mm.ini
kccheng 4533 0.0 0.1 3448 1188 pts/1 S+ 22:23 0:00 linuxcncsvr -ini /home/kccheng/linuxcnc/configs/sim.axis/axis_mm.ini
kccheng 4558 0.0 0.1 3596 1612 pts/1 S+ 22:23 0:00 io -ini /home/kccheng/linuxcnc/configs/sim.axis/axis_mm.ini
kccheng 4560 0.1 0.1 3608 1564 pts/1 S+ 22:23 0:03 halui -ini /home/kccheng/linuxcnc/configs/sim.axis/axis_mm.ini
kccheng 4592 1.0 0.9 15468 9324 pts/1 S+ 22:23 0:36 milltask -ini /home/kccheng/linuxcnc/configs/sim.axis/axis_mm.ini
kccheng 4595 0.9 5.0 137008 50788 pts/1 Sl+ 22:23 0:32 /usr/bin/python /usr/bin/axis -ini /home/kccheng/linuxcnc/configs/sim.axis/axis_mm.ini
There do have a process "axis" running.
That's the problem ? Thanks a lot.
KC
Please Log in or Create an account to join the conversation.
- kccheng
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 1
26 Sep 2018 11:37 - 27 Sep 2018 07:28 #117997
by kccheng
Replied by kccheng on topic axis-remote howto
OK, I know how to fix the problem now.
The axis-remote error message:
no application named "axis"
comes from Tkinter's (Tk) "send" command which rely on X server to exchange message between two Tk's applications.
I got above error message because I run linuxcnc at DISPLAY localhost:11.0 and axis-remote at DISPLAY localhost:10.0. I use two terminals login to CNC host via "ssh -Y IP_of_my_CNC_host",
If I login via GUI and run linuxcnc and axis-remote both at DISPLAY :0, then axis-remote run perfectly.
If I use only one terminal login to CNC host via "ssh -Y ...". Run linuxcnc at background, "linuxcnc my.ini &" and then run "axis-remote" from the same terminal (DISPLAY :11.0), it's OK too.
Regards
KC
The axis-remote error message:
no application named "axis"
comes from Tkinter's (Tk) "send" command which rely on X server to exchange message between two Tk's applications.
I got above error message because I run linuxcnc at DISPLAY localhost:11.0 and axis-remote at DISPLAY localhost:10.0. I use two terminals login to CNC host via "ssh -Y IP_of_my_CNC_host",
If I login via GUI and run linuxcnc and axis-remote both at DISPLAY :0, then axis-remote run perfectly.
If I use only one terminal login to CNC host via "ssh -Y ...". Run linuxcnc at background, "linuxcnc my.ini &" and then run "axis-remote" from the same terminal (DISPLAY :11.0), it's OK too.
Regards
KC
Last edit: 27 Sep 2018 07:28 by kccheng.
Please Log in or Create an account to join the conversation.
Time to create page: 0.059 seconds