
TL;DR: Restoring from a backup didn't help, so I'm not sure if I might have missed something I should have restored, or if somehow Xfce itself is damaged. I read all the posts in this group which I thought could apply, all the way back to the end of 2023, but didn't see anything applicable.
It happens about once in every three blue moons that Xfce suddenly loses a great deal of its config, with your entire desktop gone (no background or icons) and the panel empty of almost everything. Clicking on anything that is on the panel leads to a please wait animation that doesn't stop, while any clicking on the desktop does nothing. Logging out requires Ctrl+Alt+Backspace to be activated, which takes me back to the display manager login screen. Sometimes I need to do another Ctrl+Alt+Backspace there for it not to have the power button options greyed out.
This has been happening to me for years, and across many different machines, kernels, and distros.
In the past I'd correct this by not being logged in from the GUI, going to a VT as the problem user, and running "rm -Rf ~/.cache/sessions/*".
Now, that did nothing.
First, QSI from a VT:
Code: Select all
Snapshot created on: 20240815_1306
System:
Kernel: 6.1.0-37-amd64 [6.1.140-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-37-amd64 root=UUID=<filter> ro quiet splash
resume=UUID=<filter> resume_offset=66183168
Console: pty pts/0 DM: LightDM v: 1.32.0 Distro: MX-23.6_x64 Libretto August 15 2024
base: Debian GNU/Linux 12 (bookworm)
Machine:
Type: Laptop System: HP product: HP 250 G4 Notebook PC v: Type1ProductConfigId
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: HP model: 8135 v: 31.37 serial: <superuser required> UEFI: Insyde v: F.20
date: 02/23/2016
Battery:
ID-1: BAT1 charge: 18.6 Wh (100.0%) condition: 18.6/32.1 Wh (57.9%) volts: 16.1 min: 14.6
model: Hewlett-Packard PABAS0241231 type: Li-ion serial: <filter> status: full
CPU:
Info: model: Intel Core i5-6200U bits: 64 type: MT MCP arch: Skylake gen: core 6 level: v3
note: check built: 2015 process: Intel 14nm family: 6 model-id: 0x4E (78) stepping: 3
microcode: 0xF0
Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache: L1: 128 KiB
desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 3 MiB desc: 1x3 MiB
Speed (MHz): avg: 455 high: 622 min/max: 400/2800 scaling: driver: intel_pstate
governor: powersave cores: 1: 400 2: 400 3: 622 4: 400 bogomips: 19200
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Hewlett-Packard driver: i915 v: kernel
arch: Gen-9 process: Intel 14n built: 2015-16 ports: active: eDP-1 empty: DP-1,HDMI-A-1,HDMI-A-2
bus-ID: 00:02.0 chip-ID: 8086:1916 class-ID: 0300
Device-2: Cheng Uei Precision Industry (Foxlink) HP Webcam type: USB driver: uvcvideo
bus-ID: 1-5:4 chip-ID: 05c8:022a class-ID: 0e02 serial: <filter>
Display: server: X.org v: 1.21.1.7 compositor: Compton v: 1 driver: X: loaded: modesetting
unloaded: fbdev,vesa dri: iris gpu: i915 tty: 100x57
Monitor-1: eDP-1 model: LG Display 0x0465 built: 2014 res: 1366x768 dpi: 101 gamma: 1.2
size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9 modes: 1366x768
API: OpenGL Message: GL data unavailable in console. Try -G --display
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard driver: snd_hda_intel
v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_skl bus-ID: 00:1f.3 chip-ID: 8086:9d70
class-ID: 0403
API: ALSA v: k6.1.0-37-amd64 status: kernel-api tools: alsamixer,amixer
Server-1: PipeWire v: 1.0.0 status: active (process) with: 1: pipewire-pulse status: active
2: wireplumber status: off 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Hewlett-Packard
driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 4000 bus-ID: 01:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
Device-2: Realtek RTL8723BE PCIe Wireless Network Adapter vendor: Hewlett-Packard
driver: rtl8723be v: kernel modules: wl pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000
bus-ID: 02:00.0 chip-ID: 10ec:b723 class-ID: 0280
IF: wlan0 state: down mac: <filter>
Bluetooth:
Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 bus-ID: 1-4:3
chip-ID: 0bda:b006 class-ID: e001 serial: <filter>
Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 2.1 lmp-v: 4.0
sub-v: 9f73 hci-v: 4.0 rev: e2f
Info: acl-mtu: 820:8 sco-mtu: 255:16 link-policy: rswitch hold sniff park
link-mode: peripheral accept
Drives:
Local Storage: total: 447.13 GiB used: 271.01 GiB (60.6%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Apacer model: AS330 480GB size: 447.13 GiB block-size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 7PD0 scheme: GPT
Partition:
ID-1: / raw-size: 446.88 GiB size: 438.79 GiB (98.19%) used: 271.01 GiB (61.8%) fs: ext4
dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
dev: /dev/sda1 maj-min: 8:1
Swap:
Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: file size: 5.72 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
ID-2: swap-2 type: zram size: 256 MiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 27.0 C pch: 22.5 C mobo: N/A
Fan Speeds (RPM): N/A
Fan Speeds (RPM): N/A
Repos:
Packages: pm: dpkg pkgs: 2184 libs: 1077 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
pkgs: 0 pm: flatpak pkgs: 0
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/kopia.list
1: deb [signed-by=/etc/apt/keyrings/kopia-keyring.gpg] http://packages.kopia.io/apt/ stable main
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb https://mirrors.aliyun.com/mxlinux/mx/repo/ bookworm main non-free
Info:
Processes: 152 Uptime: 1h 55m wakeups: 2 Memory: 3.72 GiB used: 733.9 MiB (19.2%) Init: SysVinit
v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
Shell: quick-system-in default: Bash v: 5.2.15 running-in: pty pts/0 (SSH) inxi: 3.3.26
Boot Mode: UEFI
Code: Select all
/home/user/.config/xfce4/desktop/accels.scm
/home/user/.config/xfce4/desktop/icons.screen0.yaml
/home/user/.config/xfce4/panel/launcher-13/17496707101.desktop
/home/user/.config/xfce4/panel/launcher-13/17496714411.desktop
/home/user/.config/xfce4/panel/launcher-14/17496707102.desktop
/home/user/.config/xfce4/panel/launcher-14/17496714422.desktop
/home/user/.config/xfce4/panel/launcher-15/17496707103.desktop
/home/user/.config/xfce4/panel/launcher-15/17496714423.desktop
/home/user/.config/xfce4/panel/launcher-16/17496707104.desktop
/home/user/.config/xfce4/panel/launcher-16/17496714424.desktop
/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml
/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml
/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
/home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml
As a result I simply restored the following directory trees:
Code: Select all
/home/user/.cache/xfce4
/home/user/.config/xfce4
/home/user/.config/xfce4-session
/home/user/.config/xfce-superkey
Sadly, this left me with a functionally unchanged machine, so all I can think of is that I did not restore from every location I should have. Does anyone know what other than the above four directory trees should also have been restored?
Also, I did not have enough time before leaving for work to create another user and see if Xfce itself is working.