I got the problem resolved, and I don't understand why it worked, so any explanation on this will be useful. I'm documenting this so anyone else who faces this problem can benefit.
What I was doing is, setting the DISPLAY
environment variable in MobaXterm like this:
$ export DISPLAY=<my_windows_ip>:0.0
Apparently this is unnecessary according to MobaXterm documentation as it does the forwarding on its own.
So what fixed my issue:
> ssh my_linux_ip $ pycharm
That's it. I didn't have to set the DISPLAY variable explicity. However, this didn't work for my colleague who's facing the same issue.
UPDATE:
Finally resolved the issue on my colleague's computer as well. It was because of a CPU setting of his Linux VM on VirtualBox that was the cause of this issue.
Steps:
- Launch Oracle VirtualBox Manager
- Click on the concerned VM
->
Settings - System
->
Processor - Drag Execution Cap to 100%
His previous Execution Cap setting was at 44%.