![]() Registered Member ![]()
|
Hi,
since I was unable to find an official support channel for kdeconnect, I give it a shot here. Some months ago, I first installed kdeconnect on my Debian (Unstable) system, using the official unstable repository. It worked out of the box (connecting to my Phone, Samsung i9100). Then I changed the default name of my Phone from within the Android app. From this point on, my configuration was botched. Both applications (the one on KDE & on the phone) are even unable to see each other. I purged both applications and reinstalled them several times, to no avail. I even deleted all *kdeconnect* files I could find by hand: $ qdbus org.kde.kded /kded unloadModule kdeconnect $ kbuildsycoca4 -noincremental $ rm /home/user1/kde/share/config/kdeconnectrc $ rm -r /home/user1/.kde/share/apps/kdeconnect $ qdbus org.kde.kded /kded loadModule kdeconnect $ kbuildsycoca4 -noincremental ...with no error messages, but still to no avail. Probably there are more configuration files somewhere, but I can't find them. So, how exactly do I completely wipe the kdeconnect user configuration in ordner to give it a fresh start? Btw, I have another test user on my Debian box, where kdeconnect does work flawless (I connected the machines after I switched back to the default phone name). Any suggestions much appreciated! Tom |
![]() Administrator ![]()
|
Are there any problems with the device pairing? It may help to unpair and repair it to try to restore the connectivity.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
The devices do not seem to be paired (with my main user). The Android app only shows the pairing with my test user (testuser@debianbox). The counterpart in KDE (main user) looks like this: http://pbrd.co/1swgQGC No option to do anything at all. And I already tried to remove user config files in ~/.kde, as stated above... unless I miss some files which do not contain *kdeconnect* in their filenames... |
![]() Administrator ![]()
|
You should be able to manage pairing of devices using the Bluetooth icon in the system tray.
When you are removing the KDE Connect configuration, do you have it running? One possibility is that the change is not being detected because the configuration has already been read. To avoid this, could you try removing the KDE Connect configuration outside of KDE (at a virtual terminal)?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
I guess I've found the main problem: kdeconnect seems to dislike multiple running user sessions.
I did not make extensive tests, but I found out that when I first login to my Linux box as user1, then in addition as user2, then most of the time (almost always) user2 cannot see the android device with kdeconnect (likewise from the Android device) - it just doesn't get listed. The same applies to the Android device, it can't see user2's session on the Linux box. I can cope with that, but it seems to be a bug (or at least something which could be improved). Now how to report it? Edit: I forgot to mention the most important part ![]() When I switch the user login ordner, ie. first login as user2, then user2 is the lucky winner - visibility of the devices is always given, whereas the second user (user1) mostly is "invisible". |
![]() Administrator ![]()
|
Which session is active when you are performing these tests (ie. is user2 the one currently on screen, or is it user1)?
Also, do both users use KDE Connect, or does only one user use it?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
It does not matter which KDE session is currently active. Whatever User is the first to login to KDE has mutual visibility (and connectivity) between the KDE session and Android device.
One user uses it, the second just for testing purposes. Whoever logs in to KDE first, can see the Android counterpart (and vice versa). If the pairing is done, and the users happens to login as the second user afterwards, then KDE Connect (on KDE) looks like this: http://pbrd.co/1kVnLS9 ...and on the Android device, the KDE session is not visible (only the other KDE session of the user who logs in first). |
![]() Administrator ![]()
|
Can you please provide the output of "netstat -epntl"?
It appears likely that KDEConnect is dependent on listening on a given TCP port - which only process can do at a time (therefore, limiting usage of it to one user).
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
$ netstat -epntl (on first user starting KDE; kdeconnect visible)
$ netstat -epntl (on second user starting KDE; kdeconnect invisible)
Hope it helps! |
![]() Administrator ![]()
|
Interesting - it seems to have compensated by using a different port. When configuring the mobile application, do you have to specify port numbers or anything along those lines?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Ahem... not sure if I understand you correctly, but I can't find any place where to specify a port number. The device name is pretty much the only thing I can specify, at least that I'm aware of...
|
![]() Administrator ![]()
|
Okay, I suspected as much. I'm afraid only the KDEConnect developer will be able to assist in resolving this issue - it would appear that KDEConnect is able to handle multiple users to a certain extent though...
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Try this . . .
On your cellphone(s) remove KDEConnect under App Info > Force stop, Clear cache, Clear data, Uninstall. On your computer do a "complete" uninstall of KDEConnect (ie. hopefully getting rid of any configuration data) On your computer re-install KDEConnect. Re-install KDEConnect on your cellphone. |
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]