USB redirection via RDP - help please

Discussions related to using VirtualBox on Linux hosts.
Post Reply
leenowell
Posts: 3
Joined: 13. Apr 2016, 13:16

USB redirection via RDP - help please

Post by leenowell »

Hi

I have been trying to setup my home environment to have VMs running on the server and the family can connect to then from any PC in the house. My setup is as follows...

Host - Headless Ubuntu 14.04 Server install running VirtualBox 4.3-36 with Oracle_VM_VirtualBox_Extension_Pack-4.3.36-105129.vbox-extpack installed.
VirtualBox config via phpvirtualbox
Guest - Ubuntu 14.04 with guest additions installed. I have enabled USB 2.0 and added a blank filter (with remote set to any) via the phpvirtualbox admin screen.
Laptop - Ubuntu 14.04 running xfreerdp v1.0.2 to RDP to Guests 1 and 2.

For my setup, I need to be able to plug in USB devices into the laptop and see them in the guest OS. I have tried all of the following options but can't seem to get it working.

Code: Select all

sudo ./xfreerdp  /dvc:urbdrc,idev:1a86:7523 /sec:rdp /v:ibmserver:9001

sudo ./xfreerdp /usb:dbg,dev:1a86:7523 /sec:rdp /v:ibmserver:9001

sudo ./xfreerdp /usb:auto,dev:1a86:7523 /sec:rdp /v:ibmserver:9001

sudo ./xfreerdp /usb:rules:allow /sec:rdp /v:ibmserver:9001
Console output from running the dbg option above

Code: Select all

[19:37:22:250] [20968:20969] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpdr
[19:37:22:250] [20968:20969] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpsnd
[19:37:22:250] [20968:20969] [INFO][com.freerdp.client.common.cmdline] - loading channel drdynvc
[19:37:22:250] [20968:20969] [INFO][com.freerdp.client.x11] - No user name set. - Using login name: lee
[19:37:22:352] [20968:20969] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel urbdrc
[19:37:22:352] [20968:20969] [ERROR][com.freerdp.channels.urbdrc.client] - error processing arguments
[19:37:22:352] [20968:20971] [INFO][com.freerdp.channels.rdpsnd.client] - Loaded alsa backend for rdpsnd
[19:37:22:353] [20968:20969] [WARN][com.freerdp.channels.urbdrc.client] - bus:0 dev:0 not exist in udevman
[19:37:22:353] [20968:20969] [INFO][com.freerdp.channels.urbdrc.client] - VID: 0x1A86, PID: 0x7523
[19:37:22:355] [20968:20969] [DEBUG][com.freerdp.channels.urbdrc.client] -   Port: 1
[19:37:22:355] [20968:20969] [DEBUG][com.freerdp.channels.urbdrc.client] -   DevPath: 2-1
[19:37:22:355] [20968:20969] [DEBUG][com.freerdp.channels.urbdrc.client] -   Hub BUS/DEV: 2 1
[19:37:22:355] [20968:20969] [DEBUG][com.freerdp.channels.urbdrc.client] - libusb_open success!
[19:37:22:355] [20968:20969] [DEBUG][com.freerdp.channels.urbdrc.client] - Regist Device: Vid: 0x1A86 Pid: 0x7523 InterfaceClass = 0xFF
[19:37:22:355] [20968:20969] [WARN][com.freerdp.channels.urbdrc.client] - bus:2 dev:8 not exist in udevman
[19:37:22:355] [20968:20969] [DEBUG][com.freerdp.channels.urbdrc.client] - UDEVMAN device registered.
[19:37:22:355] [20968:20969] [TRACE][com.freerdp.channels.urbdrc.client] -
I have tried plugging a USB device into the host machine and I can see it in my Ubuntu guest but plugging it into the laptop and nothing....

I noticed in the manual a reference to rdesktop-vrdp so thought I would give that a try as I am not really fixed with xfreerdp as any client would be ok for me. However..... installing VB on the laptop doesn't seem to install rdesktop-vrdp (well at least I can't find it).

Any ideas what else I can try?

thanks

Lee.
Martin
Volunteer
Posts: 2561
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: USB redirection via RDP - help please

Post by Martin »

Did you install Vbox from the Ubuntu repository or from download.virtualbox.org?
leenowell
Posts: 3
Joined: 13. Apr 2016, 13:16

Re: USB redirection via RDP - help please

Post by leenowell »

I am pretty sure it was from the oracle downloads page but can't be 100% sure. Is there anyway of telling?

Thanks

Lee.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: USB redirection via RDP - help please

Post by Perryg »

You should use the rdesktop that comes with your VirtualBox install and not a different one that probably does not have the support for USB redirect.
leenowell
Posts: 3
Joined: 13. Apr 2016, 13:16

Re: USB redirection via RDP - help please

Post by leenowell »

When you say the rdesktop that comes with the VirtualBox install, is that rdesktop-vrdp as this is the one I couldn't find after installing virtualbox on my laptop?
Post Reply