简体   繁体   English

通过 ssh 连接时尝试使用 kdbg 时出错(qt.qpa.xcb:无法连接到显示器)

[英]Taking an error (qt.qpa.xcb: could not connect to display) while trying to use kdbg, when connected through ssh

When I'm connected through ssh, and tried to run kdbg I took this problem:当我通过 ssh 连接并尝试运行 kdbg 时,我遇到了这个问题:

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.
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" 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: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

I use KDE Plasma (X11), and Arch Linux.我使用 KDE Plasma (X11) 和 Arch Linux。

I tried to reinstall qt6-base package, install qt5-base package, also found a lot of the same questions in other forums, but nothing helped to me我尝试重新安装qt6-base包,安装qt5-base包,在其他论坛也发现了很多相同的问题,但对我没有任何帮助

Firstly, as I understand, this concerned not only kdbg, but any program with a graphical interface.首先,据我了解,这不仅涉及 kdbg,还涉及任何具有图形界面的程序。 Second I found explanations on Arch wiki in the article about OpenSSH https://wiki.archlinux.org/title/OpenSSH#X11_forwarding其次,我在有关 OpenSSH https://wiki.archlinux.org/title/OpenSSH#X11_forwarding的文章中找到了关于 Arch wiki 的解释

So all i had to do, to solve this problem is add -X to the command.所以我所要做的就是在命令中添加-X来解决这个问题。 So instead of ssh user@server-address I wrote ssh -X user@server-address所以我写了ssh -X user@server-address而不是ssh user@server-address server-address

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 NS-3 - NetAnim 错误:qt.qpa.xcb:无法连接到显示 localhost:0.0 - NS-3 - NetAnim error: qt.qpa.xcb: could not connect to display localhost:0.0 Docker error for GUI app: qt.qpa.xcb: could not connect to display, qt.qpa.plugin: Could not load the Qt platform plugin "xcb" "" even though - Docker error for GUI app: qt.qpa.xcb: could not connect to display, qt.qpa.plugin: Could not load the Qt platform plugin "xcb" "" even though 来自远程服务器的 VSCode 绘图问题:qt.qpa.xcb:无法连接到显示 - VSCode plotting from remote server issue: qt.qpa.xcb: could not connect to display Qt 应用程序不工作,但仅在加电时工作(qt.qpa.xcb:无法连接到显示器) - Qt application doesn't work but only at power-up (qt.qpa.xcb: could not connect to display) QT6:“qt.qpa.plugin:即使找到了 Qt 平台插件”xcb“也无法加载”。 - QT6: "qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found." qt.qpa.plugin: Could not load the Qt platform plugin "xcb", no Qt platform can be initialized, but "Available platform plugins are: xcb, eglfs ......" - qt.qpa.plugin: Could not load the Qt platform plugin "xcb", no Qt platform can be initialised, but "Available platform plugins are: xcb, eglfs......" qt.qpa.plugin:即使找到了,也无法在“”中加载 Qt 平台插件“xcb” - qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found XCB错误:148 - Qt应用程序显示问题 - XCB error: 148 - Qt application display issues Raspberry Pi Qt 应用程序不会在启动时运行:qt.qpa.plugin 无法加载 qt 平台插件 xcb,即使它被发现 - Raspberry Pi Qt app won't run on boot: qt.qpa.plugin could not load the qt platform plugin xcb in even though it was found qt.qpa.plugin:无法在“”中加载 Qt 平台插件“xcb”,即使已找到。 Pop-Os 21.10 侏儒 V40.4.0 - qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. Pop-Os 21.10 Gnome V40.4.0
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM