带有 KDE 的 Debian 12 无法从终端运行应用程序

带有 KDE 的 Debian 12 无法从终端运行应用程序

当我尝试以 root 或其他用户身份从终端运行应用程序时,我得到:

qt.qpa.xcb: could not connect to display 
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, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

相关内容