Troubleshooting KDE Connect: Fedora KDE to iOS¶
Issue: KDE Connect fails to pair or discover devices (specifically iPhones) on Fedora KDE Plasma, even after adding firewall rules to the home zone.
Tested on: Fedora 44 KDE Plasma
Root Causes:
- Fedora's active network interface defaults to
FedoraWorkstationorpubliczones, causinghomezone rules to be ignored. - Fedora (Plasma 6) utilizes D-Bus activation for KDE Connect; standard
systemctlrestart commands will fail if the daemon is killed. - iOS aggressively filters UDP broadcast packets, often requiring manual IP configuration.
Step 1: Clear Stale Configurations¶
Start from a clean slate by killing any hung processes and backing up the old configuration files.
Step 2: Apply Firewall Rules to the Correct Zones¶
Fedora defaults active connections to FedoraWorkstation or public. Apply the KDE Connect service rules to these zones instead of home.
sudo firewall-cmd --permanent --zone=FedoraWorkstation --add-service=kdeconnect
sudo firewall-cmd --permanent --zone=public --add-service=kdeconnect
sudo firewall-cmd --reload
Verification: Check your active zone with firewall-cmd --get-active-zones to ensure your interface (e.g., wlan0) is covered by the zones above.
Step 3: Restart the KDE Connect Daemon¶
Because Fedora uses D-Bus for KDE Connect, systemctl --user restart plasma-kdeconnect.service will return an error. Use the direct executable or D-Bus refresh instead.
Option A (Direct execution):
Option B (Trigger via D-Bus):
Verification: Run kdeconnect-cli -l. If it outputs a list of devices (even if it says 0 devices found) without a D-Bus error, the daemon is successfully running.
Step 4: Force iOS Pairing via IP Address (If Auto-Discovery Fails)¶
If the firewall is open and the daemon is running but the iPhone still cannot see the Fedora machine, bypass UDP broadcast restrictions by directly inputting the local IP.
- Retrieve the Fedora machine's local IP address:
(Note the IPv4 address assigned to your active connection, e.g., 192.168.8.x on a GL.iNet router).
- Open the KDE Connect app on the iPhone.
- Tap the three-dot menu (top right corner).
- Select Add device by IP.
- Input the Fedora machine's IPv4 address and initiate pairing.
Sources & Verification:
- Commands utilize standard Fedora Linux native tooling (
firewalldfor port management,iproute2for network queries). - Daemon paths reflect the official KDE Plasma 6 file system hierarchy (
/usr/libexec/kdeconnectd). - Workarounds for iOS discovery align with KDE Connect official documentation for Apple devices.