Skip to content

Commit 2f5bb9f

Browse files
authored
Document login loop fix after package installation
Added troubleshooting steps for login loop issues after package installation or system updates in Fedora.
1 parent 9df24d6 commit 2f5bb9f

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

_articles/fedora.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,5 +396,29 @@ sudo dnf install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-rel
396396
sudo dnf swap ffmpeg-free ffmpeg --allowerasing
397397
```
398398

399+
### Login loop after installing a package or a system update
400+
401+
After installing a package (e.g. SimpleScreenRecorder), the system reboots into a login loop. Some startup music might play briefly but then the system returns to the login screen. Multiple KDE processes (plasmashell, kded6, kaccess, org_kde_powerdevil, xwaylandvideobridge) are all crashing with `qt_assert(char const*, char const*, int)`.
402+
403+
Probable cause: A system update was interrupted mid-way (e.g. by a reboot), leaving Qt6 and KDE Frameworks packages in a partially updated, inconsistent state. To investigate, drop to a TTY with `Ctrl+Alt+F2`, log in, then run:
404+
405+
```sh
406+
journalctl -b | grep -i "core\|crash\|signal" | tail -30
407+
# If every KDE process is dying with the same `qt_assert` error, it's a broken Qt library, not a configuration issue.
408+
```
409+
410+
Try running: `sudo dnf clean all && sudo dnf distro-sync --allowerasing`. (`distro-sync` resolves dependency conflicts and completes any interrupted updates. The `--allowerasing` flag allows it to remove conflicting packages as needed.) Reboot after completion.
411+
412+
If KDE config is also corrupted (desktop loads but crashes immediately):
413+
414+
```sh
415+
mv ~/.config/plasma-org.kde.plasma.desktop-appletsrc ~/.config/plasma-org.kde.plasma.desktop-appletsrc.bak
416+
mv ~/.config/kwinrc ~/.config/kwinrc.bak
417+
mv ~/.config/plasmashellrc ~/.config/plasmashellrc.bak
418+
```
419+
420+
Log out and back in. KDE will regenerate these from defaults. Restore from `.bak` files afterwards if you want your customisations back.
421+
422+
399423
[searchprovider]: https://developer.gnome.org/SearchProvider/
400424
[nano]: https://fedoraproject.org/wiki/Changes/UseNanoByDefault

0 commit comments

Comments
 (0)