I have used XQuartz (Mac OS X) with another robot NUC successfully, but when I try it with the Stretch, I get a “cannot connect to display” error. Should X11 be working? Do I need to set any configuration files? Thanks!
Hi @hoffman, welcome to the forum! I use XQuartz on my Mac to SSH into a Stretch and use GUI tools like “eog” or “geddit” successfully, however, certain tools do not seem to work with XQuartz. Namely, ROS’s visualizer RViz does not work. If you’re interested in testing which X11 tools are able to forward over SSH yourself, this is the SSH configuration I use on my local machine to set up SSH-ing into the Stretch:
Host stretch-lan
StrictHostKeyChecking no
GlobalKnownHostsFile /dev/null
UserKnownHostsFile /dev/null
HostName <insert-local-ip-address>
ForwardX11 yes
User <insert-username-on-robot>
Port <insert-ssh-port-typically-22>
Note that you’ll have a different IP address, username, and port. Then, you can ssh into Stretch from your Mac using:
ssh stretch-lan