Unable to launch Google Chrome when Intellij IDEA opened as root

540 Views Asked by At

I am unable to view my html page in google-chrome or any browser from Intellij IDEA 2018 using the shortcut provided in the top-right side. This is how i was trying to open:

enter image description here

I can use this shortcut only if i have opened Intellij without being the root user. I am using sudo ./idea.sh command to launch Intellij from the folder ~/Installed/idea-IU-183.5912.21/bin. My OS is Ubuntu 16.04. Please help.

0

There are 0 best solutions below