As above, have checked the settings, and “Enable automatic mounting of removable media” is definitely NOT enabled.
Want to mount in a virtual machine, but the LOCAL machine, just continually mounts the USB.
Is there a solution, or should I report a bug?
Thanks.
Behavior as expected observed here with pristine configuration file:
karl@erlangen:~> cat ./.config/kded_device_automounterrc
[Devices][/org/freedesktop/UDisks2/block_devices/nvme0n1p3]
ForceAttachAutomount=false
ForceLoginAutomount=false
[Devices][/org/freedesktop/UDisks2/block_devices/nvme0n1p4]
ForceAttachAutomount=false
ForceLoginAutomount=false
[Devices][/org/freedesktop/UDisks2/block_devices/sdb1]
ForceAttachAutomount=false
ForceLoginAutomount=false
[Devices][/org/freedesktop/UDisks2/block_devices/sdc]
ForceAttachAutomount=false
ForceLoginAutomount=false
[Devices][/org/freedesktop/UDisks2/block_devices/sdd]
ForceAttachAutomount=false
ForceLoginAutomount=false
[Devices][/org/freedesktop/UDisks2/block_devices/sdf]
ForceAttachAutomount=false
ForceLoginAutomount=false
karl@erlangen:~>
Device notifier pops up on attaching a USB drive and presents option to mount, but the drive stays unmounted.
To me it looks as if the OP w ants that his USB connection is not handled by the system itself, but that everything happening there is forwarded to the virtual system he seems to have. To me that looks as a typical Virtualization question.
Shall I move this to that sub-forum so that the Virtualization gurus can have a look at it?
It is not clear what you are doing.
I use KVM for virtualization. If I plug in a USB before I start the VM, then the local machine owns the USB.
What I do, instead, is enable boot menu. When starting a VM, I hit ESC when requested to get a boot menu. And then I plug in the USB. After that, I send it a CTRL-ALT-DEL to reboot the VM, this time with it seeing the USB.
I assume the above means that this is about Virtualization. Will move it.
In virtualbox there is a button at the bottom right of the VM window to change ownership of usb devices. Right-click on it and click the applicable checkbox. It doesn’t matter if you plug the device before or after starting the VM.
Nothing to do with virtualisation!! Please move back…
The problem just happened to be getting in the way of being able to mount to a VB, because it is ALWAYS mounted by my hardware Tumbleweed box. Even if I unmount it, and try and attach to the VB, Tumbleweed just remounts it.
This is my kded_device_automounterrc file:
john@boss:~> cat ./.config/kded_device_automounterrc
[Devices][/org/freedesktop/UDisks2/block_devices/sda1]
ForceAttachAutomount=false
ForceLoginAutomount=false
Icon=drive-harddisk
LastNameSeen=System Reserved
LastSeenMounted=false
[Devices][/org/freedesktop/UDisks2/block_devices/sda2]
ForceAttachAutomount=false
ForceLoginAutomount=false
Icon=drive-harddisk
LastNameSeen=59.4 GiB Internal Drive (sda2)
LastSeenMounted=false
[Devices][/org/freedesktop/UDisks2/block_devices/sda5]
ForceAttachAutomount=false
ForceLoginAutomount=false
Icon=drive-harddisk
LastNameSeen=56.3 GiB Internal Drive (sda5)
LastSeenMounted=false
[Devices][/org/freedesktop/UDisks2/block_devices/sdb1]
ForceAttachAutomount=false
ForceLoginAutomount=false
Icon=drive-harddisk
LastNameSeen=OS-1
LastSeenMounted=false
[Devices][/org/freedesktop/UDisks2/block_devices/sdc1]
EverMounted=true
ForceAttachAutomount=false
ForceLoginAutomount=false
Icon=drive-removable-media-usb
LastNameSeen=MULTIBOOT
LastSeenMounted=false
[Devices][/org/freedesktop/UDisks2/block_devices/sdd1]
EverMounted=true
ForceAttachAutomount=false
ForceLoginAutomount=false
Icon=drive-removable-media-usb
LastNameSeen=MULTIBOOT
LastSeenMounted=false
[General]
AutomountOnLogin=false
AutomountOnPlugin=false
And when I insert a USB drive, this message appears.
OK - update.
Have discovered what the issue is (from the screenshot…)
Apparently it is the Thunar Volume management stuff, which is installed with XFCE…
How did it get on my system? Don’t know, I have been running Plasma since install, with a new profile (ie no carry over from previously), and have never used Thunar - I always install Krusader.
Thanks for the suggestions, anyway.
https://drive.google.com/file/d/1lNouNa9IEXqDl5Ssj9pK40i_BFm-lw8H/view?usp=sharing
If you want to get rid of this search with “zypper search thunar” and remove with “zypper remove --clean-deps …” of course.