Adding my experience in case it helps others landing here, as I had the same symptom (Dolphin frozen for 20–30 s on every launch, file pickers too), and Gwenview also affected. The testparm “Weak crypto is allowed by GnuTLS” line turned out to be a red herring on my system; there were three separate causes.
System
-
Fedora 44 KDE Plasma (Wayland), kernel 7.1.13-200.fc44
-
Intel i9-14900K, RTX 4070 Ti SUPER (NVIDIA proprietary driver), 64 GB DDR5
-
Samba running with a share for a libvirt Windows VM
How I tracked it down
Timestamped Qt debug logging, then looking for the biggest gaps:
QT_MESSAGE_PATTERN="%{time hh:mm:ss.zzz} %{category}: %{message}" \
QT_LOGGING_RULES="*.debug=true" dolphin > ~/dolphin-full.log 2>&1
awk '{split($1,t,"[:.]"); s=t[1]*3600+t[2]*60+t[3]+t[4]/1000; if (p && s-p>1) {printf "\n=== %.1fs gap ===\nBEFORE: %s\nAFTER: %s\n", s-p, prev, $0}; if (t[4]!="") {p=s; prev=$0}}' ~/dolphin-full.log
The line before each gap shows what the app was waiting on. Note that time dolphin showed almost no CPU use, so it was waiting, not working.
Cause 1: duplicate fstab entry for an NTFS drive (~20 s, Dolphin + Gwenview)
The same NTFS partition was in /etc/fstab twice: once read-only at /run/media/…, once as an automount at /mnt/… KDE’s Places code touches every mount on startup, which triggered the automount; it can’t mount an already-mounted NTFS partition a second time, so it failed after 10 s, twice. The journal showed it clearly:
journalctl -b | grep -iE "automount|dependency"
# mnt-archive4tb.automount: Got automount request ... triggered by gwenview
# Dependency failed for mnt-archive4tb.mount
A quick way to spot a slow mount:
findmnt -rn -o TARGET | while read -r m; do m=$(printf '%b' "$m"); s=$(date +%s%N); timeout 30 stat -f "$m" >/dev/null 2>&1; e=$(date +%s%N); echo "$(( (e-s)/1000000 )) ms $m"; done | sort -rn | head
Fix: commented out the duplicate line, then systemctl daemon-reload.
Cause 2: Dolphin’s Samba sharing plugin calling net usershare info (~24 s)
Right after the testparm log line, Dolphin runs net usershare info, which took 24 s. I had an old leftover usershare as well. Note that Fedora’s samba-usershares package adds include = /etc/samba/usershares.conf to smb.conf, which overrides any usershare max shares you set in [global].
Fix: set usershare max shares = 0 in /etc/samba/usershares.conf, restarted smb, and ran net usershare delete . (Removing kdenetwork-filesharing also works if you don’t use right-click sharing.)
Cause 3: interfaces = virbr0 in smb.conf (~8 s)
net was still taking 8 s just to say “usershares are currently disabled”. strace showed it waiting on systemd-resolved, and sudo resolvectl monitor revealed it was looking up virbr0 as a hostname. The LLMNR lookup took ~4 s to fail, and it happened twice.
Fix: used the bridge’s address instead of its name:
interfaces = lo 192.168.122.1/24
Result
Dolphin and Gwenview both open instantly again.
A note on how this was done
I’m a retired engineer rather than a Linux specialist, so I worked through this interactively with Anthropic’s Claude AI assistant. It suggested each diagnostic command, and I ran them and pasted back the output. It took a few wrong turns (Samba crypto, the portal, snapd, and even a BIOS update were all ruled out along the way), but the “measure the gap, see what’s on the line before it” approach got me there in the end.