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 ./pycharm.sh 
No protocol specified

Start Failed: Failed to initialize graphics environment
# command : sudo ./pycharm.sh (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(X11GraphicsEnvironment.java:65)
    at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:115)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
    at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:128)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at java.awt.Toolkit$2.run(Toolkit.java:860)
    at java.awt.Toolkit$2.run(Toolkit.java:855)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
    at com.intellij.ui.AppUIUtil.updateFrameClass(AppUIUtil.java:155)
    at com.intellij.idea.StartupUtil.prepareAndStart(StartupUtil.java:94)
    at com.intellij.idea.MainImpl.start(MainImpl.java:20)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.intellij.ide.plugins.PluginManager.lambda$start$0(PluginManager.java:75)
    at java.lang.Thread.run(Thread.java:745)
edit retag flag offensive close merge delete