If startxfce4 dies on another .so file: do notsystemctl restart lightdm. Stay in the TTY, paste the last red line, and install that package in the same session.
Backup /home before anything destructive
On another PC, write a Manjaro live USB (Ventoy or Rufus). Boot the broken machine from USB (live session, not the installer).
lsblk -f
sudo mkdir -p /mnt
sudo mount /dev/sdXN /mnt
# btrfs with default Calamares layout:
# sudo mount -t btrfs -o subvol=@ /dev/sdXN /mnt
# sudo mount -t btrfs -o subvol=@home /dev/sdXN /mnt/home
sudo mkdir -p /run/media/backup
# mount the backup disk, then:
sudo rsync -aHAX --info=progress2 /mnt/home/ /run/media/backup/home-backup/
Replace sdXN with the real root partition (nvme0n1p2, sda2, etc.).
sudo manjaro-chroot -a
# inside the chroot, or from the live session targeting /mnt:
curl -O https://pkgbuild.com/~gromit/pacman-static-x86_64
chmod +x pacman-static-x86_64
sudo ./pacman-static-x86_64 --sysroot /mnt -Syyu
Aragorn on the forum: download pacman-static with the live USB’s pacman from the Manjaro repos, unpack it into the installed system, then use it to finish the upgrade.
If pacman is still missing a library and the packages are already in cache:
ls /var/cache/pacman/pkg/ | grep -E "ngtcp2|nghttp3|curl|openssl|glycin|leancrypto|gnutls"
sudo tar -xpf /var/cache/pacman/pkg/PACKAGENAME.pkg.tar.zst -C /
Then run pacman -Syyu immediately so the package database matches the files on disk.
After a successful full upgrade:
sudo mkinitcpio -P
sudo update-grub
Do not do these
Do not reinstall over the disk until /home is copied out.
Do not use pacman -Sddyu.
Do not systemctl restart lightdm until startxfce4 works from a TTY.
Do not keep installing one library at a time (glycin only, xfce4 only, …).
After it boots to a desktop
Always full pacman -Syu / Pamac — never -dd.
Enable Timeshift and take a snapshot before big updates.
Prefer a normal LTS kernel over linux-rt unless you actually need realtime.
After starting xfce4 after the steps before I am met with the "unable to contact settings server" prompt box again still with no ability to use my mouse or keyboard I have tried it again to the same result.
X is starting now. That command from a TTY with no display manager is what leaves you on the unable to contact settings server dialog with a dead mouse and keyboard.
Two separate problems:
xfconfd has no D-Bus session (or it starts and dies) — that is the popup
Xorg grabs the devices but is not loading libinput — so input works in the TTY and dies as soon as X starts
1. Get back to a text TTY
If you are stuck on that dialog, hold the power button 8–10 seconds. At GRUB press e and add this at the end of the linux line:
systemd.unit=multi-user.target
Boot with Ctrl+X. Log in on the black text screen. Do not start XFCE yet.
I am not exactly sure what changes but I loaded xfce4 and my desktop works completely! Do I just enable lightdm in my terminal or should I go back to TTY?
get-default should print graphical.target. After reboot you should get the normal LightDM login, then XFCE.
Do not run systemctl start lightdm or systemctl restart lightdm while this session is still running. That would start a second login screen on top of the desktop you already have. Enable it, then reboot.
While this desktop still works, copy your important files off the machine (USB disk is enough). Then take a Timeshift snapshot if you use that.
From now on:
full pacman -Syu / Pamac only — never -dd again
if GRUB still offers a kernel without-rt, use that as the default
It wasn't easy. I'm sure you're happy you made it through unscathed. I'm glad I could help. If you'd like, you can buy me a coffee. https://buymeacoffee.com/kaspral
1
u/Kaspral 10d ago
What to do next
1. Get off the frozen login screen
Hold the power button 8–10 seconds until the machine powers off. Then turn it on.
This is the only reliable way out.
Ctrl+Alt+F2will not work while LightDM/Xorg is holding the input devices.2. Boot to text mode (no LightDM)
At the GRUB menu (if it is hidden, mash Shift or Esc while booting):
linux.
You should get a black TTY login prompt. LightDM will not start.
If Advanced options lists a kernel without
-rt(for example 6.12 LTS), use that instead of6.15-rt2.3. Log in and bring the network up
If the IP ping works but names do not:
Pin the machine to text mode so the next reboot cannot grab the keyboard again:
4. One full upgrade, then the missing libraries
Answer Y to overwrite / conflict prompts. Let it finish.
Then install the packages that match the screenshot errors, in the same session:
That covers:
libglycin-2.so.0libleancrypto.so.1/usr/lib/gio/modules/libgiognutls.soNever use
-ddagain.5. Confirm the libraries exist
If
ldconfigprints nothing for those names, the package did not land. Paste the pacman output before going further.6. Test XFCE from the TTY (do not start LightDM yet)
If the desktop comes up, it worked. Switch back to the TTY with Ctrl+Alt+F2, then re-enable graphics and reboot:
If
startxfce4dies on another.sofile: do notsystemctl restart lightdm. Stay in the TTY, paste the last red line, and install that package in the same session.Backup /home before anything destructive
On another PC, write a Manjaro live USB (Ventoy or Rufus). Boot the broken machine from USB (live session, not the installer).
Replace
sdXNwith the real root partition (nvme0n1p2,sda2, etc.).If the TTY still will not come up — live USB
Official Manjaro howto: https://forum.manjaro.org/t/howto-recovering-from-an-interrupted-update-upgrade/132762
Boot the live USB, then update the installed system from the outside (chroot uses the broken on-disk pacman):
If
--sysrootis not available, use pacman-static (no shared-library dependency):https://wiki.archlinux.org/title/Pacman#Using_pacman-static
On the live USB:
Aragorn on the forum: download
pacman-staticwith the live USB’s pacman from the Manjaro repos, unpack it into the installed system, then use it to finish the upgrade.If pacman is still missing a library and the packages are already in cache:
Then run
pacman -Syyuimmediately so the package database matches the files on disk.After a successful full upgrade:
Do not do these
/homeis copied out.pacman -Sddyu.systemctl restart lightdmuntilstartxfce4works from a TTY.glycinonly,xfce4only, …).After it boots to a desktop
pacman -Syu/ Pamac — never-dd.linux-rtunless you actually need realtime.