VBoxManage controlvm command.

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Russell1
Posts: 8
Joined: 17. Apr 2019, 15:51

VBoxManage controlvm command.

Post by Russell1 »

Host Operating System: Microsoft Windows 10 ( Home ) Edition.
Host architecture: 64-bit; x64-based.
Host memory: 6.00 GB ( 5.75 usable ).
Guest Operating System: OPenSuse-Leap 15.0 Linux virtual machine ( via VirtualBox version 6.1 ).
Guest architecture: OPenSuse 64-bit.
Guest memory: 1024 MB.

When running the "VBoxManage list webcams" command, from my Microsoft Windows 10 ( Home ) Edition command prompt ( in elevated mode ), I receive the following output:

".1 'HD Pro Webcam C920'
<path-to-webcam>\global"

Then, when I run the "VBoxManage controlvm 'OPenSuse' attach webcam '<path-to-webcam>\global' command from the above-mentioned command prompt, I receive the following error messages:
  • VBoxManage.exe: error: Attach emulated USB webcam (VERR_PDM_NO_USBPROXY)
  • VBoxManage.exe: error: Details: code VBOX_E_VM_ERROR (0x80bb0003), component ConsoleWrap, interface IConsole, callee IUnknown
  • VBoxManage.exe: error: Context: "WebcamAttach(path.raw(), settings.raw())" at line 2150 of file VBoxManageControlVM.cpp
Why am I not able to get my above-mentioned web camera to attach via the "VBoxManage" command? At the bottom of the OPenSuse-Leap 15.0 Linux virtual machine window, there is a Universal Serial Bus ( usb ) icon which, when I hover my mouse pointer over it, produces a pop-up window with the name of the web camera in it. Thus, I am able to attach my web camera through the "Devices" drop-down menu at the top of my virtual machine window. However, I am not able to get my web camera to function within the Open Broadcaster Software Studio ( OBS Studio ) software ( OBS version 24.0.3 ( linux ) ) installed on my OPenSuse-Leap 15.0 Linux virtual machine. I am in the process of serving up my own live stream server using nginx. Please see the attached log file, as requested. Any suggestions?
Attachments
OPenSuse-2021-05-04-19-51-04.log
(75.12 KiB) Downloaded 9 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VBoxManage controlvm command.

Post by mpack »

00:00:07.721325 VirtualBox VM 6.1.16 r140961 win.amd64 (Oct 16 2020 16:33:17) release log
...
00:00:08.106689 Installed Extension Packs:
00:00:08.106816 Oracle VM VirtualBox Extension Pack (Version: 6.0.24 r139119; VRDE Module: VBoxVRDP unusable because of 'VBoxExtPackVMRegister returned VERR_VERSION_MISMATCH, pReg=0000000000000000 ErrInfo='VirtualBox version mismatch - expected 6.0 got 6.1'')
Wrong extension pack installed.
Russell1
Posts: 8
Joined: 17. Apr 2019, 15:51

Re: VBoxManage controlvm command.

Post by Russell1 »

mpack, after downloading and installing Oracle VM VirtualBox Extension Pack version 6.1.18r142142, the command "VBoxManage controlvm OPenSuse webcam attach .1" now works. Now I just need to figure out how to get the live stream server working. Thank you for your help.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VBoxManage controlvm command.

Post by mpack »

You have not mentioned updating the host software (6.1.16). In that case extension pack 6.1.18 would still be the wrong one, because 6.1.18 and 6.1.16 are different numbers. The extension pack is a plugin for a specific version of VirtualBox, therefore their versions must match. Every time you change the host software version, you should install the matching extension pack.
Post Reply