我的发行版是KDE 霓虹灯 5.24并运行AMD 锐龙 7 5800X CPU和AMD RX 5700 GPU。
我最近进行了系统升级,之后我的 KDE Plasma shell 停止正常工作。
我最初遇到的错误是ksplashqml closed unexpectedly
或baloo-file-extractor closed unexpectedly
这些错误的出现是因为等离子外壳无法工作。该问题仅发生在我的主要用户上。它适用于系统上的其他用户。我什至创建了一个新test
用户来尝试这个,它也工作得很好。在损坏的用户上
运行时我收到的错误是:kstart5 plasmashell
Icon theme 'breeze' not found
Icon theme 'breeze-dark' not found
Icon theme 'breeze' not found
starting invalid corona "org.kde.plasma.desktop"
(正在运行sudo -u brokenuser kstart5 plasmashell
,但主题和一般 KDE 设置仍然存在一些问题,根据我的理解,它也在 /tmp 中启动)
这是迄今为止我尝试过的事情的列表,但没有一个能解决我的问题:
- 尝试运行
sudo -u brokenuser kstart5 plasmashell
(上面提到的) - 从损坏用户主目录中的正确主题目录中删除了 KDE 主题
.local
从,.config
,中删除了 KDE 配置文件.kde
(通过重命名它们)System Settings
通过以root身份启动plasmashell并在brokenuser (sudo -u brokenuser systemsettings5
)下运行程序来重置用户使用的所有KDE主题- 重新安装
plasma-desktop
,plasma-workspace
,plasma-framework
与sudo apt install --reinstall plasma-desktop plasma-workspace plasma-framework
- 从主目录中删除整个
.local
、.config
和目录以获取新的配置文件和设置(通过重命名它们).kde
.cache
- 将整个
.local
、.config
、.kde
和.cache
目录复制到新test
用户,看看它是否也会破坏其等离子外壳。它不会破坏任何东西,用户仍然可以正常工作 - 删除了整个全局 KDE 目录(通过重命名它们)
我不知道还能尝试什么。我是否缺少另一个 KDE 文件夹,其中可能存在一些错误的配置?是什么id导致这个?
错误来自.xsession-errors
(不确定在关闭运行的plasmashell之后sudo
或启动不运行的plasmashell时是否发生这种情况sudo
):
kdeinit5_wrapper: Warning: connect(/run/user/1000/kdeinit5__0) failed: : No such file or directory
Error: Can not contact kdeinit5!
一般journalctl日志
feb 23 15:14:33 monster-desktop plasma_session[5702]: org.kde.plasma.session: Starting autostart service "/etc/xdg/autostart/geoclue-demo-agent.desktop" ("/usr/libexec/geoclue-2.0/demo>
feb 23 15:14:33 monster-desktop plasma_session[5702]: org.kde.plasma.session: Starting autostart service "/etc/xdg/autostart/spice-vdagent.desktop" ("/usr/bin/spice-vdagent")
feb 23 15:14:33 monster-desktop plasma_session[5702]: org.kde.plasma.session: Starting autostart service "/etc/xdg/autostart/at-spi-dbus-bus.desktop" ("/usr/libexec/at-spi-bus-launcher>
feb 23 15:14:33 monster-desktop plasma_session[5702]: org.kde.plasma.session: failed to parse "/etc/xdg/autostart/distro-release-notifier.desktop" for autostart
feb 23 15:14:33 monster-desktop plasma_session[5702]: org.kde.plasma.session: Starting autostart service "/home/brokenuser/.config/autostart/ckb-next.autostart.desktop" ("/usr/bin/ckb-n>
feb 23 15:14:33 monster-desktop gwenview[5980]: Icon theme "breeze-dark" not found.
feb 23 15:14:33 monster-desktop gwenview[5980]: Icon theme "breeze" not found.
feb 23 15:14:33 monster-desktop plasma_session[5702]: org.kde.plasma.session: Starting autostart service "/etc/xdg/autostart/kup-daemon.desktop" ("/usr/bin/kup-daemon")
feb 23 15:14:33 monster-desktop plasma_session[5702]: org.kde.plasma.session: Starting autostart service "/etc/xdg/autostart/snap-userd-autostart.desktop" ("/usr/bin/snap", "userd", "->
feb 23 15:14:33 monster-desktop plasma_session[5702]: org.kde.plasma.session: Starting autostart service "/etc/xdg/autostart/im-launch.desktop" ("/bin/sh", "-c", "if [ \"x$XDG_SESSION_>
feb 23 15:14:33 monster-desktop plasma_session[5702]: org.kde.plasma.session: Starting autostart service "/home/brokenuser/.config/autostart/konsole.autostart.desktop" ("/usr/bin/konsol>
feb 23 15:14:33 monster-desktop dbus-daemon[2173]: [session uid=1000 pid=2173] Successfully activated service 'org.kde.kded5'
feb 23 15:14:33 monster-desktop kup-daemon[6008]: kup.daemon: "Kup is not enabled, enable it from the system settings module. You can do that by running kcmshell5 kup"
feb 23 15:14:33 monster-desktop kwin_x11[5744]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1305, resource id: 85983237, major code: 18 (ChangeProperty), minor code:>
feb 23 15:14:33 monster-desktop kded5[5996]: kf.service.services: KServiceTypeTrader: serviceType "KDEDModule" not found
feb 23 15:14:33 monster-desktop konsole[6013]: Icon theme "breeze-dark" not found.
feb 23 15:14:33 monster-desktop konsole[6013]: Icon theme "breeze" not found.
feb 23 15:14:33 monster-desktop NetworkManager[1143]: <info> [1645622073.1649] agent-manager: agent[8fb5c508aa6a36f4,:1.198/org.kde.plasma.networkmanagement/1000]: agent registered
feb 23 15:14:33 monster-desktop kernel: traps: kded5[5996] trap int3 ip:7f080cd30295 sp:7ffc94b04ce0 error:0 in libglib-2.0.so.0.6400.6[7f080ccf4000+84000]
feb 23 15:14:33 monster-desktop kded5[5996]: Installing the delayed initialization callback.
feb 23 15:14:33 monster-desktop kded5[5996]: org.kde.libkbolt: Failed to connect to Bolt manager DBus interface:
feb 23 15:14:33 monster-desktop kded5[5996]: org.kde.bolt.kded: Couldn't connect to Bolt DBus daemon
feb 23 15:14:33 monster-desktop kwin_x11[5744]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1309, resource id: 90177541, major code: 18 (ChangeProperty), minor code:>
feb 23 15:14:33 monster-desktop kded5[5996]: No GSettings schemas are installed on the system
KDE 相关程序的 Journalctl 中以红色显示的内容:
feb 23 15:14:32 monster-desktop kwin_x11[5744]: kwin_xkbcommon: XKB: Unrecognized RMLVO layout "de" was ignored
feb 23 15:14:32 monster-desktop kwin_x11[5744]: kwin_xkbcommon: XKB: Unrecognized RMLVO variant "qwerty" was ignored
...
feb 23 15:14:32 monster-desktop plasmashell[5800]: starting invalid corona "org.kde.plasma.desktop"
...
feb 23 15:14:33 monster-desktop kup-daemon[6008]: kup.daemon: "Kup is not enabled, enable it from the system settings module. You can do that by running kcmshell5 kup"
...
feb 23 15:14:33 monster-desktop kded5[5996]: No GSettings schemas are installed on the system
我还收到一些 QXcbConnection 错误:
feb 23 15:16:31 monster-desktop kwin_x11[5744]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 59579, resource id: 16780117, major code: 3 (GetWindowAttributes), minor >
feb 23 15:16:31 monster-desktop kwin_x11[5744]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 59580, resource id: 16780117, major code: 14 (GetGeometry), minor code:>
feb 23 15:16:36 monster-desktop kwin_x11[5744]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 61513, resource id: 109051915, major code: 18 (ChangeProperty), minor cod>
feb 23 15:16:36 monster-desktop kwin_x11[5744]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 61556, resource id: 85983257, major code: 15 (QueryTree), minor code: 0
feb 23 15:16:36 monster-desktop kwin_x11[5744]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 61596, resource id: 85983277, major code: 15 (QueryTree), minor code: 0
答案1
使用命令运行更新后,它似乎已自行修复pkcon update
。
仍然是一个非常奇怪的问题。