KDE Connect Failed to execute command kcmshell5 kcm_kdeconnect

Hi:

I installed KDE Connect so I can communicate with my Android tablet.

When I launch the KDE Connect Setting app to connect and sync my device I get this error:

failed to execute command kcmshell5 kcm_kdeconnect
failed to execute child process kcmshell5 no such file or directory

This is greek to me and I don’t understand what is wrong or missing.

Any idea what I could try to get KDE Connect to work?

I figured it out. I needed kde-cli-tools5 in order for kcmshell5 to be pulled in to make KDE Connect work.

The tablet is now connected to my Open Suse Desktop and uploading. Now I just have to figure out where the app is downloading the files to:-

Looked in the /tmp directory, downloads, music, videos and all other directories on my system.
I could not find those files that KDE Connect on the Android tablet gave me confirmation that they were sent to my Open Suse desktop pc.

I made sure to install KDE Connect on the Desktop and it works.

The KDE Connect folder is empty. I’m stumped as to where those files are. Now I’m beginning to think it didn’t work.

For now connecting my Android table with the cable that came with it allows me to copy and paste the files I need.

I used to use Air Droid but that doesn’t work anymore.

Anyone have any ideas?

I don’t own Android hardware to ply with so unfortunately can’t provide direct help. Firewall issue perhaps? I can only refer you to this guide

https://en.opensuse.org/SDB:KDE_Connect#Troubleshooting

If you don’t get the help that you need here, consider seeking help via the mailing list linked there.

kde connect works fine for me on 2 kitkat devices (android version shouldn’t matter)
a few things to consider
your error looks strange how did you install kde connect?
zypper and yast should install all dependencies automatically kde-cli-tools5 aren’t needed by kde-connect
where (and how maybe you used rpm) did you install kde connect from I use the vanilla build from oss

zypper se -si kdeconnect-kde

another thing did you white list the kdeconnect-service in openSUSE’s firewall (this is done in Yast), if you didn’t no files will be shared
can you browse your device storage with dolphin?
afaik files send usually end up in $HOME\kdeconnect\

Once you installed the openSUSE package, go Yast - Security - Firewall - Allowed services. From the dropdown, pick KDEconnect , click add and don’t forget to restart the firewall with these new rules

I installed kde connect through Yast from here:
https://software.opensuse.org/search?utf8=✓&q=kde+connect&search_devel=false&search_unsupported=false&baseproject=openSUSE%3ALeap%3A42.2

I didn’t install kde connect kde-4 tho:-

NO, I didn’t whitelist the kdeconnect-service in Open Suse’s firewall. I’m not sure how.

Yes, I can browse my device storage with Dolphin when the Android tablet it plugged into the desktop.

I’ll work on what you have advise me tomorrow and let you know what happens.

Refer Knurpht’s instructions - post #6.

if you didn’t white list the service you couldn’t pair the device
a fun fact about kde-connect is that it allows pairing android devices without a kde desktop running :slight_smile:
so you can share files and notifications between 1 androids not sure if it works between 2 pc’s it should

I followed your directions and restarted the firewall. I restarted it by clicking on ‘Firewall’ and saw that kde connect was added.

This time the file transfer was really fast but I don’t have /home/KDE/Connect anywhere.

I must be doing something wrong?

Are the transferred files from Android to Linux PC not located in ~/Downloads?
https://ctrl.blog/entry/review-kde-connect#section-kdeconnect-fileio

Yes, they are not located in ~/Downloads.

The DE I’m running is XFCE. I don’t need to install the KDE DE do I?

Here’s a screenshot to show you what I did in the Firewall settings.

I’m not sure if your devices are paired
the default storage for received files is ~/Downloads and it can be changed
https://paste.opensuse.org/images/70000970.png

afaik kde-connect was developed with plasma desktop in mind but it does work with other environments I tried it with lxqt and it worked fine
you might need to start the kde-connect monitor (background service)
https://paste.opensuse.org/images/41027650.png
The thing with using other desktops is that they don’t use the kde control panel and you need that to configure (pair your devices)
so openup a terminal and run

systemsettings

in the Hardware section click on the KDE Connect icon and pair/configure your device

