Error encountered with shared folder access and USB redirection on “Virtual Machine Manager”

There are two issues I am facing.

1.) I cannot use the redirect USB option within the software "Virtual Machine Manager " even though I have added the USB drive.
I have meticulously followed the process outlined below for the same.

In the USB redirector sub-option
I selected the “Add Hardware" option.
In the add hardware option,
I selected the “Host device option” and eventually selected the name of my USB device.

Error while selecting the USB redirection option in the virtual machine manager is mentioned below
spice-client error-quark:
Could not auto redirect USB Sandisk 3.2 Gen1
[0781:55a9] at 2-6: Error libusb_open:Access denied(insufficient permissions) [-3] (0)
.

  1. Inability to create a practically shared folder for Fedora Silver Blue, the host OS, and my Windows 11 VM installed within the software “Virtual Machine Manager.” I have explained the step-by-step procedure I followed below

1.) I selected the ‘details’ option to access additional settings and configurations.
2. From the details option, I selected Add Hardware. From the Add Hardware, I selected Filesystem

In the source, I selected the /var/home/saleeshsuresheyyani/Desktop/windows, which is the path of the folder I created on Fedora Silver Blue for sharing between both the host and the guest VM
2. for the path, I selected the exact path in the Windows VM, which is
C:\Users
I salee\Desktop\host
I selected the driver “virtiofs

I dropped a file into the source folder on Fedora OS; however, it is not visible in the path folder in the Windows 11 VM. I have triple-checked.

1 Like

How did you install virt-manager?

Did you add yourself to a specific group?

Where is the folder you want to share?

Hi, thank you for helping me out.
I installed virtual machine manager thru fedora silverblue software centre.
while installing i used the qemu/kvm option in virtual machine manager

i installed the necessary software related to qemu kvm using commands given by chatbot ai perplexity ai
I will try to find those
networking method selected was nat . because last timewhen i selected bridge method on virtual machine manager i encountered a network issue on fedora silverblue and had to reinstall

Has your user been added to the group libvirt for permissions?

Hi, when I triple-checked, I saw that my user has not been added to “libvrt” for the permissions; hence, I tried adding my user to the libvirt "group for permissions using the below command mentioned in square brackets. However, I am unable to achieve that task even with that command.

[sudo usermod -a -G libvirt $(whoami)]

The folder i want to share is on fedora silverblue dekstop.
i have already added myself to nordvpn group

are you using nordVPN? if so what are your nordVPN settings? is threat protection enabled? do you have LAN discovery enabled?

is nordVPN installed on host as layered?

1 Like

Hi, I have tried the command (sudo cat /etc/passwd), and it shows that my user is not part of the libvirt group. I want to create a shared folder to run Windows 11 and practice MS Office. However, I am currently practicing it online. I would like to depend less on Windows, though. Ms office is the only reason for my dependence on virtual machine manager software, which helps me to use Windows 11

From the documentation I linked above:

$ grep -E '^libvirt:' /usr/lib/group | sudo tee -a /etc/group
$ sudo usermod -aG libvirt $USER
1 Like

I marked that command as the solution for now. If it doesnt fix your issue, you can uncheck it

Hi , for some reason i still get the usb redirection error. as stated below
USB redirection error
spice-client-error-quark: Could not auto-redirect
Downloads Stored locally
USB SanDisk 3.2Gen1
[0781:55a9] at 2-3; Error libusb_open: Access denied (insufficient permissions)
Pictures Stored locally
[-3] (0)
Videos Stored locally
Details
USB redirection error

In my case currently saleeshsuresheyyani is indeed part of libvrt group
i used getent group libvirt

Hi everyone., I tried reinstalling using the bridge network by selecting br0 as bridge name . however it gives me an unidentified network error in case of windows 11

Added libvirt, usb, windows-guest