On 04/26/2014 09:56 AM, Timothy Murphy wrote:
I'm trying to "KDE connect" my Fedora-20/KDE laptop and my Samsung Galaxy S2 phone (Android version 4.1.2). I've followed the instructions in http://xmodulo.com/2014/01/integrate-android-kde-linux-desktop.html meticulously. Every thing works fine, but at the final step (Pairing)
Launch KDE Connect on Android. You should see the hostname of your KDE desktop listed under "Not paired devices".
I do not see my desktop, or anything else, listed.
Wireshark shows that the phone sends an identifying packet, but I don't see any evidence that the laptop sends anything.
As hinted in the other followup, the firewall is getting in the way.
I usually just set the network to the "trusted" zone (though I'm having trouble getting kde-connect to actually do anything since upgrading the phone to 0.6)
-- rex
On Sat, 26 Apr 2014 17:46:00 +0200, Rex Dieter rdieter@fedoraproject.org wrote:
On 04/26/2014 09:56 AM, Timothy Murphy wrote:
I'm trying to "KDE connect" my Fedora-20/KDE laptop and my Samsung Galaxy S2 phone (Android version 4.1.2). I've followed the instructions in http://xmodulo.com/2014/01/integrate-android-kde-linux-desktop.html meticulously. Every thing works fine, but at the final step (Pairing)
Launch KDE Connect on Android. You should see the hostname of your KDE desktop listed under "Not paired devices".
I do not see my desktop, or anything else, listed.
Wireshark shows that the phone sends an identifying packet, but I don't see any evidence that the laptop sends anything.
As hinted in the other followup, the firewall is getting in the way.
I usually just set the network to the "trusted" zone (though I'm having trouble getting kde-connect to actually do anything since upgrading the phone to 0.6)
-- rex
Me too, can't get to see why, the ports of both the phone and the pc are definitely open but the devices just don't see each other in the application. I suspect there's something wrong with the broadcast messages. I'm not a kde-connect developer though.
Anyway, the strange thing is, there is no difference between the Fedora package and the upstream package and it seems the upstream devs are using it just fine...
Rex Dieter wrote:
I'm trying to "KDE connect" my Fedora-20/KDE laptop and my Samsung Galaxy S2 phone (Android version 4.1.2). I've followed the instructions in http://xmodulo.com/2014/01/integrate-android-kde-linux-desktop.html meticulously. Every thing works fine, but at the final step (Pairing)
Launch KDE Connect on Android. You should see the hostname of your KDE desktop listed under "Not paired devices".
I do not see my desktop, or anything else, listed.
As hinted in the other followup, the firewall is getting in the way.
How can you be so sure, if it is not working for you? Actually, I don't have firewalld running on my laptop, and shorewall on my server seems to allow all communication on my local LAN.
I usually just set the network to the "trusted" zone (though I'm having trouble getting kde-connect to actually do anything since upgrading the phone to 0.6)
I've checked again, and my phone sends one UDP packet to port 1714. This port does not seem to be open on my laptop: [tim@rose ~]$ sudo nmap -sU 127.0.0.1 shows some UDP ports open on my LAP (eg dhcp, ntp) but not this one. But I am able to telnet this port: [tim@rose ~]$ telnet 127.0.0.1 1714 Connected to 127.0.0.1.
In fact I don't see any evidence that clicking on the KDE Connect icon (in System Settings) has any effect at all, eg in /var/log/messages . Is one meant to do anything apart from click on this icon (and re-start KDE Connect on the phone)?
On 04/28/2014 08:36 AM, Timothy Murphy wrote:
Rex Dieter wrote:
I'm trying to "KDE connect" my Fedora-20/KDE laptop and my Samsung Galaxy S2 phone (Android version 4.1.2). I've followed the instructions in http://xmodulo.com/2014/01/integrate-android-kde-linux-desktop.html meticulously. Every thing works fine, but at the final step (Pairing)
Launch KDE Connect on Android. You should see the hostname of your KDE desktop listed under "Not paired devices".
I do not see my desktop, or anything else, listed.
As hinted in the other followup, the firewall is getting in the way.
How can you be so sure, if it is not working for you? Actually, I don't have firewalld running on my laptop, and shorewall on my server seems to allow all communication on my local LAN.
I usually just set the network to the "trusted" zone (though I'm having trouble getting kde-connect to actually do anything since upgrading the phone to 0.6)
I've checked again, and my phone sends one UDP packet to port 1714. This port does not seem to be open on my laptop: [tim@rose ~]$ sudo nmap -sU 127.0.0.1 shows some UDP ports open on my LAP (eg dhcp, ntp) but not this one. But I am able to telnet this port: [tim@rose ~]$ telnet 127.0.0.1 1714 Connected to 127.0.0.1.
In fact I don't see any evidence that clicking on the KDE Connect icon (in System Settings) has any effect at all, eg in /var/log/messages . Is one meant to do anything apart from click on this icon (and re-start KDE Connect on the phone)?
What does this show on the desktop?
netstat -nap|grep 1714
Patrick Boutilier wrote:
I'm trying to "KDE connect" my Fedora-20/KDE laptop and my Samsung Galaxy S2 phone (Android version 4.1.2). I've followed the instructions in http://xmodulo.com/2014/01/integrate-android-kde-linux-desktop.html meticulously. Every thing works fine, but at the final step (Pairing)
Launch KDE Connect on Android. You should see the hostname of your KDE desktop listed under "Not paired devices".
I do not see my desktop, or anything else, listed.
What does this show on the desktop?
netstat -nap|grep 1714
------------------------------- [tim@rose ~]$ sudo netstat -nap | grep 1714 tcp 0 0 0.0.0.0:1714 0.0.0.0:* LISTEN 1171/kdeconnectd udp 0 0 255.255.255.255:1714 0.0.0.0:* 1171/kdeconnectd unix 2 [ ACC ] STREAM LISTENING 17140 435/kdm /var/run/xdmctl/dmctl-:0/socket unix 3 [ ] STREAM CONNECTED 17144 807/-:0 unix 3 [ ] STREAM CONNECTED 17146 468/X @/tmp/.X11-unix/X0 unix 3 [ ] STREAM CONNECTED 17143 435/kdm unix 3 [ ] STREAM CONNECTED 17145 435/kdm unix 3 [ ] STREAM CONNECTED 17142 807/-:0 -------------------------------
On 04/28/2014 10:32 AM, Timothy Murphy wrote:
Patrick Boutilier wrote:
I'm trying to "KDE connect" my Fedora-20/KDE laptop and my Samsung Galaxy S2 phone (Android version 4.1.2). I've followed the instructions in http://xmodulo.com/2014/01/integrate-android-kde-linux-desktop.html meticulously. Every thing works fine, but at the final step (Pairing)
Launch KDE Connect on Android. You should see the hostname of your KDE desktop listed under "Not paired devices".
I do not see my desktop, or anything else, listed.
What does this show on the desktop?
netstat -nap|grep 1714
[tim@rose ~]$ sudo netstat -nap | grep 1714 tcp 0 0 0.0.0.0:1714 0.0.0.0:* LISTEN 1171/kdeconnectd udp 0 0 255.255.255.255:1714 0.0.0.0:* 1171/kdeconnectd unix 2 [ ACC ] STREAM LISTENING 17140 435/kdm /var/run/xdmctl/dmctl-:0/socket unix 3 [ ] STREAM CONNECTED 17144 807/-:0 unix 3 [ ] STREAM CONNECTED 17146 468/X @/tmp/.X11-unix/X0 unix 3 [ ] STREAM CONNECTED 17143 435/kdm unix 3 [ ] STREAM CONNECTED 17145 435/kdm unix 3 [ ] STREAM CONNECTED 17142 807/-:0
Looks like what I have and I can pair my Nexus 5. Let's look at your iptable rules again.
iptables -L -nv
And for a quick test does it work when you put in this rule?
iptables -I INPUT -j ACCEPT
That will allow everything of course but if it works you know that iptable rules are the issue.
Patrick Boutilier wrote:
Let's look at your iptable rules again.
Mea culpa. I was running firewalld as well as the old iptables/system-config-firewall. (I sort of thought installing firewalld would disable the old system, which I think I am still using on this laptop because I have always upgraded Fedora on it.)
Now I've got phone and laptop paired, and I shall read the documentation to see where to go from here.
Thanks for your - and others' - efforts to put me on the right path.