LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 05-07-2014, 06:19 PM   #1
OuldeFauder
LQ Newbie
 
Registered: Nov 2009
Posts: 7

Rep: Reputation: 0
how to connect a remote usb device to a centos hosted virtualbox vm?


I am trying to have our local Windows machines connect their usb devices to a remote centos hosted Windows virtual machine. The windows virtual machine runs office and I need to be able to update my iphone remotely with the vm. Itunes runs on the vm. It would also be nice to be able to remotely connect local optical drives to burn cd's with data from the vm.
Centos kernel is 2.6.32 running a centos 6.5 server. Virtualbox is version 4.3. The sever functions as a file sever for the vm's utilizing 3 raid five drives rsynced together for absolute redundency. Total data loss is not an option for me.
Connections to vm's established using windows remote desktop connection.
Tightvnc used for server connection and control only. Putty is also used to connect to server occassionaly. Everthing works great except for remotely connecting usb and optical drives.
After several weeks of searching I am beginning to wonder if this is even possible and if not is there a different system I should be looking at. I prefer open source and a Linux distro for the server.
PS all machines are on the same subnet.
 
Old 05-08-2014, 01:30 AM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Just a wild guess, have you enable the "Join Groups" Option on the windows machines? Then have virtualbox machine join each of the groups. Also you may need to install virtualbox-guest-utils to get access to different usb devices.
 
Old 05-08-2014, 07:44 AM   #3
OuldeFauder
LQ Newbie
 
Registered: Nov 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by EDDY1 View Post
Just a wild guess, have you enable the "Join Groups" Option on the windows machines? Then have virtualbox machine join each of the groups. Also you may need to install virtualbox-guest-utils to get access to different usb devices.
Don't know much about windows but will look for join groups option. I have virtualbox extentions loaded in the vm's, but was not aware of virtualbox-quest-utils. I assume this needs to be loaded into host? I have DKMS installed, do I still need virtualbox-quest-utils?
Thanks for your reply; at least now I know it is possible. Unfortunately this type of setup does not appear to be documented and yet to me it would seem to be common for people who have serveral computer users in their family.
 
Old 05-09-2014, 02:38 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
I'll agree that one can use a network share for a usb. But to connect a device such as a phone or media player to a remote vm may be a different issue.

To use a host based usb port is different that a networked computer's usb port.

I may not get the question either.
 
Old 05-14-2014, 10:52 AM   #5
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Did you read this:

http://www.virtualbox.org/manual/ch07.html#usb-over-rdp
 
Old 06-20-2014, 03:49 PM   #6
OuldeFauder
LQ Newbie
 
Registered: Nov 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by gradinaruvasile View Post
Many times and other Doc,s to. Nothing seems to work except plugging into the remote host directly then attaching to the VM from the host. But I want to attach the USB device from a remote client then Remote connection manager to the VM (hosted guest) and use the USB 1device remotely on the VM. Same thing as is done with "USB network gate" a program by Eltima software. I think that Win 7 may not be exporting the USB device so Centos does not pick it up making it available for the VM.
 
Old 06-21-2014, 12:31 AM   #7
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Oh well. KVM/qemu has remote USB redirection which works very well. You might try using KVM/qemu and optionally libvirt, it makes managing VM's a heck lot easier, you even have a GUI for that which works similarly as the VBox one, can be used even remotely via ssh tunneling. Redirecting a USB port is done by adding a SPICE channel and using virt-viewer, just select the device you want to redirect.
Now KVM's video drivers arent that good compared to VBox, but if you use qxl virtual video card and install its drivers, it works ok (no 3d).
 
Old 11-02-2017, 05:33 AM   #8
Just1ce
LQ Newbie
 
Registered: Nov 2017
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by OuldeFauder View Post
I am trying to have our local Windows machines connect their usb devices to a remote centos hosted Windows virtual machine. The windows virtual machine runs office and I need to be able to update my iphone remotely with the vm. Itunes runs on the vm. It would also be nice to be able to remotely connect local optical drives to burn cd's with data from the vm.
If accessing a USB device via RDP does not work, I would recommend to forward a device to virtual machine over the network. To connect a USB device to virtual machine, I would recommend you this guide: https://www.eltima.com/article/virtu...b-passthrough/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Move Slackware guest from a Slackware hosted Virtualbox to Windows hosted Virtualbox? damgar Slackware 1 08-07-2012 11:28 PM
Vodafone mobile connect can't see device in virtualbox Mark_667 Linux - Software 1 02-26-2011 05:18 PM
Virtualbox CentOS Guest can not connect to Internet from XP Host sokha Linux - Virtualization and Cloud 2 03-30-2010 11:28 PM
VirtualBox - connect to remote host Mig21 Linux - Software 0 03-16-2009 06:09 PM
Virtualbox USB device not available to virtual machine - FC7 speedsrfr Linux - Software 2 09-22-2007 12:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 12:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration