Run linuxcnc On RPi 4 through SSH

More
29 Mar 2024 03:37 #297057 by xylotex
Hi,
I installed: debian-bookworm-6.1.54-rt15-arm64-ext4-2023-11-17-1731.img.xz
on the RPi4 and using normal Keyboard and monitor, linuxcnc comes up fine.
When I try linuxcnc through SSH I get the following (using Axis as display and Putty with X11 forwarding Enabled along with Xming on my PC):
X Error of failed request:  GLXUnsupportedPrivateRequest
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  17 (X_GLXVendorPrivateWithReply)
  Serial number of failed request:  764
  Current serial number in output stream:  764
Shutting down and cleaning up LinuxCNC...


Do I need to update some conf files on the PI? or...?
Thanks,
Jeff

Please Log in or Create an account to join the conversation.

More
29 Mar 2024 10:03 #297086 by andypugh
are you using ssh -X ? Maybe also try ssh -Y
(Putty might hide this detail from you, I don't know how to configure the authentication in Putty)

Please Log in or Create an account to join the conversation.

More
30 Mar 2024 00:30 #297174 by xylotex
I did try :ssh -Y This email address is being protected from spambots. You need JavaScript enabled to view it.
after logging in, when starting linuxcnc basically saying
...
_tkinter.TclError: no display name and no $DISPLAY environment variable
Shutting down and cleaning up LinuxCNC...

--
I tried an older version:linuxcnc-2.8.2-buster.iso
and got that working, so something must have changed since that and the linuxcnc-2.9.1-bookworm-rpi4.img.xz (and later) versions

Thanks

Please Log in or Create an account to join the conversation.

More
31 Mar 2024 11:16 #297271 by andypugh
You might find some clues here: stackoverflow.com/questions/37604289/tki...environment-variable

One promising comment says "If you connect from Win machine to remote server via putty you have to install Xming to forward X11."

Please Log in or Create an account to join the conversation.

More
31 Mar 2024 21:12 #297307 by jst
I did this successfully using X410 on Windows and LinuxCNC on the RPi.
But I would have to look up the exact configuration.

Please Log in or Create an account to join the conversation.

More
02 Apr 2024 06:33 #297420 by elovalvo
Instead of putty I recommend you to use Mobaxtern

mobaxterm.mobatek.net/download.html

Please Log in or Create an account to join the conversation.

More
05 Apr 2024 08:27 - 23 Apr 2024 01:31 #297626 by Plauiead
X410 on Windows and LinuxCNC on the Raspberry Pi were the tools I needed to accomplish the task.
However, I'd need to verify the precise setup.    geometry dash lite
Last edit: 23 Apr 2024 01:31 by Plauiead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.395 seconds
Powered by Kunena Forum