I have trouble with kdeconnect

I have trouble with kdeconnect

Postby egoitzro » Sep 13th, '15, 23:53

Hello, I installed Kdeconnect from Magiea repositories , and I'm having troubles, it seems that does not run, because I run "netstat -epntl" to view the listening port on my pc and the program does not appear

Code: Select all
[egoitz@Mageia ~ (master)]$ qdbus org.kde.kded /kded loadModule kdeconnect
true
[egoitz@Mageia ~ (master)]$ kbuildsycoca4 -noincremental
kbuildsycoca4 running...
kbuildsycoca4(23456) VFolderMenu::loadDoc: Parse error in  "/home/egoitz/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu" , line  1 , col  1 :  "unexpected end of file"
[egoitz@Mageia ~ (master)]$ sudo netstat -epntl     
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name   
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      0          18174      7003/smbd           
tcp        0      0 0.0.0.0:5355            0.0.0.0:*               LISTEN      990        18481      2184/systemd-resolv
tcp        0      0 0.0.0.0:50639           0.0.0.0:*               LISTEN      0          17108      5919/rpc.mountd     
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          16969      5575/rpcbind       
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      0          24254      5559/httpd         
tcp        0      0 0.0.0.0:57520           0.0.0.0:*               LISTEN      0          17928      5919/rpc.mountd     
tcp        0      0 0.0.0.0:49810           0.0.0.0:*               LISTEN      0          18899      5919/rpc.mountd     
tcp        0      0 127.0.0.1:7634          0.0.0.0:*               LISTEN      0          15546      1167/hddtemp       
tcp        0      0 127.0.0.1:8307          0.0.0.0:*               LISTEN      0          19331      6396/vmware-hostd   
tcp        0      0 127.0.0.1:5939          0.0.0.0:*               LISTEN      0          24838      5756/teamviewerd   
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      65534      19282      6893/proftpd: (acce
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          20869      5650/sshd           
tcp        0      0 0.0.0.0:631             0.0.0.0:*               LISTEN      0          18932      5560/cupsd         
tcp        0      0 0.0.0.0:3128            0.0.0.0:*               LISTEN      0          23224      6932/(squid-1)     
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      0          24535      6811/master         
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      0          19322      6396/vmware-hostd   
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      0          18172      7003/smbd           
tcp        0      0 0.0.0.0:36509           0.0.0.0:*               LISTEN      0          20187      -                   
tcp        0      0 0.0.0.0:2049            0.0.0.0:*               LISTEN      0          20173      -                   
tcp        0      0 0.0.0.0:902             0.0.0.0:*               LISTEN      0          21546      4015/vmware-authdla
tcp        0      0 0.0.0.0:903             0.0.0.0:*               LISTEN      0          22959      5825/rpc.rquotad   
tcp        0      0 0.0.0.0:42183           0.0.0.0:*               LISTEN      980        17888      5678/rpc.statd     
tcp        0      0 127.0.0.1:10026         0.0.0.0:*               LISTEN      0          26670      6811/master         
[egoitz@Mageia ~ (master)]$
egoitzro
 
Posts: 36
Joined: Nov 16th, '13, 15:40

Re: I have trouble with kdeconnect

Postby Ken-Bergen » Sep 14th, '15, 01:57

From what I can see you answered your own question.
netstat is a CLI program so if you run it from "Run Command" it has nowhere to output the information.
When you ran it in a terminal it did give you information.

Or am I missing something?
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: I have trouble with kdeconnect

Postby doktor5000 » Sep 14th, '15, 07:11

You loaded the module, but is kdeconnect actually running in the systray? Right-click the systray -> system tray settings and check the box for kdeconnect, then it will appear in system tray.
It does listen on a few ports actually, but you should at least see the TCP port. You might need to add -u to netstat query as it also listens for UDP connections.

Code: Select all
[doktor5000@Mageia5]─[07:07:02]─[~] sudo netstat -tunelp | grep -i kdeconnect                                                                                                                                     
tcp        0      0 0.0.0.0:1714            0.0.0.0:*               LISTEN      1000       12566965   30710/kdeconnectd   
udp        0      0 0.0.0.0:45031           0.0.0.0:*                           1000       12566966   30710/kdeconnectd   
udp        0      0 0.0.0.0:1714            0.0.0.0:*                           1000       12566964   30710/kdeconnectd   
[doktor5000@Mageia5]─[07:08:42]─[~]


For more information on kdeconnect, check https://wiki.mageia.org/en/File_transfe ... KDEConnect
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: I have trouble with kdeconnect

Postby egoitzro » Sep 14th, '15, 09:34

I run "sudo netstat -tunelp | grep -i kdeconnect" but the output is empty
Last edited by egoitzro on Sep 14th, '15, 13:59, edited 2 times in total.
egoitzro
 
Posts: 36
Joined: Nov 16th, '13, 15:40

Re: I have trouble with kdeconnect

Postby egoitzro » Sep 14th, '15, 09:35

Ken-Bergen wrote:From what I can see you answered your own question.
netstat is a CLI program so if you run it from "Run Command" it has nowhere to output the information.
When you ran it in a terminal it did give you information.

Or am I missing something?


netstat is command to run in a terminal, if you like to see the output information
egoitzro
 
Posts: 36
Joined: Nov 16th, '13, 15:40

Re: I have trouble with kdeconnect

Postby doktor5000 » Sep 14th, '15, 18:35

Seems you ignored the important part:
doktor5000 wrote:You loaded the module, but is kdeconnect actually running in the systray? Right-click the systray -> system tray settings and check the box for kdeconnect, then it will appear in system tray.


Also check if the kdeconnect service is running, can be done via systemsettings -> startup and shutdown -> service manager or directly via
Code: Select all
kcmshell4 kcmkded
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: I have trouble with kdeconnect

Postby egoitzro » Sep 14th, '15, 20:08

kdeconnect.png
exekutatzen is runing in basque
kdeconnect.png (703.39 KiB) Viewed 2505 times
I run "kcmshell4 kcmkded" and when "KDE control module" opens I can see that kdeconnect is running, and in system tray i have enabled kdeconnect, but when i run the commands you say me in a previous post, the output is empty
egoitzro
 
Posts: 36
Joined: Nov 16th, '13, 15:40

Re: I have trouble with kdeconnect

Postby doktor5000 » Sep 14th, '15, 20:42

Sorry, cannot reproduce. Just tested in a clean VM, and running kbuildsycoca4 --noincremental to make KDE aware of the new service, the service was automatically running and it listens.

Code: Select all
[user@localhost ~]$ sudo netstat -tunelp | grep -i kdeconnect
[user@localhost ~]$ sudo urpmi kdeconnect-kde
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch
(medium "Core Release")
  kdeconnect-kde                 0.8          1.mga5        x86_64
  lib64fakekey0                  0.1          8.mga5        x86_64
  lib64kdeconnectcore1           0.8          1.mga5        x86_64
  lib64kdeconnectinterfaces1     0.8          1.mga5        x86_64
  sshfs-fuse                     2.5          3.mga5        x86_64  (recommended)
1.4MB of additional disk space will be used.
462KB of packages will be retrieved.
Proceed with the installation of the 5 packages? (Y/n)

    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/release/lib64kdeconnectcore1-0.8-1.mga5.x86_64.rpm
    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/release/kdeconnect-kde-0.8-1.mga5.x86_64.rpm
    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/release/lib64kdeconnectinterfaces1-0.8-1.mga5.x86_64.rpm
    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/release/sshfs-fuse-2.5-3.mga5.x86_64.rpm
    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/release/lib64fakekey0-0.1-8.mga5.x86_64.rpm
installing sshfs-fuse-2.5-3.mga5.x86_64.rpm lib64fakekey0-0.1-8.mga5.x86_64.rpm lib64kdeconnectcore1-0.8-1.mga5.x86_64.rpm lib64kdeconnectinterfaces1-0.8-1.mga5.x86_64.rpm kdeconnect-kde-0.8-1.mga5.x86_64.rpm from /var/cache/urpmi/rpms 
Preparing...

      1/5: lib64kdeconnectinterfaces1
      2/5: lib64kdeconnectcore1 
      3/5: lib64fakekey0
      4/5: kdeconnect-kde
      5/5: sshfs-fuse 
[user@localhost ~]$ sudo netstat -tunelp | grep -i kdeconnect
[user@localhost ~]$ kbuildsycoca4 --noincremental
kbuildsycoca4 running...
[user@localhost ~]$ sudo netstat -tunelp | grep -i kdeconnect
tcp        0      0 0.0.0.0:1714            0.0.0.0:*               LISTEN      1000       85840      22981/kdeconnectd   
udp        0      0 0.0.0.0:37410           0.0.0.0:*                           1000       85841      22981/kdeconnectd   
udp        0      0 0.0.0.0:1714            0.0.0.0:*                           1000       85839      22981/kdeconnectd   
[user@localhost ~]$


Maybe you should try to logout/login or a reboot in between.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: I have trouble with kdeconnect

Postby egoitzro » Sep 14th, '15, 22:32

I have also tried it on a virtual machine and it has worked, I prove to reinstall because did not work at the physical machine
egoitzro
 
Posts: 36
Joined: Nov 16th, '13, 15:40

Re: I have trouble with kdeconnect

Postby doktor5000 » Sep 15th, '15, 07:24

Maybe you can check in the journal and in .xsession-errors if there are any issues (first command needs to be run as root)
Code: Select all
journalctl -ab | grep -i kdeconnect
grep -i kdeconnect ~/.xsession-errors


You can also try to delete ~/.kde4/share/config/kdeconnectrc and ~/.kde4/share/apps/kdeconnect and stop and start the service again to see if that helps.

Otherwise you might need to ask upstream at https://forum.kde.org/
Found something similar there: https://forum.kde.org/viewtopic.php?f=22&t=122066
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Networking

Who is online

Users browsing this forum: DiBosco and 1 guest

cron