X11 Forwarding
I am part of an organization with multiple pro licenses.
We'd like to use Pycharm to edit on windows machines, but execute Selenium scripts using a remote virtualenv interpreter on Linux boxes. Is it possible to do X11 forwarding with Pycharm so that we don't have to also have an SSH client running at the same time?
We'd like to use Pycharm to edit on windows machines, but execute Selenium scripts using a remote virtualenv interpreter on Linux boxes. Is it possible to do X11 forwarding with Pycharm so that we don't have to also have an SSH client running at the same time?
Please sign in to leave a comment.
Pycharm folks, it would be a great feature if you could add this to the run config dialog.
DISPLAY=localhost:102
Not sure if that will be exactly the same for eveyone.
@JetBrains: It would be great if the vagrant remote interpreter respected the config.ssh.forward_x11 setting from the Vagrantfile.
I have questions about this too : None of the proposed solutions have worked for me.
How do I PyCharm to use -X when doing the ssh so that the matplotlib diagram appears on my mac?
Ok, I found I needed to do two things to get it working well enough for me :
(1) Set DISPLAY = localhost:10.0 in the Environment Variables under Build, Execution, Deployment -> Python Console
(2) Right after import matplotlib
matplotlib.use('Qt5Agg')