21 Dec
2019
21 Dec
'19
18:26
W dniu 21.12.2019 o 18:06, Dave Howorth pisze:
2) use ssh ability to forward unix domain sockets. On one terminal run "ssh -L /tmp/.X11-unix/X7:/tmp/.X11-unix/X0 pi@RpiBplus". On second run "DISPLAY=:7 xeyes".
Ah OK. I may have a play with that. I just read there's also an equivalent using socat.
In earlier version of ssh (<6.7) it could forward only tcp ports, so using socat was required to bridge the gap between tcp and unix domain. Now that ssh can forward unix domain sockets directly, there's no need for using socat.