วันอังคารที่ 17 พฤศจิกายน พ.ศ. 2558

No Devices USB For Virtualbox Ubuntu Linuxmint

I cannot see any USB devices within my VirtualBox guest VMs from my host. How do I enable access for my guest VMs?
                               ss of missing USB devices
ทั้งหมดที่เชียนมาทุกอย่างต้องReboot ถึงจะใช้งานได้...ครับ




up vote16down voteaccepted
In order to enable access to these devices you'll need to add your username to the group vboxusers.
$ sudo usermod -a -G vboxusers <username>

Example

$ sudo usermod -a -G vboxusers saml
You can confirm the change afterwards:
$ groups saml
saml : saml wheel vboxusers wireshark
After doing the above you'll want to logout and log back in in order for the newly added group to get picked up by your user account. Then from the VirtualBox GUI you'll be able to right click on the USB icon in the lower right group of icons, and select whatever USB devices you want to give control over to your running guest VM.
                              ss of VB

Detecting USB devices

You can use VirtualBox's little known command line tool VBoxManage to list out the USB devices that are accessible. This is a good way to also confirm that the group addition made above to your username are being picked up correctly.

Example

ทั้งหมดที่เชียนมาทุกอย่างต้องReboot ถึงจะใช้งานได้...ครับ

ไม่มีความคิดเห็น:

แสดงความคิดเห็น