NetBeans, how to set DISPLAY environment for remote SSH server (Pi)
问题 I have setup my Pi for SSH remote host development using NetBeans. I can confirm: in /etc/ssh/sshd_config X11Forwarding yes X11DisplayOffset 10... In addition, xauth is installed on the remote Pi. I have installed XQuartz on my client mac. Upon ssh -X pi@IPaddress, xquartz opens and if i echo $DISPLAY on the remote Pi i get localhost:12.0 ... the number changes with each terminal. Currently, if have incorrectly set the project environment in netbeans with: DISPLAY=localhost:11.0 (this is