I\'m trying to enable X11 forwarding through the PyCharm SSH Terminal which can be executed via
         
        
Update 2020: I found a very easy solution. It may be due to the updated PyCharm version (2020.1).
X11Forwarding is enabled on server: In /etc/ssh/sshd_config setX11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost no
~/.ssh/config setForwardX11 yes
Include system environment variables. This resolves the issue that the DISPLAY variable gets set to the system variable.
EDIT: As seen in the below image it works. For example I used the PyTorch implementation of DeepLab and visualize sample images from PASCAL VOC: