I have Void Linux with openssh-9.9p2_1 on my laptop. And Raspberry PI Zero 2W with Raspbian Bullseye and openssh 1:8.4p1-5+deb11u3. I want to use the Raspberry Pi Zero to read data from the CAN bus in my car over wifi network.
I have been reading How to forward X over SSH to run graphics applications remotely? and suspect I may have server and client confused.
Raspberry Pi has no xorg-server installed. I have a C++ program with a gui installed my laptop that runs Openbox, that I want to run on the Pi to connect via a CAN hat.
On laptop in /etc/ssh/ssh_config:
ForwardAgent yes
ForwardX11 yes
On the Pi in /etc/ssh/sshd_config:
X11Forwarding yes
X11DisplayOffset 10
Struggling to understand how to run anything over ssh -X, On xterm on my laptop have tried with simple
ssh -v -X [email protected] xeyes
and get (among other stuff)
debug1: Sending command: xeyes
bash: line 1: xeyes: command not found
Do the versions of openssh matter?
Should my laptop be server or client?
Or am I starting the executable incorrectly?
Please help a stupid guy :-)
xeyes: command not found, have you tried other X program ?