Bug 357768 - When two pc have the same user name kdeconnet doesn't find any device to pair
Summary: When two pc have the same user name kdeconnet doesn't find any device to pair
Status: RESOLVED NOT A BUG
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-09 23:58 UTC by Valerio De Angelis
Modified: 2016-01-10 09:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Valerio De Angelis 2016-01-09 23:58:55 UTC
Fedora 23, Kdeconnect 0.9.3

I'm experimenting pc <-> laptop connection through KDE connect, however I'm facing one issue:
it seems like both pc and laptop are considered as 1 device, one time a pair request appears on the laptop screen, one time in the pc screen.

My configuration is:
1) valerio@valerio-laptop (laptop device name)
2) valerio@valerio-casa (pc device name)

The root of the problem seems be the user name, that is the same on both the devices. If I change the user (such as "test" user in the laptop) I can see the pc in the laptop device list window, ready to make a pair request.

To me, it sounds like a bug because one user can have multiple devices with the same user name. So kdeconnect should not use only the user name to identify a device, but also the host name or such.

Thanks.

Reproducible: Always

Steps to Reproduce:
1. Create a user in device 1 and call it TEST
2. Create a user in device 2 and call it TEST
3. Log in bth the devices with the TEST user and try to pair the two devices

Actual Results:  
It is impossible pair the two pc if the user name is the same

Expected Results:  
One user can have multiple devices inside the same LAN and kdeconnect should pair all of them without problems.
Comment 1 Albert Vaca Cintora 2016-01-10 09:37:37 UTC
The user name is only used to show it to the user and never to identify a device, so it can't be the cause of the issue. Each device has a unique id, randomly generated on first run, that identifies it. This problem could happen if you copied your config files from one system to the other: then the unique identifier would be the same.