我使用的是 kubuntu 15.04。突然(沒有進行升級),當我登入時,我的等離子無法啟動。我在桌面上打開了應用程序,但沒有面板、沒有選單、沒有背景。
sudo Plasshell 可以工作(但以 root 身分運行),而不是以普通使用者身分執行。我現在會嘗試升級,但我有點擔心我應該先解決這個問題。也許我應該檢查特定的日誌?
這可能是權限問題嗎?我一直使用Dolphin作為root來解決備份的寫入權限問題,也許這是一個壞主意。
- 更新
我將 /home/me 中所有文件的所有權更改為我自己。之後,嘗試執行plasmashell:
Crash: Application Name = plasmashell path = /usr/bin pid = 2218
KCrash: Arguments: /usr/bin/plasmashell --crashes 2
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
[1]+ Stopped plasmashell
dorien@XP:~$ clear
dorien@XP:~$ plasmashell
kf5.kiconthemes: "Theme tree: (Breeze)"
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/packagestructure/plasma_packagestructure_lookandfeel.so" instead.
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/packagestructure/plasma_packagestructure_wallpaper.so" instead.
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/packagestructure/plasma_packagestructure_share.so" instead.
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/packagestructure/plasma_packagestructure_layoutemplate.so" instead.
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/packagestructure/plasma_packagestructure_plasmashell.so" instead.
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/packagestructure/plasma_packagestructure_wallpaperimages.so" instead.
kf5.kservice.sycoca: Trying to open ksycoca from "/home/dorien/.cache/ksycoca5"
kf5.kservice.sycoca: Trying to open global ksycoca from "/home/dorien/.local/share/kservices5/ksycoca5"
kf5.kservice.sycoca: Trying to open ksycoca from "/home/dorien/.cache/ksycoca5"
kf5.kservice.sycoca: Trying to open global ksycoca from "/home/dorien/.local/share/kservices5/ksycoca5"
kf5.kservice.sycoca: Still no database...
No ksycoca database available! Tried running kbuildsycoca5 ?
KServiceTypeTrader: serviceType "Plasma/Containment" not found
No ksycoca database available! Tried running kbuildsycoca5 ?
KServiceTypeTrader: serviceType "Plasma/LayoutTemplate" not found
"file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/osd/Osd.qml"
"Error loading QML file.
21: module "org.kde.plasma.components" is not installed
22: module "org.kde.plasma.extras" is not installed
20: module "org.kde.plasma.core" is not installed
21: module "org.kde.plasma.components" is not installed
22: module "org.kde.plasma.extras" is not installed
20: module "org.kde.plasma.core" is not installed
21: module "org.kde.plasma.components" is not installed
22: module "org.kde.plasma.extras" is not installed
20: module "org.kde.plasma.core" is not installed
"
Application::crashHandler() called with signal 11; recent crashes: 1
/usr/bin/plasmashell --crashes 1 &
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = plasmashell path = /usr/bin pid = 2232
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
kf5.kiconthemes: "Theme tree: (Breeze)"
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/packagestructure/plasma_packagestructure_lookandfeel.so" instead.
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/packagestructure/plasma_packagestructure_wallpaper.so" instead.
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/packagestructure/plasma_packagestructure_share.so" instead.
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/packagestructure/plasma_packagestructure_layoutemplate.so" instead.
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/packagestructure/plasma_packagestructure_plasmashell.so" instead.
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/packagestructure/plasma_packagestructure_wallpaperimages.so" instead.
kf5.kservice.sycoca: Trying to open ksycoca from "/home/dorien/.cache/ksycoca5"
kf5.kservice.sycoca: Trying to open global ksycoca from "/home/dorien/.local/share/kservices5/ksycoca5"
kf5.kservice.sycoca: Trying to open ksycoca from "/home/dorien/.cache/ksycoca5"
kf5.kservice.sycoca: Trying to open global ksycoca from "/home/dorien/.local/share/kservices5/ksycoca5"
kf5.kservice.sycoca: Still no database...
No ksycoca database available! Tried running kbuildsycoca5 ?
KServiceTypeTrader: serviceType "Plasma/Containment" not found
No ksycoca database available! Tried running kbuildsycoca5 ?
KServiceTypeTrader: serviceType "Plasma/LayoutTemplate" not found
"file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/osd/Osd.qml"
"Error loading QML file.
20: module "org.kde.plasma.core" is not installed
21: module "org.kde.plasma.components" is not installed
22: module "org.kde.plasma.extras" is not installed
20: module "org.kde.plasma.core" is not installed
21: module "org.kde.plasma.components" is not installed
22: module "org.kde.plasma.extras" is not installed
20: module "org.kde.plasma.core" is not installed
21: module "org.kde.plasma.components" is not installed
22: module "org.kde.plasma.extras" is not installed
"
Application::crashHandler() called with signal 11; recent crashes: 2
/usr/bin/plasmashell --crashes 2 &
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = plasmashell path = /usr/bin pid = 2236
KCrash: Arguments: /usr/bin/plasmashell --crashes 1
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
kf5.kiconthemes: "Theme tree: (Breeze)"
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/packagestructure/plasma_packagestructure_lookandfeel.so" instead.
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/packagestructure/plasma_packagestructure_wallpaper.so" instead.
Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/packagestructure/plasma_packagestructure_share.so" instead.
Calling KPluginInfo::property("X-KDE-PluginInfo
...
我最近在 .bashrc 中設定了 DL_LIBRARY_PATH 變數。這會幹擾嗎? (看著這錯誤報告)
-- 更新2
我已經創建了一個新用戶。 Plasma 非常適合該用戶。必須再次進行所有桌面設定有點煩人,但好吧......我猜這是一個權限問題?沒有線索...
答案1
肯定是權限問題。我已經設法打開用戶管理器(恰好打開的 konsole 中的 sudo Plasshell(感謝上帝)和系統設定)。創建一個新用戶(並使用該用戶登入)似乎已經解決了這個問題。
後來我愚蠢地做了 sudo chown -R me /home/me ,它又搞砸了!經過 10 年的 Linux 使用,我應該知道這一點。隱藏檔案的權限很重要...