Ubuntu: Use my webcam with Ubuntu running in VirtualBox


I have Ubuntu running in VirtualBox. How can I make my in-built laptop camera work with it.


This is possible, but requires a few steps to get working properly:

  1. Make sure the virtual machine is not running and your webcam is not being used.
  2. Bring up the main VBox window and in the details tab for your Win7 machine click USB.
  3. Make sure "Enable USB Controller" is selected. Also make sure that "Enable USB 2.0 (EHCI) Controller" is selected too.
  4. Click the "Add filter from device" button (the cable with the '+' icon).
  5. Select your device from the list.
  6. Now click OK and start your VM.

This will cause the device to show up as if it were plugged into the VM. From there, you should be able to use it or install drivers if necessary.


The same answer of @Nathan Osman , However , it required to belong to vboxusers group to be able to see all devices on adding one.

sudo usermod -a -G vboxusers $(whoami)  

Logout & login again , check if your vboxusers displays in this command :



Probably, you should download and install VirtualBox extension pack which will supported USB 2.0 and USB 3.0 devices.

I faced the same issue earlier and I got it solved by installing this extension pack.

  1. Install the VirtualBox extension pack
  2. Restart both host and guest system.

Go to Settings --> USB
select USB 2.0 (EHCI) controller
Look in Add new filters.
Now your webcam appears in the list. Add those USB Filters.

Note: My Host is Windows 10 and Virtual Os is Ubuntu 16.04


Many built-in cameras will not appear as USB devices.

In this case you need to install the VirtualBox Extension Pack and possibly the Guest Additions (not sure about it).

Then restart the VM and in the top menu Devices there should be a new submenu Webcams. Enable your webcam from there and it should become available in the VM.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »