linux异常系列:Can't connect to X11 window
来源:互联网 发布:ibm 云计算 编辑:程序博客网 时间:2024/05/16 08:31
java.lang.InternalError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
原因:因为用到了图形处理,java程序会去寻找linux上的图形界面是否启动
解决:
在.bash_profile?加了个export?JAVA_OPTS=-Djava.awt.headless=true
source .bash_profile生效
- linux异常系列:Can't connect to X11 window
- linux异常系列:Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
- 项目上线那些事之Can't connect to X11 window server异常
- 安装oracle, can't connect to X11 window server
- Can't connect to X11 window server的问题研究
- Can't connect to X11 window server using ':0.0'
- Linux上 Can't connect to X11 window server 错误解决方法
- Linux上 Can't connect to X11 window server 错误解决方法
- 在linux上安装oracle出现Can't connect to X11 window。。。的问题
- Java在Linux下 不能处理图形的解决办法 Can't connect to X11 window server
- Linux上 Can't connect to X11 window server 错误解决方法
- Linux上 Can't connect to X11 window server using XX as the value of the DISPLAY 错误解决方法
- Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
- 装ORACLE时 Can't connect to X11 window server using ':0.0' 解决方法
- Can't connect to X11 window server using 'localhost:0.0' 的解决
- Can't connect to X11 window server using 'localhost:0.0' 的解决
- Exception in thread "main" java.lang.InternalError: Can't connect to X11 window
- 【Vegas原创】Can't connect to X11 window server using ':0.0' 解决方法
- replace(str, "union", "union", 1, -1, 1)
- Android之Bluetooth
- Ipad1老设备滑动卡顿解决方案
- android adb启动失败问题 adb server is out of date. killing... ADB server didn't ACK * failed to start daem
- android pbap client
- linux异常系列:Can't connect to X11 window
- Nagios的进程监控及eventhandler之实战
- Java 通过URL获取网站Html源代码
- RAKNET RPC3 Plugins - Remote Procedure Calls With Boost 远程功能调用
- SD卡升级——SDIO IAP实验
- 《深入理解JAVA虚拟机》--第二章 Java内存溢出异常
- linux异常系列:Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
- opencart页面打开效率优化
- linux双网卡双网关,不同IP段的设置