From what I can tell (see screenshot) the devices ‘are paired’ and the path to where the files should be going has been set to the Downloads directory in the /home of the user.
[http://i1052.photobucket.com/albums/s447/Ultimatecat/Screenshot_2017-07-13_12-57-36.png

I tried systemsetting in the konsole as regular user and as root:

c@ZTmachine:~> systemsettings
bash: systemsettings: command not found](http://i1052.photobucket.com/albums/s447/Ultimatecat/Screenshot_2017-07-13_12-57-36.png)

I tried launching the KDE Connect Indicator Settings (settings panel for KDE Connect indicator) and it doesn’t launch.:frowning:

And your repos please ???

zypper lr -d
Repository priorities in effect:                (See 'zypper lr -P' for details)
      90 (raised priority)  :  1 repository  
      97 (raised priority)  :  2 repositories
      98 (raised priority)  :  2 repositories
      99 (default priority) :  6 repositories
     115 (lowered priority) :  3 repositories

1 | Google-chrome                       | Google-chrome                      | Yes     | (r ) Yes  | Yes     |  115     | rpm-md | https://dl.google.com/linux/chrome/rpm/stable/x86_64                                   |        
 2 | Google-talkplugin                   | Google-talkplugin                  | Yes     | (r ) Yes  | Yes     |  115     | rpm-md | https://dl.google.com/linux/talkplugin/rpm/stable/x86_64                               |        
 3 | Packman-all_Leap-42.2               | Packman-all_Leap-42.2              | Yes     | (r ) Yes  | Yes     |   90     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_42.2/                     |        
 4 | Skype                               | Skype                              | Yes     | (r ) Yes  | Yes     |  115     | rpm-md | http://download.opensuse.org/repositories/home:/XRevan86:/non-free/openSUSE_Leap_42.2/ |        
 5 | http-download.opensuse.org-1c0bbb66 | home:Bajoja                        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/Bajoja/openSUSE_Leap_42.2/             |        
 6 | http-download.opensuse.org-5bf04e26 | Education                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Education/openSUSE_Leap_42.2/                |        
 7 | http-download.opensuse.org-8f2844eb | openSUSE:Leap:42.2:Update          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Leap:/42.2:/Update/standard/       |        
 8 | http-download.opensuse.org-b9017846 | home:AndnoVember:test              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/AndnoVember:/test/openSUSE_Leap_42.2/  |        
 9 | http-download.opensuse.org-cdc45dec | home:alteratio:Themes              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/alteratio:/Themes/openSUSE_Leap_42.2/  |        
10 | http-download.opensuse.org-fa2cf583 | openSUSE:Leap:42.2                 | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.2/repo/oss/                          |        
11 | openSUSE-Leap-42.2_OSS              | openSUSE-Leap-42.2_OSS             | Yes     | (r ) Yes  | Yes     |   98     | rpm-md | http://download.opensuse.org/distribution/leap/42.2/repo/oss/suse/                     |        
12 | openSUSE-Leap-42.2_OSS-updates      | openSUSE-Leap-42.2_OSS-updates     | Yes     | (r ) Yes  | Yes     |   97     | rpm-md | http://download.opensuse.org/update/leap/42.2/oss/                                     |        
13 | openSUSE-Leap-42.2_non-OSS          | openSUSE-Leap-42.2_non-OSS         | Yes     | (r ) Yes  | Yes     |   98     | yast2  | http://download.opensuse.org/distribution/leap/42.2/repo/non-oss/                      |        
14 | openSUSE-Leap-42.2_non-OSS-updates  | openSUSE-Leap-42.2_non-OSS-updates | Yes     | (r ) Yes  | Yes     |   97     | rpm-md | http://download.opensuse.org/update/leap/42.2/non-oss/ 

You’re using home:/ repos which are developers’ ones. Things in those repos will break stuff, since they’re supposed to break in those repos , not in the distro’s. That could be an issue. I don’t have any issues with KDEconnect, neither on 42.2, nor 42.3, nor Tumbleweed. All using the same homedir or a fresh one.

Before we could say anything substantial, some further investigation is necessary.

Could you create a new user, then logout and login as that new user and check whether things work for this new user? If it does work for the new user, the problem’s somewhere in your own user’s homedir, if it fails the same way, something’s wrong with your system

I created a new user in Yast.
Be back in a few minutes to try KDE Connect with the new user.

Those repo’s are from a fresh installation of Gecko Linux. Should I add or delete repo’s?

I did ask you where kde-connect was from?

zypper se -si kdeconnect

I still think your devices are not talking to each other
this is the Firewall rule you need to create in
Yast->Security and Users->Firewall
https://i.imgur.com/PJjoPd9.png
can you post a screenshot from kde-connect on your android (Power+Vol down buttons)
if your devices are talking to each other you should see your PC in your droid
https://i.imgur.com/9bIBrTQ.png