Pycharm Startup Error: Unable to Detect Graphics Environment

Pycharm Startup Error: Unable to detect graphics environment

I had the same error installing in a clean Ubuntu 17.10, with Gnome on Wayland. At @mattdm's suggestion in your comments, I just opened a new terminal (as myself, not root) and it ran fine. I was running as root (after unpacking everything to /opt/) when I got the error.

mike@feynman:~$ /opt/pycharm/bin/pycharm.sh

Once you register/activate, just click the "* Configure v" pulldown from the welcome window, and select "Create Desktop Entry" to make it available from your OS menus. I'm assuming JetBrains made this work for whichever linux flavor you prefer.

Startup Error: Unable to detect graphics environment; pycharm-community on VM with Ubuntu16.04

Here is the solution to access VM from system using

ssh -X -i <private key file> <netid>@<External Ip address>

(or)

ssh -Y -i <private key file> <netid>@<External Ip address>

In my case, 2nd option worked for me.



Related Topics



Leave a reply



Submit