Usb feature request

I would like to have a little more easy access in qubes, for example when i use kali(linux distro) and attach device on it it will fail either by attaching the block or the whole usb. And for other os like windows or ubuntu while it is accepted and does not fail, it still requires steps to enable qrexec(which should be by default). I would say having a usb available to standalone qubes is really important.

You can attach USB devices to a standalone HVM qube not based on a template even without Qubes tools installed if you enable stubdom-qrexec feature for it in dom0:

qvm-features YourQubeName stubdom-qrexec 1

I believe that for the next version of qubes they are planning to address automatically attaching specific USB devices to specific qubes

(mentioned in one of the talks during the recent qubes conference)

1 Like

For specific distros this does not work it fails to attach

For which distros is this not working?

Kali linux(debian based)

It should work:

Weird

I have connected usb devices to kali-linux in qubes 4.2 and they worked for me.

If a connection gives the failure message (notification), try it a second time. I do have some devices that fail the first time i try to connect them, but then seem to always work the second time i try to connect them.

Is this a block of the usb or the whole usb that works?

I was not using USB storage devices…

Actually, I just checked, and I was using PCI pass-through of a USB controller into the kali qube instead of USB passthrough. (possibly meaning i was having trouble with USB passthrough). So I guess my experience doesn’t count.

Update
I got it to work, apparently it was because of the file system i was using fat32 or nfts but in my experience exfat works. And only works for me as a block device not as whole usb.