Linux 在WSL中打开应用程序时出现错误消息
从终端打开Windows Subsystem for Linux中的应用程序时,我收到以下错误消息:Linux 在WSL中打开应用程序时出现错误消息,linux,bash,windows-subsystem-for-linux,qstandardpaths,Linux,Bash,Windows Subsystem For Linux,Qstandardpaths,从终端打开Windows Subsystem for Linux中的应用程序时,我收到以下错误消息: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-adduser' qt.qpa.screen: QXcbConnection: Could not connect to display Could not connect to any X display. 有什么想法吗?Wireshark需要GUI才能在
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-adduser'
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
有什么想法吗?Wireshark需要GUI才能在WSL中运行,因此您最好使用终端版本的Wireshark,即tshark 在Windows级别以管理员身份运行bash,然后执行以下命令进行安装:
sudo apt-get install tshark
Wireshark需要GUI才能在WSL中运行,因此您最好使用终端版本的Wireshark,即tshark 在Windows级别以管理员身份运行bash,然后执行以下命令进行安装:
sudo apt-get install tshark
您正在尝试运行什么应用程序?将不会有带有WSL的桌面,因为环境的运行非常像一个容器。我正在尝试运行Wireshark您正在尝试运行哪个应用程序?由于环境的运行非常像一个容器,因此不会有带有WSL的桌面。我正在尝试运行Wireshark