1.l-bash: ./jmeter.sh: Permission denied
解决办法:jmeter.sh的执行权限改改,是权限不够
chmod 777 jmeter.sh

2.An error occurred:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
步骤一:linux负载机环境下,切换到root用户,运行以下命令安装X11,该linux机器需能访问外网:
yum -y install xorg-x11-xauth
yum install xorg-x11-server-utils
yum install xorg-x11-server-Xnest
yum install libXtst
安装完成后再重新登录,提示/usr/bin/xauth:  creating new authority file /home/upload/.Xauthority

自由互联热门推荐:PDF电子发票识别软件,一键识别电子发票并导入到Excel中!10大顶级数据挖掘软件!人工智能的十大作用!

步骤二:本地机器安装Xming-6-9-0-31-setup.exe,安装成功后并运行。
步骤三:本地机器安装putty,putty进行如下配置,选择SSH—>X11,选中Enable X11 forwarding,X display location中填写:localhost:0。