Xfwm4 frequently fail to start at login

After an system update in February xfmw4 fails to start if the file
.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
exists at login.
This applies to every userprofile, even newly created ones.

If the file is removed before reboot/shutdown, xfwm4 starts up fine. (I suspect it sometimes dies at sleep/suspend, but most of the time it doesn’t.)

Is there any way to revert all packages to the versions that were installed prior to the system update in February? (and uninstall those that were new, and reinstall those that were uninstalled?)

I do have a feeling this is related to display driver, but I can’t explain why I think so.

At startup when xfwm4 has failed to start, the .xsession-errors looks like this:

(xfwm4:1190): Gdk-WARNING **: 17:23:49.860: The program 'xfwm4' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 2700 error_code 2 request_code 151 (GLX) minor_code 24)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

output of inxi --full --admin --filter --width

System:
  Kernel: 6.6.19-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/vmlinuz-6.6-x86_64
    root=UUID=c19de19e-0334-436b-abdb-5b1b7186b040 rw sysrq_always_enabled=1
    apparmor=1 security=apparmor
    resume=UUID=34df189e-17eb-4ffd-bd62-55f9055ef680 udev.log_priority=3
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 wm: xfwm4 v: 4.18.0
    with: xfce4-panel tools: light-locker,xfce4-screensaver vt: 7 dm: LightDM
    v: 1.32.0 Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: Hewlett-Packard product: HP EliteBook 8440p v: N/A
    serial: <filter> Chassis: type: 10 serial: <filter>
  Mobo: Hewlett-Packard model: 172B v: KBC Version 30.35 serial: <filter>
    part-nu: VQ664EA#ABN uuid: 9c5b917a-c5dc-11df-9cd0-c2011e0d6060
    BIOS: Hewlett-Packard v: 68CCU Ver. F.60 date: 11/11/2015
Battery:
  ID-1: BAT0 charge: 28.9 Wh (99.7%) condition: 29.0/29.0 Wh (100.0%)
    volts: 12.2 min: 10.8 model: Hewlett-Packard Primary type: Li-ion
    serial: <filter> status: not charging
