Challenges with Integrating Ubuntu 22.04 and Intune in Qubes OS: Webcam and Microphone Passthrough Issues

Hello everyone!

I’m currently working on implementing Qubes OS more extensively in my company…
I’m trying to build a Qube that will serve as a “company Qube.” This Qube will run a standalone Ubuntu 22.04 with the Intune portal, which is unfortunately necessary so I can use Teams/emails via office.com.

Now, I’m running into some issues.

I’m unable to passthrough my webcam and microphone to the VM.

My first step was installing qubes-core-agent. However, now the login process gets stuck at startup and doesn’t proceed any further…

Has anyone encountered this problem before or have an idea on how to solve it?

I’ve also installed the Ubuntu template… though I’m not sure how the Intune portal handles this, as it might detect that the uname has changed and assume it’s not running on Ubuntu 22.04…

fundamentals/deployment-guide-enrollment-linux.md

https://qubes.3isec.org/

1 Like

Are you unable to attach webcam and microphone to the app qube based on Ubuntu template?
Are you able to attach them to the app qube based on debian-12-xfce template?

You can also try to use the standard Debian template instead of Ubuntu:
https://console.systems/2024/03/how-to-install-intune-in-debian-12.html

1 Like

@apparatus Thanks for your reply and Idea

My corporate wants an official solution, and I thought a simple Ubuntu 22.04 setup would be a good option to implement this and If i installed by own i have morr Arguments…maybe

I installed the Ubuntu template, but I’m currently facing an issue with attaching my USB device. It seems I’m missing the “qubes-usb” package (I’ll need to check the exact package name).

Does anyone know which packages and steps are necessary to get a basic Ubuntu setup working? At least to the point where it’s possible to attach devices… I could look into copy/paste functionality later.

I’ve installed the “qubes-core-agent” package, but when I start the VM, it gets stuck in GRUB. I can choose to start with the Xen hypervisor or normally, but in both cases, the booting process fails…

That I can use the Standard Debian Sounds maybe possible

You need to install qubes-usb-proxy package for USB attachment to work.

1 Like

"That was indeed the package that was missing in the Ubuntu template… now attaching USB devices works as well.

Maybe someone still has an idea on how I can get a standalone Ubuntu Qube up and running and make it usable.
Which packages do I need to install? What configuration do I need to set up in the Qube or perhaps also in dom0?

You can’t just install some packages and everything would work the same way as in the template.
The Qubes packages expect the system to be configured in a certain way: specific partitioning, specific username maybe some other specific configurations.

Do you or anyone know where I could get this information? What exactly needs to be done? I would be very interested in that…

You can look into qubes-builderv2 since it’s used to build the ubuntu template:
GitHub - QubesOS/qubes-builderv2: Next generation of Qubes OS builder