Kubuntu 上的图形问题,plasmashell 无法启动

Kubuntu 上的图形问题,plasmashell 无法启动

我使用 Kubuntu。我注意到一些奇怪的事情。KDE Plasma 恰好安装了更新,但当我启动系统时,出现了一些黑白效果、缺少菜单项等。

我做了这个 YouTube 视频解释了我的意思

一切运行正常(图标效果、最大化等),但我没有桌面,也无法右键单击桌面。

我试过

  • 重新安装整个 kde plasma(包括 kubuntu +kde plasma,我在恢复时使用此设置)
  • 尝试完全卸载并检查文件是否存在。
  • 尝试修改 kscreen(包含 conf 的文件夹)

plasmashell 启动失败。错误:

dragonpc@dragonpc-H110M-DS2:~$ plasmashell 
org.kde.plasmaquick: Applet preload policy set to 1
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
Warning: all files used by qml by the plasmoid should be in ui/. The file in the path "file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/code/LayoutManager.js" was expected at QUrl("file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/LayoutManager.js")
Warning: all files used by qml by the plasmoid should be in ui/. The file in the path "file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/code/FolderTools.js" was expected at QUrl("file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderTools.js")
trying to show an empty dialog
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:294:17: QML Text: Binding loop detected for property "width"
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:294:17: QML Text: Binding loop detected for property "width"
org.kde.plasmaquick: New Applet  "Application Launcher" with a weight of 92
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
trying to show an empty dialog
org.kde.plasmaquick: New Applet  "Digital Clock" with a weight of 12
Warning: all files used by qml by the plasmoid should be in ui/. The file in the path "file:///usr/share/plasma/plasmoids/org.kde.panel/contents/code/LayoutManager.js" was expected at QUrl("file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/LayoutManager.js")
trying to show an empty dialog
Failed to find service for Unity Launcher "application://Skype.desktop"
org.kde.plasmaquick: New Applet  "Audio Volume" with a weight of 0
org.kde.plasmaquick: New Applet  "Clipboard" with a weight of 0
org.kde.plasmaquick: New Applet  "Device Notifier" with a weight of 0
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
org.kde.plasmaquick: New Applet  "KDE Connect" with a weight of 0
Warning: all files used by qml by the plasmoid should be in ui/. The file in the path "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/code/uiproperties.js" was expected at QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/uiproperties.js")
org.kde.plasmaquick: New Applet  "Notifications" with a weight of 0
org.kde.plasmaquick: New Applet  "Printers" with a weight of 0
org.kde.plasmaquick: New Applet  "Updates" with a weight of 0
Warning: all files used by qml by the plasmoid should be in ui/. The file in the path "file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/code/logic.js" was expected at QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/logic.js")
org.kde.plasmaquick: New Applet  "Battery and Brightness" with a weight of 0
Both point size and pixel size set. Using pixel size.
file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/CompactRepresentation.qml:53:39: Unable to assign [undefined] to int
networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "AllDevices"
networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "Capabilities"
networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "ConnectivityCheckAvailable"
networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "ConnectivityCheckEnabled"
networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "Devices"
networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "GlobalDnsConfiguration"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
org.kde.plasmaquick: New Applet  "Networks" with a weight of 64
Warning: all files used by qml by the plasmoid should be in ui/. The file in the path "file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js" was expected at QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js")
org.kde.plasmaquick: New Applet  "Bluetooth" with a weight of 0
trying to show an empty dialog
org.kde.plasmaquick: Delayed preload of  "Application Launcher" after 0.508 seconds
KAStatsFavoritesModel::setFavorites is ignored
trying to show an empty dialog
org.kde.plasmaquick: Applet "Application Launcher" loaded after 78 msec
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:294:17: QML Text: Binding loop detected for property "width"
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:294:17: QML Text: Binding loop detected for property "width"
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:294:17: QML Text: Binding loop detected for property "width"
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:294:17: QML Text: Binding loop detected for property "width"
libpng warning: iCCP: known incorrect sRGB profile
QSGSimpleMaterialShader does not implement 'uniform highp mat4 qt_Matrix;' in its vertex shader
KCrash: Attempting to start /usr/bin/plasmashell from kdeinit
sock_file=/run/user/1000/kdeinit5__0
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = plasmashell path = /usr/bin pid = 13544
KCrash: Arguments: /usr/bin/plasmashell 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 17 and type 'Read', disabling...
QSocketNotifier: Invalid socket 9 and type 'Read', disabling...

[1]+  Stopped                 plasmashell

答案1

这还不是一个答案,所以我把它作为社区维基。

有几件事可能无法解决您的问题,但应该注意:

  • kstart plasmashell而不是仅仅使用plasmashell[1]
  • killall plasmashell在重新启动之前停止所有其他的plasmashell进程[1]
  • [1]+ Stopped plasmashell我可以在您的日志末尾看到该行。这意味着您已经“停止”了(!) plasmashell(通过按Ctrl+ Z)而不是TERM启动它。如果您plasmashell在没有 的情况下启动kstart,请使用Ctrl+C来终止它。

简而言之:当等离子外壳出现问题时,请尝试重新启动它[1]是否有帮助。

[1]参见我可以在不注销的情况下重新启动 KDE Plasma 桌面吗?

相关内容