06-09-2022, 04:13 AM
If the DISPLAY environment variable isn't set then nothing will know where to display anything, and it suggests you don't have X11 forwarding correctly configured. If you type 'echo $DISPLAY' in the PuTTY terminal (your ssh session) you should see something like 'localhost:11.0' - if you get a blank line then it's not set. Check that you have 'X11Forwarding yes' set in /etc/ssh/sshd_config on the phone - I don't remember whether this is the default or whether I changed it. Lines with a '#' at the start are comments not settings. If you changed it then make sure you restarted sshd after making the change - a reboot would do it. I can't really help further on the Windows side as I don't have/use it.