No X11 DISPLAY variable was set, but this program performed an operation which requires it


运行jmeter提示如下信息:

解决办法:

1 安装图形服务x11

yum -y install xorg-x11-xauth xorg-x11-server-utils xorg-x11-server-Xnest libXtst

2 安装Xming

下载地址:https://sourceforge.net/projects/xming/

安装成功后运行。

3 安装putty

进行如下配置:

选择SSH -> X11,选中Enable X11 forwarding,X display location中填写:localhost:0。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM