我正在使用运行“ xrdp & xfce4 ”的WSL来访问 X-Server。我正在尝试使用Qt5为NS-3运行“ NetAnim ” 。
我一跑:
$ ./NetAnim
它给出了一个输出:
qt.qpa.xcb: could not connect to display localhost:0.0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Aborted (core dumped)
我试过了:
export DISPLAY=0:0
仍然给出相同的输出。