我正在尝试在正在运行的 Fedora 38 机器上安装一些桌面共享应用程序,目前我只能通过 ssh 访问该应用程序。我尝试用以下命令启动 krfb:
$ export DISPLAY=0; krfb
qt.qpa.xcb: could not connect to display 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, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
尝试重新安装并没有解决问题。我认为它可能无法加载 Qt,因为我是通过 ssh 连接的。无论如何?