title: PyCharm Startup Error: Unable to detect graphics environment on Windows Subsystem for Linux (WSL) Ubuntu
body: <p>I am trying to Setup PyCharm Community on Windows Subsystem for Linux (WSL) using Ubuntu. When trying to run it (<code>sh bin/pycharm.sh</code>) I receive following error:</p>
  <blockquote>
  <p>PyCharm Startup Error: Unable to detect graphics environment</p>
  </blockquote>
  <p>Based on <a href="https://stackoverflow.com/questions/46124295/pycharm-startup-error-unable-to-detect-graphics-environment">this</a> post I have set <code>export DISPLAY=:0</code> and tried it as non-root, without success. I don't want to install PyCharm for Windows because I need to use the virtual environments inside the WSL. I also cannot install a native Ubuntu or use a VM.</p>