-
Notifications
You must be signed in to change notification settings - Fork 37
"Browse device" not working #10
Comments
@GoodGuyNick i think the problem is sftp, from nautilus based file manager, because i test on dolphin and it work great. |
I think it only works on dolphin, because I tested on pcmanfm, thunar and double commander. |
In this case we have to wait for some fix on sftp, or wharever the problem is. |
If someone know what the sftp problem or how to fix it, let me know. |
Same problem on elementary os 0.4 |
Does this project use code from Primitive FTP? I ask this because I've been having issues with Primative FTP (unable to browse my device), which I figure may or may not be related. |
@tsjnachos117 the SFTP is on KDEConnect level so i'm not sure what code they use but i think they use SFTP over SSH |
I'm on LXLE 16.04.1 Eclectica, I can only get the Browse Device to work this Dolphin as well. Nautilus support would be cool, as I install that from DropBox support. Nautilus seems to have sftp support but my phone doesn't seem to be exposing any ports which is quite right but how the hell does KDEconnect speak to it from the PC?!! Oh well at least Dolphin works by copying and pasting the URL from the duff link in pcman and pasting into Dolphin |
@Bajoja Primitive FTP can use either FTP or SFTP. It comes pre-configured to do both, although I like to disable FTP. @markcross I'm on Ubuntu 16.04.1, and I can't browser my Galaxy S6 at all, not even with Dolphin. Just out of curiosity, what happens if you use PCManFM to browse ~/.config/kdeconnect/(insert your device's ID-thing here)/kdeconnect_sftp/(your device's ID-thing again)/? |
It's interesting how some people managed with androids higher than 4.4 in nautilus, I only get in nautilus with androids 4.4 and lower, does any android privacy policy is influencing? |
I don't use Nautilus, but I do use Nemo, which is fairly similar. I've only tried using this app on an Android 5.1 device. I do have an old Moterolla Droid Razr HD Android 4.1.2 phone, so maybe I'll try using that. I'll also try on my CyannogenMod Tablet (Samsung Galaxy 2 Tab), which runs CM 12.1 (which is based on Android 5.1). Maybe CM will have different results than regular Android. |
Hmm... I get the same results on all of my devices. My Galaxy S6 (Android 5.1) with stock firmware, my Razr HD with root (Android 4.1.2), and my tablet (Cyanogenmod 12.1) all refuse to let me browse the device. |
Oh my god this is more serious than i imagined ... |
IDK if this holds any relevance, but I should mention I only tested Dolphin with my S6. On my other devices, I only used Nemo. If it's any consolation, everything else KDE Connect is supposed to do seems to work perfectly well. |
I just get a blank window with no file / folder listing Huawei H60L04 on H60L04C900B521 - Android 5.1.1 |
The Android 4.4 that I test and work, is a Huawei to. |
Hi all for those who have problem with phone browsing: make sure to have installed sshfs that should be an optional dependency for both kdeconnect and openSSH. Without it it's impossible to browse your device becouse KC is based on sshfs for remote browsing according to its source. |
I install both but still not working |
Same here. I've been using sshfs to transfer files between computers since before I had even heard of KDE Connect (I also sometimes use scp, but mounting a remote directory often makes file transfers more convenient). I do have a theory: maybe KDE Connect tries to remotely access the wrong folder. On my device, /sdcard works well with Primitive FTP, but the directories inside /storage do not. If KDE Connect also uses something in /storage, maybe that's the problem. I'll bet sime Android distros (I don't like calling them "ROMs") handle /storage partitions differently than others. I f so, that could explain why KC's file browsing works on your Android 4.4 Huawei device while refusing to work on mine: your system handles partitions differently then mine. Of course, my theory could be wrong. |
I'm sorry guys i hoped it would have been so simple: by the way i'm using it on Arch plus nemo and it's working good with android 7. |
Maybe there's another package needed and we are missing that. |
I've tested it with a Oneplus 3 and on nexus 5x the first with Archlinux with nemo file manager the second, on another machine, with Archlinux and mate desktop (compiled with gtk3 to be clear) that should use caja (?) : both are working fine.
which distro are you using? |
I use Fedora 25 with Gnome, so Nautilus as file manager |
Well the only different with kdeconnect on arch and fedora ( speaking of dependencies) is kwayland that is called "kf5-kwayland" am i wrong? |
I'm using Ubuntu 16.04. I have the 64-bit version installed, which may be a factor. I have one machine running Arch, but I can't use it for more than 2-3 minuets (barely long enough to boot) before it freezes and/or kernel panics (video driver bug), so I can't test KDE Connect until the bug gets resolved. |
Just downloaded Ubuntu live 16.10: for me it's working also here. Well have you try directly with kde? Just for test what happens there? I'm not able to reproduce this bug. I will try with other phones on the next days. |
My DE is Cinnamon and I primarily use Nautilus. I just used KDE for testing and before I couldn't really find anything. I've tried multiple times even after rebooting. |
I use Arch Linux, sometimes it work, sometimes not. |
@Bajoja Yep, I use Internally, think kdeconnect send a temporary password with user 'kdeconnect' but that's never exposed in the interface. |
If this works in Dolphin, it must be a Nautilus problem, maybe the way it lists directories over SSHFS. I thought maybe the server class in the Android app had changed, but I don't think it has. In my newer extension I do it almost exactly how KDE Connect does and I still get crashes in the top-level directory. https://github.com/andyholmes/gnome-shell-extension-gsconnect/blob/master/src/service/plugins/sftp.js#L127 |
@andyholmes thanks, the way you pointed solve the problem, i will launch a new version with the browse of the paths getted from the Dbus method getDirectory, it will be optional and it can be enabled on settings. |
The last commit should solve the problem, just compile and install it, then go to settings and enable the option to show directories instead of broswe device and voilá. |
I am experiencing this issue on Manjaro with Plasma, trying to connect to a Galaxy S5 with Google Android, but only when Thunar is set as the default file manager (i.e. If I set Plasma to prefer Dolphin, all works as it should). Each attempt to connect to the device creates a new directory and throws an error 'A folder named /home/user/.cache/kioexec/krun/randomNum/ already exists.' that the directory already exists. I am able to send data back and forth over CLI, notifications work properly, etc. |
Not working for me on Kubuntu 18.04 with xiaomi 8 after clicking "All FIles", shows |
I get a message saying that /home/user/.cache/kioexec/krun// already exists when i try to browse my phone, this number changes each time i try to browse the phone and deleting the folder does not help. |
Apparently this feature only works with Dolphin… |
On ubuntu 18.04 adding backports ppa and upgrading to kde connect 1.3.3 solved the problem |
Rolling back to KDE Connect 1.8.4 from F-droid fixed it. |
Could it be related to this issue from 2015?
It's much slower than it used to be but I'm happy that it works at all. 😉 |
@C0rn3j Is Dolphin your only/default file browser? |
Neither only or default, default is Nautilus. I don't see the device in Nautilus at all. |
Then that’s your issue. Only Dolphin works with KDE Connect. |
If that is true then kdeconnect should make that button open Dolphin, not try whatever is the default file manager only to throw an error. If you are correct, you should be able to reproduce it by associating Nautilus in mimeapps ~/.config/mimeapps.list
|
Well, more importantly KDE Connect should be made working with other files browsers. But anyway, this is not the right place for this. |
Actually, I think that Dolphin (or kio) might be interfering. kdeconnect 1.3.3 should mount to |
|
What is the output of |
Hi @tsjnachos117, I have the same problem as C0rn3j. $ mount | grep -e ssh $ mount | grep fuse There directory /run/user/1000/9193b7e04a70e48/ is present but not accessible. Bellow I attach gist with kdeinit5 output after "KDE Connect -> Browse device" |
kdeconnect 1.3.4 which was just released seems to finally fix this issue according to the changelog:
I should be able to confirm soon. :) |
Just installed 1.3.4 from Ubuntu on my antix with xfce system. kdeconnect now goes farther but when trying to browse device it open the text editor instead of thunar. I need to find an open with config or some way to tell it to open thunar. The previous version would fail as mentioned earlier but navigating to the mount path pulled from mtab would work. Just a lot of work to see files. |
@eriefisher |
@tp0 |
While trying to browse my device, using the "Browse device" button on the indicator:
Wut? Lol Nevermind, I'm absolutely not familiar with KDE stuff. I installed Dolphin and it works fine. |
I don't know whether the problem is in the sftp or in the indicator-kdeconnect.
When pressing "Browse device" it opens empty folder with 1TB free space. Path to the folder: /home/user/.config/kdeconnect/3eaf8b118bef4c06/kdeconnect_sftp/3eaf8b118bef4c06/
PC - Xubuntu 16.04.01, Smartphone - CM 12.1
Same issue was reported here: vikoadi#27
The text was updated successfully, but these errors were encountered: