Debian
登錄我的debian時,底部工作列經常失去
uname -a Linux MiWiFi-R3-srv 4.19.0-0.bpo.9-amd64 #1 SMP Debian 4.19.118-2+deb10u1~bpo9+1 (2020-06-09) x86_64 GNU/Linux
最近登錄我的debian時,經常在底部工作列失去,但不是每次都這樣。我該如何解決這個問題?
桌面環境是 LXDE。
df
:Filesystem 1K-blocks Used Available Use% Mounted on udev 1931680 0 1931680 0% /dev tmpfs 391084 6204 384880 2% /run /dev/sdb9 287320352 117568808 155086740 44% / tmpfs 1955404 141952 1813452 8% /dev/shm tmpfs 5120 4 5116 1% /run/lock tmpfs 1955404 0 1955404 0% /sys/fs/cgroup /dev/loop0 128 128 0 100% /snap/anbox-installer/24 /dev/loop2 99328 99328 0 100% /snap/core/9665 /dev/loop3 382848 382848 0 100% /snap/anbox/186 /dev/loop1 98944 98944 0 100% /snap/core/9804 /dev/sda1 244197372 1149692 243047680 1% /mnt/shared /dev/sdb2 98304 42725 55579 44% /boot/efi /dev/loop5 515968 515968 0 100% /var/xdroid/common/rootfs tmpfs 391080 8 391072 1% /run/user/1000 tmpfs 391080 0 391080 0% /run/user/65534
cat ~/.xsession-errors
:Xsession: X session started for debian at Mon Dec 14 13:01:24 CST 2020 dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus dbus-update-activation-environment: setting DISPLAY=:0 dbus-update-activation-environment: setting XAUTHORITY=/home/debian/.Xauthority localuser:debian being added to access control list dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge dbus-update-activation-environment: setting QT_ACCESSIBILITY=1 dbus-update-activation-environment: setting QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 OpenGL version: 3. dbus-update-activation-environment: setting USER=debian dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11 dbus-update-activation-environment: setting HOME=/home/debian dbus-update-activation-environment: setting QT4_IM_MODULE=fcitx dbus-update-activation-environment: setting DESKTOP_SESSION=LXDE dbus-update-activation-environment: setting XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge dbus-update-activation-environment: setting QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 dbus-update-activation-environment: setting LC_CTYPE=zh_CN.UTF-8 dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus dbus-update-activation-environment: setting IM_CONFIG_PHASE=1 dbus-update-activation-environment: setting LOGNAME=debian dbus-update-activation-environment: setting GTK_IM_MODULE=fcitx dbus-update-activation-environment: setting PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games dbus-update-activation-environment: setting GDM_LANG=en_US.utf8 dbus-update-activation-environment: setting XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1000 dbus-update-activation-environment: setting DISPLAY=:0 dbus-update-activation-environment: setting LANG=en_US.utf8 dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=LXDE dbus-update-activation-environment: setting XAUTHORITY=/home/debian/.Xauthority dbus-update-activation-environment: setting XMODIFIERS=@im=fcitx dbus-update-activation-environment: setting XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/debian dbus-update-activation-environment: setting SHELL=/bin/bash dbus-update-activation-environment: setting GDMSESSION=LXDE dbus-update-activation-environment: setting QT_ACCESSIBILITY=1 dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 dbus-update-activation-environment: setting QT_IM_MODULE=fcitx dbus-update-activation-environment: setting PWD=/home/debian dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/var/lib/snapd/desktop dbus-update-activation-environment: setting CLUTTER_IM_MODULE=xim ** Message: main.vala:102: Session is LXDE ** Message: main.vala:103: DE is LXDE (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-punc.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-fullwidth-char.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-notificationitem.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-xkb.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-unicode.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-lua.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-sunpinyin.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-autoeng.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-xim.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-ipc.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-googlepinyin.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-remote-module.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-spell.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-clipboard.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-dbus.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-freedesktop-notify.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-pinyin.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-kimpanel-ui.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-table.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-classic-ui.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-x11.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-pinyin-enhance.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-quickphrase.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-xkbdbus.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-chttrans.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-keyboard.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-imselector.conf (INFO-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-vk.conf ** Message: main.vala:134: log directory: /home/debian/.cache/lxsession/LXDE ** Message: main.vala:135: log path: /home/debian/.cache/lxsession/LXDE/run.log (ERROR-2905 /build/fcitx-4.2.9.1/src/lib/fcitx/ime.c:432) fcitx-keyboard-cm-mmuock already exists
LXPanel 提供了 LXDE 的底部欄。根據您的螢幕截圖,面板沒有“失去”:它沒有崩潰或段錯誤。它只是空的:它沒有載入任何小元件。通過從面板中刪除背景和所有小元件,我能夠重新創建圖像中的外觀。似乎沒有關於 Debian 和 LXDE 錯誤跟踪器的相關錯誤報告。
正如您所說,它有時會失敗,您可以重新啟動面板而不是重新啟動電腦,以更快地恢復小元件:
lxpanelctl restart
考慮到根據您的螢幕截圖,LXPanel 正在執行,
Alt
+F2
快捷方式(由 LXDE 中的 LXPanel 處理)應該可以工作並為您提供命令提示符,您可以在其中鍵入該命令。您可以嘗試連續多次重新啟動面板。如果重新啟動有時確實會導致面板失去其小元件,那麼問題一定是從配置文件中載入面板的配置。
您可以刪除配置文件以使用新的預設配置開始,看看它是否能解決您的問題。除非您更改它的名稱,否則預設配置文件應該
LXDE
在 Debian 上。(這與 Lubuntu 不同。)$ mv ~/.config/lxpanel/LXDE ~/.config/lxpanel/LXDE-backup $ lxpanelctl restart
如果您對面板進行了任何更改,但您想保留這些更改,則需要再次手動添加它們。逐漸將它們添加回來以查看是否有任何特定配置或小元件導致問題是有意義的。
LXPanel 是 Debian 10 全新安裝的 0.10.0 版本。如果您的版本不同,升級系統可能會出現問題。