Pycharm installation problem

asked 2018-11-04 05:12:43 -0500

Sabbir gravatar image

updated 2018-11-04 05:49:56 -0500

hhlp gravatar image

When I am trying to install pycharm community edition I found some issue that I can't understand :

sys info : Gnome :Version 3.30.1 OS: Fedora29 - 64-bit processor: Intel

Error Details:
[user@pc bin]$ sudo ./ 
No protocol specified

Start Failed: Failed to initialize graphics environment
# command : sudo ./ (tried without sudo, same error found)
# Outout :
java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.access$200(
    at sun.awt.X11GraphicsEnvironment$
    at Method)
    at sun.awt.X11GraphicsEnvironment.<clinit>(
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(
    at java.awt.GraphicsEnvironment.createGE(
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(
    at sun.awt.X11.XToolkit.<clinit>(
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(
    at java.awt.Toolkit$
    at java.awt.Toolkit$
    at Method)
    at java.awt.Toolkit.getDefaultToolkit(
    at com.intellij.ui.AppUIUtil.updateFrameClass(
    at com.intellij.idea.StartupUtil.prepareAndStart(
    at com.intellij.idea.MainImpl.start(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at com.intellij.ide.plugins.PluginManager.lambda$start$0(
edit retag flag offensive close merge delete