https://bugs.kde.org/show_bug.cgi?id=412257

Peter Albrecht <p...@crazymonkeys.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p...@crazymonkeys.de

--- Comment #5 from Peter Albrecht <p...@crazymonkeys.de> ---
Another workaround, I have found:
If you do not use KIO MTP at all (since you only use something like "jmtpfs"),
you can "disable kmtpd":

# chmod 000 /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kiod/kmtpd.so

After restarting, mounting my android mobile phone with jmtpfs (MTP protocol)
worked again.

Thanks to user "arkonbob" at reddit for bringing up this solution:
https://www.reddit.com/r/kde/comments/mvrtck/restarting_kiod/

I am using Debian 11 (Bullseye):
* KDE Frameworks 5.78.0
* Qt 5.15.2

-----

Another workaround is to switch to a runlevel without graphical desktop. This
stops KDE and KIOD. (In my case I want to run some scripts to backup the data
on my mobile phone, so I don't need a graphical desktop while these scripts are
running.)
I you use systemd, you can do the following:
* log out from KDE session
* go to console (e.g. CTRL + ALT + F2)
* log in at the console as root
* switch the runlevel:  # systemctl isolate multi-user.target
* mount your mobile phone via "jmtpfs"
* run your backup-scripts (or whatever you wanted to do)
* unmount jmtpfs
* switch back to normal runlevel: # systemctl isolate graphical.target
* log out from console
* go back to graphical session with CTRL + ALT + F7

But this is very cumbersome and you have to close all your running graphical
programs.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to