您的位置:首页 > 编程语言 > Java开发

ubuntu 17.10 install IDEA report java.awt.AWTError: Can't connect to X11 window server using ':0'

2017-12-02 00:00 465 查看

ubuntu 17.10 install IDEA report ` java.awt.AWTError: Can't connect to X11 window server using ':0'

Ubuntu17.10
|
IDEA 2017


error message :
Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.


resolve method :

$ export DISPLAY=:0  # "$"表示非root用户


reference : https://stackoverflow.com/questions/101a65761/java-cant-connect-to-x11-window-server-using-localhost10-0-as-the-value-of-t/15068584#15068584
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Ubuntu IDEA x11
相关文章推荐