在ubuntu18.04中安装idea报错:Startup Error: Unable to detect graphics environment

[email protected]:~/Desktop# /idea/idea2019.1.3/bin/idea.sh Startup Error: Unable to detect graphics environment 解决方案: 设置一下环境变量: sudo vim ~/.bashrc 添加如下内容: export DISPLAY=:0.0 退出之后,执行,source ~/.bashrc
相关文章
相关标签/搜索