How to enable X11 forwarding in PyCharm SSH session?

前端 未结 3 2105
感情败类
感情败类 2020-12-23 12:24

The Question

I\'m trying to enable X11 forwarding through the PyCharm SSH Terminal which can be executed via

         


        
3条回答
  •  误落风尘
    2020-12-23 12:37

    In parallel, open MobaXTerm and connect while X11 forwarding checkbox is enabled. Now PyCharm will forward the display through MobaXTerm X11 server. This until PyCharm add this 'simple' feature.

    Also, set DISPLAY environment variable in PyCharm run configuration like this: DISPLAY=localhost:10.0 (the right hand side should be obtained with the command echo $DISPLAY in the server side)

提交回复
热议问题