Linux打开jmeter报错: No X11 DISPLAY variable was set, but this program performed 解决方法
linux安装jmeter报错NO x11解决方法
·
Linux打开jmeter报错:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
解决办法:
方法1:windows安装图形服务XMING,打开Xming
方法2:yum -y install xorg-x11-xauth xorg-x11-server-utils xorg-x11-server-Xnest libXtst
方法3:vim /etc/ssh/sshd_config
X11following改为yes
方法4:在vi m~/.bashrc
环境变量文件最下方加入:
export DISPLAY=:0.0
然后,刷新环境变量以使其生效:source ~/.bashrc
执行jmeter就可以打开jmeter
更多推荐
已为社区贡献1条内容
所有评论(0)