Linux报错:X11 DISPLAY variable was set, but this program performed an operation which requires it

Linux报错:X11 DISPLAY variable was set, but this program performed an operation which requires it
强烈推介IDEA2020.2破解激活,IntelliJ IDEA 注册码,2020.2 IDEA 激活码

在~/.bashrc环境变量文件最下方加入:

export DISPLAY=:0.0

然后,刷新环境变量以使其生效:

source ~/.bashrc
本文来源huayang183,由架构君转载发布,观点不代表Java架构师必看的立场,转载请标明来源出处:https://javajgs.com/archives/18589

发表评论