This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE Connect 1.3.5 can't find device

Tags: None
(comma "," separated)
bdju
Registered Member
Posts
2
Karma
0

KDE Connect 1.3.5 can't find device

Sun May 17, 2020 1:25 pm
I'm running NixOS Unstable with the kdeconnect package. I'm using Sway (Wayland) for my environment.
My phone is a OnePlus 2 running LineageOS.
Neither device can find the other via KDE Connect software. I can ssh into my PC from my phone via hostname, so connecting between them in general should be fine. I'm not running a firewall that I know of on the PC. I've allowed all the app permissions on my phone.
Code: Select all
> kdeconnect-cli -l
0 devices found

Here's an error(?) I get that may be a hint.
Code: Select all
> kdeconnect-indicator
QSocketNotifier: Can only be used with threads started with QThread
Using Wayland-EGL


I have never used KDE Connect before now, so I'm not sure if I've found a bug or if I'm doing something wrong.
Any help would be appreciated!
bdju
Registered Member
Posts
2
Karma
0
I have solved the issue. It seems that on NixOS the firewall is enabled by default, I have to explicitly disable it, or allow through certain ports. Here is what I tried.
First, disabling the whole firewall to see if I could then see my other device.
Code: Select all
networking.firewall.enable = false;


That worked, so then I set it back to true and tried some other options that were recommended to me.
Code: Select all
networking.firewall.allowedTCPPortRanges = [ { from = 1714; to = 1764; } ];
networking.firewall.allowedUDPPortRanges = [ { from = 1714; to = 1764; } ];


After this, my pair has continued to work, so I think it's save to say all is well now.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]