You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

SDDM环境下X11转发失败问题求助

SDDM环境下X11转发失败问题求助

各位大佬好,我最近在尝试把PC(作为服务器)的X11界面转发到我的笔记本(客户端)上,折腾了好一阵都没搞定,特意来求助!

先说说我的情况和遇到的问题:

  • 我已经在服务器的sshd_config里开启了X11 Forwarding选项
  • 用ssh user@ip -X命令连接时,会弹出警告:Warning: untrusted X11 forwarding setup failed: xauth key data not generated,而且环境变量$DISPLAY完全没被设置
  • 后来换成ssh user@ip -Y连接,警告变成了:Warning: No xauth data; using fake authentication data for X11 forwarding.,这时候$DISPLAY倒是有值了,但只要运行GUI程序比如dolphin就直接报错,具体错误信息如下:
[playerxyt@playerspc ~]$ dolphin
Invalid MIT-MAGIC-COOKIE-1 key
qt.qpa.xcb: could not connect to display localhost:10.0
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because...

有没有大佬遇到过类似的情况,或者能给我指个解决方向呀?谢谢大家了!

备注:内容来源于stack exchange,提问作者Player_X_YT

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.17 09:43:00