linux - set-up X11 Forwarding over ssh - Stack Overflow
X11 forwarding may be disabled in the sshd_config on the remote system, which is why you would not see a DISPLAY variable set once you connect. You need to enable X11 forwarding: X11Forwarding yes and restart the ssh service on the remote system. Do not ....