“没有 X11 DISPLAY 变量”——这是什么意思?

“No X11 DISPLAY variable” - what does it mean?

我在我的一个 Mesos 节点上安装了 Jmeter,但是我不能运行它出现了这个错误

================================================== ==============================
Do not use GUI mode for load testing, only for Test creation and Test debugging.
For load testing, use CLI Mode (was NOT GUI):
   jmeter -n -t [jmx file] -l [results file] -e -o [Path to web report folder]
& increase Java Heap to meet your test requirements:
   Modify current env variable HEAP = "- Xms1g -Xmx1g -XX: MaxMetaspaceSize = 256m" in the jmeter batch file
Check: https://jmeter.apache.org/usermanual/best-practices.html
================================================== ==============================
An error occurred: Can not connect to the window server using ': 0' as the value of the DISPLAY variable.

只有在 GUI 模式下 运行 才需要 DISPLAY。由于您在 Mesos 中 运行 进行此操作,因此您 不能 使用 GUI 模式。在 CLI 模式下将 -n 选项添加到 运行。

JMeter: Getting Started: CLI Mode