CPU:
  Info: model: Intel Core i7 M 620 bits: 64 type: MT MCP arch: Westmere
    gen: core 1 level: v2 built: 2010-11 process: Intel 32nm family: 6
    model-id: 0x25 (37) stepping: 5 microcode: 0x7
  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: 4 MiB desc: 1x4 MiB
  Speed (MHz): avg: 1566 high: 2667 min/max: 1199/2667 boost: enabled
    base/boost: 2651/2666 scaling: driver: acpi-cpufreq governor: schedutil
    volts: 1.2 V ext-clock: 133 MHz cores: 1: 1199 2: 1199 3: 2667 4: 1199
    bogomips: 21290
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode;
    SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GT218M [NVS 3100M] vendor: Hewlett-Packard driver: nouveau
    v: kernel non-free: series: 340.xx status: legacy (EOL~2019-12-xx) last:
    release: 340.108 kernel: 5.4 xorg: 1.20 arch: Tesla process: 40-80nm
    built: 2006-2013 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 ports:
    active: eDP-1 empty: DP-1,DP-2,VGA-1 bus-ID: 01:00.0 chip-ID: 10de:0a6c
    class-ID: 0300 temp: 58.0 C
  Device-2: Chicony HP Webcam [2 MP Macro] driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-1.5:4
    chip-ID: 04f2:b15e class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.11 compositor: xfwm4 v: 4.18.0 driver:
    X: loaded: modesetting alternate: fbdev,vesa gpu: nouveau display-ID: :0.0
    screens: 1
  Screen-1: 0 s-res: 1600x900 s-dpi: 96 s-size: 423x238mm (16.65x9.37")
    s-diag: 485mm (19.11")
  Monitor-1: eDP-1 model: AU Optronics 0x123e built: 2009 res: 1600x900
    hz: 60 dpi: 132 gamma: 1.2 size: 309x174mm (12.17x6.85") diag: 355mm (14")
    ratio: 16:9 modes: max: 1600x900 min: 800x600
  API: EGL v: N/A platforms: active: N/A inactive: x11
  API: OpenGL Message: GL data unavailable for root.
Audio:
  Device-1: Intel 5 Series/3400 Series High Definition Audio
    vendor: Hewlett-Packard 5 driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:3b56 class-ID: 0403
  Device-2: NVIDIA High Definition Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:0be3 class-ID: 0403
  API: ALSA v: k6.6.19-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel 82577LM Gigabit Network vendor: Hewlett-Packard
    driver: e1000e v: kernel port: 6020 bus-ID: 00:19.0 chip-ID: 8086:10ea
    class-ID: 0200
  IF: enp0s25 state: down mac: <filter>
  Device-2: Intel Centrino Ultimate-N 6300 driver: iwlwifi v: kernel pcie:
    gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 44:00.0 chip-ID: 8086:4238
    class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  IF-ID-1: brfjt state: up speed: -1 duplex: unknown mac: <filter>
  IF-ID-2: brlyc state: up speed: -1 duplex: unknown mac: <filter>
  IF-ID-3: brprt state: up speed: -1 duplex: unknown mac: <filter>
  IF-ID-4: dumfjt state: unknown speed: N/A duplex: N/A mac: <filter>
  IF-ID-5: dumlyc state: unknown speed: N/A duplex: N/A mac: <filter>
  IF-ID-6: dumprt state: unknown speed: N/A duplex: N/A mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
RAID:
  Device-1: z type: zfs status: ONLINE level: linear raw: size: 193 GiB
    free: 132 GiB allocated: 61.5 GiB zfs-fs: size: 192.46 GiB free: 125.52 GiB
  Components: Online:
  1:
Drives:
  Local Storage: total: raw: 238.47 GiB usable: 430.93 GiB
    used: 88.14 GiB (20.5%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Micron model: MTFDBAK256MAG-1G1
    size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 0005 scheme: GPT
Partition:
  ID-1: / raw-size: 29.3 GiB size: 28.67 GiB (97.86%) used: 21.36 GiB (74.5%)
    fs: ext4 block-size: 4096 B dev: /dev/sda3 maj-min: 8:3
  ID-2: /boot raw-size: 200 MiB size: 185.9 MiB (92.97%)
    used: 140.6 MiB (75.6%) fs: ext2 block-size: 1024 B dev: /dev/sda2
    maj-min: 8:2
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: partition size: 15.62 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sda4 maj-min: 8:4
Sensors:
  System Temperatures: cpu: 55.0 C mobo: N/A gpu: nouveau temp: 58.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 6 GiB available: 5.65 GiB used: 2.06 GiB (36.5%)
  Processes: 279 Power: uptime: 20m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 2.25 GiB services: upowerd,xfce4-power-manager
    Init: systemd v: 255 default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1394 libs: 444 tools: pamac pm: flatpak pkgs: 0
    Compilers: clang: 16.0.6 gcc: 13.2.1 Shell: Bash (su) v: 5.2.26
    running-in: xfce4-terminal inxi: 3.3.33

This file is part of the default settings which are copied from /etc/skel when a new user is created.

I think you are looking in the wrong direction when you focus on the presence or content of this file.

Not worth the effort if you don’t have a backup which you can use to roll back. IMO.

It is worth noting that literally no one has got that problem - just you.

In the other thread it was found that you had (accidentally) removed some things - and may have only partially fixed it.

grep removed /var/log/pacman.log | less

grep PACMAN /var/log/pacman.log | less

arrow keys / page up/down to scroll

Also, the contents of /etc/skel on your system where (still are?) quite different from default.
… look at the shell config files and .xinitrc …

1 Like

As the problem came up in February, the relevant log looks like this

# grep removed /var/log/pacman.log |grep 2024
[2024-01-20T18:52:32+0100] [ALPM] removed nvidia-340xx-utils (340.108-1)
[2024-02-27T01:18:34+0100] [ALPM] removed grub-update (2.12rc1.r49.ge58b870ff-2)
[2024-02-27T01:18:34+0100] [ALPM] removed onevpl (2023.4.0-1)
[2024-02-27T01:18:34+0100] [ALPM] removed bashrc-manjaro (5.2.021-1)
[2024-02-27T02:53:11+0100] [ALPM] removed linux67-zfs (2.2.2-8)
[2024-02-27T02:53:14+0100] [ALPM] removed linux67-headers (6.7.4-2)
[2024-02-27T02:53:14+0100] [ALPM] removed linux67-virtualbox-host-modules (7.0.14-6)
[2024-02-27T02:53:14+0100] [ALPM] removed linux67 (6.7.4-2)
[2024-03-15T23:41:56+0100] [ALPM] removed pamac-gtk (11.7.1-1)
[2024-03-15T23:41:56+0100] [ALPM] removed pulseaudio-zeroconf (17.0-3)
[...]

Reason for linux67 stuff removed is that after problem was discovered, the first thing I did was to try new kernel. As that didn’t change anything I reverted that install. So if problem is related to any removed package, iit most be one of these: grub-update, onevpl or bashrc-manjaro
I doubt any of those could be the cause.

Next we look for PACMAN

# grep PACMAN /var/log/pacman.log |tail -8
[2023-12-18T18:57:20+0100] [PACMAN] Running '/usr/bin/pacman --noconfirm --noprogressbar -R linux514 linux514-virtualbox-host-modules'
[2024-02-27T01:24:51+0100] [PACMAN] Running '/usr/bin/pacman --noconfirm --noprogressbar -S linux67 linux67-virtualbox-host-modules linux67-headers linux67-zfs'
[2024-02-27T02:53:11+0100] [PACMAN] Running '/usr/bin/pacman --noconfirm --noprogressbar -R linux67 linux67-virtualbox-host-modules linux67-headers linux67-zfs'
[2024-02-27T03:05:15+0100] [PACMAN] Running '/usr/bin/pacman --noconfirm --noprogressbar -S linux61 linux61-zfs linux61-headers linux61-virtualbox-host-modules'
[2024-03-15T23:38:07+0100] [PACMAN] Running 'pacman -Syu --needed avahi networkmanager networkmanager-openconnect networkmanager-openvpn networkmanager-pptp networkmanager-vpnc nss-mdns ntp mobile-broadband-provider-info modemmanager openresolv openssh samba usb_modeswitch grub-btrfs alsa-firmware alsa-utils ffmpeg gst-libav gst-plugins-bad gst-plugins-base gst-plugins-good gst-plugins-ugly libdvdcss manjaro-alsa manjaro-gstreamer manjaro-pipewire android-tools android-udev gvfs gvfs-afc gvfs-gphoto2 gvfs-mtp gvfs-nfs gvfs-smb mtpfs udiskie udisks2 ttf-dejavu noto-fonts adobe-source-sans-pro-fonts adobe-source-han-sans-jp-fonts adobe-source-han-sans-kr-fonts adobe-source-han-sans-cn-fonts terminus-font pamac-gtk3 lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings accountsservice exo garcon thunar thunar-volman tumbler xfce4-appfinder xfce4-panel xfce4-power-manager xfce4-session xfce4-settings xfce4-terminal xfconf xfdesktop xfwm4 blueman ffmpegthumbnailer freetype2 gnome-keyring libgsf libopenraw xfce4-screensaver network-manager-applet menulibre poppler-glib thunar-archive-plugin thunar-media-tags-plugin xfce4-battery-plugin xfce4-clipman-plugin xfce4-notifyd xfce4-screenshooter xfce4-taskmanager xfce4-whiskermenu-plugin xfce4-xkb-plugin xfce4-pulseaudio-plugin pavucontrol gnome-themes-standard grub-theme-manjaro matcha-gtk-theme xcursor-simpleandsoft xcursor-vanilla-dmz-aa plymouth plymouth-theme-manjaro bash-completion dmidecode engrampa gcolor3 gparted gufw htop inxi manjaro-hello manjaro-application-utility manjaro-settings-manager manjaro-settings-manager-notifier mousepad mugshot powertop screenfetch evince p7zip unace unrar manjaro-browser-settings xf86-input-elographics xf86-input-evdev xf86-input-libinput xf86-input-void libva-intel-driver libva-mesa-driver libva-vdpau-driver mesa-utils numlockx xdg-user-dirs xorg-server xorg-twm xorg-xinit xorg-xkill xorg-mkfontscale perl-file-mimeinfo xdg-desktop-portal-gtk xdg-utils gtkhash-thunar xiccd'
[2024-03-15T23:38:07+0100] [PACMAN] synchronizing package lists
[2024-03-15T23:38:56+0100] [PACMAN] starting full system upgrade

I can’t see any problem with this.

Now I’ll copy /etc/skel from my other pc and create a new user… and still the same problem. Except that only 2 desktops are started (the settings I use on the other pc).
Delete .config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml and reboot - then this new user get a running WM.

Could anyone with a updated xfce installation post the content of their /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml please?

Here you go

to get it (the browser will not show it nicely):
wget https://0x0.st/Xz5K.xml

This file is part of the package:
manjaro-xfce-minimal-settings

Is there a command to “factory reset” the manjaro installation? By that I mean, install/reinstall all packages that would come with a default new installation. Reset all configs to default manjaro installation. But don’t do anything with partitions that are not mounted (I’ll unmount partitions with data I don’t want to be deleted before I try this)

I guess that was what this command tried to do:
(generated by: bash <(curl -s https://gitlab.com/cscs/mapare/-/raw/main/mapare) -ID )

[2024-03-15T23:38:07+0100] [PACMAN] Running 'pacman -Syu --needed avahi networkmanager networkmanager-openconnect networkmanager-openvpn networkmanager-pptp networkmanager-vpnc nss-mdns ntp mobile-broadband-provider-info modemmanager openresolv openssh samba usb_modeswitch grub-btrfs alsa-firmware alsa-utils ffmpeg gst-libav gst-plugins-bad gst-plugins-base gst-plugins-good gst-plugins-ugly libdvdcss manjaro-alsa manjaro-gstreamer manjaro-pipewire android-tools android-udev gvfs gvfs-afc gvfs-gphoto2 gvfs-mtp gvfs-nfs gvfs-smb mtpfs udiskie udisks2 ttf-dejavu noto-fonts adobe-source-sans-pro-fonts adobe-source-han-sans-jp-fonts adobe-source-han-sans-kr-fonts adobe-source-han-sans-cn-fonts terminus-font pamac-gtk3 lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings accountsservice exo garcon thunar thunar-volman tumbler xfce4-appfinder xfce4-panel xfce4-power-manager xfce4-session xfce4-settings xfce4-terminal xfconf xfdesktop xfwm4 blueman ffmpegthumbnailer freetype2 gnome-keyring libgsf libopenraw xfce4-screensaver network-manager-applet menulibre poppler-glib thunar-archive-plugin thunar-media-tags-plugin xfce4-battery-plugin xfce4-clipman-plugin xfce4-notifyd xfce4-screenshooter xfce4-taskmanager xfce4-whiskermenu-plugin xfce4-xkb-plugin xfce4-pulseaudio-plugin pavucontrol gnome-themes-standard grub-theme-manjaro matcha-gtk-theme xcursor-simpleandsoft xcursor-vanilla-dmz-aa plymouth plymouth-theme-manjaro bash-completion dmidecode engrampa gcolor3 gparted gufw htop inxi manjaro-hello manjaro-application-utility manjaro-settings-manager manjaro-settings-manager-notifier mousepad mugshot powertop screenfetch evince p7zip unace unrar manjaro-browser-settings xf86-input-elographics xf86-input-evdev xf86-input-libinput xf86-input-void libva-intel-driver libva-mesa-driver libva-vdpau-driver mesa-utils numlockx xdg-user-dirs xorg-server xorg-twm xorg-xinit xorg-xkill xorg-mkfontscale perl-file-mimeinfo xdg-desktop-portal-gtk xdg-utils gtkhash-thunar xiccd'

No.

You can create a list of everything that is currently installed - and then feed it to pacman to have it re-install it.
If anything in /etc was changed by you, the reinstallation should produce files with the same name, but with the .pacsave extension.
But you’ll probably know what you changed yourself, so this would be overkill.
Normally, you don’t change anything there …

bash <(curl -s https://gitlab.com/cscs/mapare/-/raw/main/mapare) -IA

and input xfce at the prompt.
This will ensure you have the same packages that come with a normal install.

Thank you.
It was exactly like the one I had, except I have a first line

<?xml version="1.0" encoding="UTF-8"?>

Now I’ll try, instead of deleting xfwm4.xml before logout, I’ll copy new from skel before login…

the file I uploaded has this exact first line as well - use
wget https://0x0.st/Xz5K.xml
to get it and don’t use a browser to open it …


not just this one file - the whole of /etc/skel
You already made a backup, if I recall correctly. So there can be no permanent harm.
And remove /home/user/.cache as well …

I did take it from browser, just to run diff. As it’s identical except for the first line, I conclude that there is no issue with the one I have.

Copying xfwm4.xml from skel directory before login, did cause the WM to fail at start.

Now trying mapare…

adjust ownership when copying as root …
just saying

I did check ownership.
cp with owerwrite did keep ownership of the overwritten file. No need to adjust

Does the mapare overwrite every file installed or run some kind of integrity check? (I’m thinking in case there is some bit-error in the installed files)

mapare did output some warnings/errors. Anything to worry about?

[...]
(10/25) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.1-x86_64 -g /boot/initramfs-6.1-x86_64.img --microcode /boot/amd-ucode.img --microcode /boot/intel-ucode.img
==> Starting build: '6.1.80-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.1-x86_64.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.1-x86_64 -g /boot/initramfs-6.1-x86_64-fallback.img -S autodetect --microcode /boot/amd-ucode.img --microcode /boot/intel-ucode.img
==> Starting build: '6.1.80-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.1-x86_64-fallback.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64.img --microcode /boot/amd-ucode.img --microcode /boot/intel-ucode.img
==> Starting build: '6.6.19-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.6-x86_64.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64-fallback.img -S autodetect --microcode /boot/amd-ucode.img --microcode /boot/intel-ucode.img
==> Starting build: '6.6.19-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.6-x86_64-fallback.img'

gzip: stdout: No space left on device
bsdtar: Write error
bsdtar: Write error
==> ERROR: Image generation FAILED: 'bsdtar (step 1) reported an error'
error: command failed to execute correctly
(11/25) Reloading system bus configuration...
[...]

yes

You now may have no kernel to boot with - the process did not finish.

Uninstalled an old kernel and ran mapare again.
Now there was just the warnings about possible missing firmware

pacdiff -o
only lists grub and pacman. Should not affect how the pc runs. (grub has resume from hibernate, pacman has reduced number of parallel downloads)

New test user - same problem

Since you ran out of space a minute ago - is there enough of it?
root has got 5% more than regular users on default ext4 file systems …

Is a problem in multiple ways, and will continue to be until you free up some space.
I dont know what cruft is all on your system … videos, browser cache, SNAPs?
This will get rid of all uninstalled package cache, and all but 2 of installed cache;

paccache -rvuk0
paccahce -rvk2

EDIT.

Oh, looking, its specifically your boot partition thats rather full?

In that case the above package cache wont have any impact.

You will want to look at what is using the space … lots of kernels?
Or ultimately you may even need to provide more for the partition, if there is not much to clean.

/boot has about 100mb free after removal of not used kernel. Shouldn’t not be a problem.
root has several GB free.

What kind of settings is used when xfwm4.xml does not exist? I’d like to compare this to the file in /etc/skel. I’d expect the config that is used as running config when the file doesn’t exist is the settings that is written to xfwm4.xml at login when the file doesn’t exist at login. But then - why does WM fail to start when this autogenerated file is present?
Could it be permissions issue? Trying

chmod -R go+rw /home/test8/.config/xfce

still the same issue

This won’t even work - the directory name is: /home/test8/.config/xfce4
You should have received an error message in response to your command.

also - verify whether what you did had the desired effect:
ls -al /home/test8/.config/xfce4

Is it the correct owner?

I think you are looking at the wrong thing when you persist focusing on that one file.

You can even launch a working session totally without /home/user/.config/xfce4
Nothing at all.
You’ll still get a working session, the default session, which you can configure yourself.
It looks ugly (a matter of taste) - but it works.

I will recommend installing and using mc one more time.
It will make everything more transparent than the sole use of command line is - especially when you are not in a graphical session but in a TTY or terminal.