我使用的是 KDE Neon 5.14。在 Neon 和 Android 上使用最新版本的 KDE 连接。我正在尝试浏览我的手机文件系统,但收到此错误:
The process for the kdeconnect://92e92185f23aaf5b protocol died unexpectedly
我已确保 Android 上的 KDE 连接具有所有权限,并且双方都启用了插件。
这是尝试此操作时的输出~/.xsession-errors
。
kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kio_kdeconnect.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kio_kdeconnect.so'
QCoreApplication::arguments: Please instantiate the QApplication object first
QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
QCoreApplication::applicationFilePath: Please instantiate the QApplication object first
QCoreApplication::arguments: Please instantiate the QApplication object first
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = path = pid = 13797
KCrash: Arguments: kdeinit5: PID 13797 terminated.
Could not find service for job "Job 13" with app name "org.kde.kdeconnectd"
Could not find service for job "Job 13" with app name "org.kde.kdeconnectd"
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 60266, resource id: 100663303, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 60267, resource id: 83886155, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 60271, resource id: 83886155, major code: 142 (Unknown), minor code: 3
trying to show an empty dialog
trying to show an empty dialog
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 60701, resource id: 83886155, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 60702, resource id: 83886161, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 60703, resource id: 83886173, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 60704, resource id: 83886155, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 60705, resource id: 83886161, major code: 142 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 60706, resource id: 83886173, major code: 142 (Unknown), minor code: 3
journalctl -xe
当时的输出:
Oct 21 16:07:22 neon org.kde.kdeconnect[975]: kdeconnect.plugin.sftp: Mount device: "Xiaomi Redmi 4X"
Oct 21 16:07:23 neon org.kde.kdeconnect[975]: kf5.kio.widgets: KRun(0x55e19f43e5d0) ERROR 143 "The process for the kdeconnect://92e92185f23aaf5b protocol died unexpectedly."
Oct 21 16:07:25 neon org.kde.kdeconnect[975]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 9418, resource id: 42156835, major code: 40 (TranslateCoords), minor code: 0
答案1
更新:错误已修复
使用 KDE Connect 版本 1.3.3,此问题中描述的问题已得到解决。该版本已到达 Neon User Edition 软件包存储库,因此您应该能够更新并且不会出现新问题!
回答:
Neon >= 5.14.1 上的 KDE Connect 存在一个错误,该错误会阻止通过 KIO 挂载和浏览手机文件系统,而 Dolphin 使用的是 KIO
错误报告是这里。此时,它肯定会缩小到 Neon 5.14.1,因此无需添加“+1”,除非您有新信息要添加,但请随意将自己添加到订阅者列表中,当它出现时您会收到提醒是固定的。
作为解决方法,您可以使用 kdeconnect 的 DBus 接口手动安装电话,然后通过命令行或手动复制路径来浏览它。这些说明位于错误报告中,但也复制到此处:
做
qdbus org.kde.kdeconnect /modules/kdeconnect/devices/<deviceID>/sftp mountAndWait
qdbus org.kde.kdeconnect /modules/kdeconnect/devices/<deviceID>/sftp getDirectories
(如果您不喜欢 qdbus,请随意替换不同的 dbus 浏览器)
您可以通过运行获取您的设备 IDkdeconnect-cli --list-devices
第一个命令应返回 true,第二个命令应打印出已安装位置的列表。将这些位置复制/粘贴到文件浏览器的地址栏中,然后就可以开始了。
答案2
您需要 kdeconnect >= 1.3.3 才能永久解决此问题。
更新:
sudo apt-get update && sudo apt-get upgrade
检查您的 kdeconnect 版本:
kdeconnect-cli --version
如果 kdeconnect 版本 < 1.3.3,请添加此存储库https://launchpad.net/~kubuntu-ppa/+archive/ubuntu/ppa:
sudo add-apt-repository ppa:kubuntu-ppa/ppa sudo apt-get update && sudo apt-get upgrade
重新启动或重新启动守护进程:
killall kdeconnectd /usr/lib/x86_64-linux-gnu/libexec/kdeconnectd &