ElliotKillick / qubes-video-companion

Securely stream webcams and share screens across virtual machines. Project moved: https://github.com/QubesOS/qubes-video-companion
MIT License
51 stars 14 forks source link

Avoid hard-coding dom0 in `qubes-video-companion` script #15

Open DemiMarie opened 3 years ago

DemiMarie commented 3 years ago

On my system, webcams are attached to sys-usb. One alternative is to specify the target in qrexec policy instead. I will fix this.

ElliotKillick commented 3 years ago

Yeah, I wasn't quite sure how qrexec-client-vm would work for specifying multiple possible target qubes as it only allowed for specifying one. I figured if I just specify dom0 then because I've installed the qrexec policies (in the RPM package) in dom0 that should work for sys-usb (there is a policy added to allow sys-usb) too.

Is this assumption incorrect or is this alternative you're talking about just a better way of doing this?

DemiMarie commented 3 years ago

Yeah, I wasn't quite sure how qrexec-client-vm would work for specifying multiple possible target qubes as it only allowed for specifying one. I figured if I just specify dom0 then because I've installed the qrexec policies (in the RPM package) in dom0 that should work for sys-usb (there is a policy added to allow sys-usb) too.

Is this assumption incorrect or is this alternative you're talking about just a better way of doing this?

I usually use @default and use target= to direct the call to the correct qube.

pietrushnic commented 3 years ago

I have the same problem using v1.0.0-1 deb