VirtualBox is a virtual machine program. I installed one on Ubuntu6.06 and One Windows XP on it to solve the problem that some domestic software and websites do not fully support the linux system, for example, the ICBC website can only use the IE browser under Windows to log on to the management, and for example, only the QQ Software under Windows can transmit files and voice and video chats. VirtualBox supports connecting USB devices on hosts to virtual machines (guest. However
VirtualBox is a virtual machine program. I installed one on Ubuntu 6.06 and One Windows XP on it to solve the problem that some domestic software and websites do not fully support the linux system, for example, the ICBC website can only use the IE browser under Windows to log on to the management, and for example, only the QQ Software under Windows can transmit files and voice and video chats.
VirtualBox supports connecting USB devices on hosts to virtual machines (guest. However, you must start VirtualBox as the root user. Otherwise, VirtualBox cannot be used due to permission issues. I checked some websites and asked my USB camera to work properly on Windows XP on the Virtual Machine without the root permission. So I posted the detailed method, for your reference. This method is successfully verified in Ubuntu 6.06, VirtualBox 1.3.6, and may not be suitable for other versions of Ubuntu.
The procedure is as follows:
First create a usb fs group:
Sudo groupadd usbfs
Add the current user to this user group:
Sudo adduser $ USER usbfs
Open the/etc/group file
Gedit/etc/group
Search for usbfs and write down the ID. For example, my situation is:
Usbfs: x: 1002: yourname
Above 1002 is the ID.
Open the/etc/fstab file:
Sudo gedit/etc/fstab
Add a line to the end:
None/proc/bus/usb usbfs devgid = 1002, devmode = 664 0 0
Note that in devgid = 1002, change 1002 to the usb fs group ID you just found in the group. Save the file.