Usb not allowed in standalone vm

I want to transfer files through usb to my standalone vm, but it is not allowed. Could i somehow connect an appvm and a standalone vm so that i can transfer files using ssh?

where did you get this error?

how did you install the standalone?

Do you have standalone based on a template?
If it’s not based on a template then you can enable the stubdom-qrexec feature for your standalone qube to allow the USB attachment to it:
https://dev.qubes-os.org/projects/core-admin-client/en/stable/manpages/qvm-features.html#stubdom-qrexec
In dom0 run this command:

qvm-features YourStandaloneQubeName stubdom-qrexec 1

Then you’ll be able to attach the USB devices to it. But note that you’ll only be able to attach the USB devices and not the block devices.

2 Likes

Hello ser, i have heard that enabling it is insecure

I don’t know why it could be insecure.
If you have Linux standalone qube not based on a template then you can also attach the block device to it without enabling stubdom-qrexec feature.

If you still want to use network to transfer the files then you can enable the networking between two qubes like this:

1 Like