我使用核心网络仿真器。我试图通过终端在其中一个节点上运行Wireshark,但是我得到了以下错误:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display. 在主机上,我执行了以下命令:
xhost +SI:localuser:root但没什么用。我需要做些什么才能让Wireshark发挥作用?
发布于 2020-10-01 19:43:22
要在节点上运行Wireshark,需要运行两个命令:
https://unix.stackexchange.com/questions/612230
复制相似问题