CentOS8安装pycharm报错【Can't connect to X11 window server using ':0' as the valu
2021-03-12 11:30
标签:future epg cep pycha ase dep plugin value repo 在CentOS8 安装pycharm报出如下错误,原来是自己画蛇添足的用sudo执行pycharm.sh,没有按照Install说明里边的直接执行 ./pycharm.sh。 原因见这里:https://www.cnblogs.com/qingqing74647464/p/8685837.html CentOS8安装pycharm报错【Can't connect to X11 window server using ':0' as the value of the DISPLAY variable. 】 标签:future epg cep pycha ase dep plugin value repo 原文地址:https://www.cnblogs.com/smoggy/p/12596328.htmlOpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
No protocol specified
2020-03-30 03:39:39,467 [ 621] WARN - #com.intellij.idea.Main - java.awt.AWTError: Can‘t connect to X11 window server using ‘:0‘ as the value of the DISPLAY variable.
java.util.concurrent.ExecutionException: java.awt.AWTError: Can‘t connect to X11 window server using ‘:0‘ as the value of the DISPLAY variable.
at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
at com.intellij.idea.StartupUtil.runInEdtAndWait(StartupUtil.java:678)
at com.intellij.idea.StartupUtil.lambda$showUserAgreementAndConsentsIfNeeded$15(StartupUtil.java:673)
at com.intellij.ui.AppUIUtil.showConsentsAgreementIfNeeded(AppUIUtil.java:332)
at com.intellij.idea.StartupUtil.showUserAgreementAndConsentsIfNeeded(StartupUtil.java:673)
at com.intellij.idea.StartupUtil.startApp(StartupUtil.java:231)
at com.intellij.idea.StartupUtil.prepareApp(StartupUtil.java:213)
at com.intellij.ide.plugins.MainRunner.lambda$start$0(MainRunner.java:45)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.awt.AWTError: Can‘t connect to X11 window server using ‘:0‘ as the value of the DISPLAY variable.
at java.desktop/sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at java.desktop/sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:102)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.desktop/sun.awt.X11GraphicsEnvironment.
文章标题:CentOS8安装pycharm报错【Can't connect to X11 window server using ':0' as the valu
文章链接:http://soscw.com/index.php/essay/63660.html