freerdp2-x11
to install the FreeRDP client.
Linux RDP (Remote Desktop Protocol) does not natively support USB redirection. RDP USB redirection allows you to use USB devices connected to your local machine while accessing a remote desktop session. For example, complex USB devices like scanners, and webcams with integrated microphones often encounter redirection issues. This is a common problem among FreeRDP users (a standard RDP client for Linux).
However, there are third-party solutions that can enable Linux RDP USB redirection sessions.
Linux RDP clients’ poor USB support is not an issue thanks to USB Network Gate for Linux. With USB Network Gate, users can easily access any USB device that is plugged into a local computer during a remote desktop session. This is possible because USB Network Gate allows users to share individual USB ports that can be used to connect any kind of USB device.
USB over Remote Desktop for Linux gives users the option to switch between various USB devices on the go (i.e. unplugging and plugging in different USBs at any given time), and no additional configuration is necessary.
For Linux RDP USB redirection, you need to install xfreerdp plug-in and USB Network Gate on both machines taking part in the remote desktop connection (referred to as the “Server” and “Client”).
freerdp2-x11
to install the FreeRDP client.
dpkg -i [package]
apt-get install -f
rpm -i [package] or yum install [package]
Read the following guide to get an idea of how to connect USB over RDP on Linux with the FreeRDP client.
Please note: When authorization and/or traffic encryption are enabled/used, USB device sharing in remote desktop sessions is not available.
Run in the Terminal:
xfreerdp --plugin usb4rdp <remote address=""></remote>
<remote address> is the IP address/domain/computer name of the remote server. The above command runs RDP client xfreerdp and the plugin that facilitates USB Network Gate’s full functionality during the RDP sessions.
If necessary, users can load other FreeRDP plugins as well. See below for an example:
xfreerdp /vc:usb4rdp /v:xx.xx.xx.xx
This command runs RDP client xfreerdp with the Electronic Team plugins that ensure server and client clipboard data is properly synchronized.
Read FreeRDP resources to learn more about supported plugins and available user commands.
Use the command below to share USB audio devices during remote desktop sessions by launching xfreerdp with additional options:
xfreerdp plugin usb4rdp -0 -o server
This command redirects sound using USB Network Gate and not the RDP client. Starting from version 1.0, the UNG plugin and xfreerdp are compatible.
Please note: Remmina USB redirection and rdesktop aren’t supported.
Thanks to the support of RemoteFX USB Redirection [MS-RDPEUSB] of USB Network Gate for Linux, users can redirect shared USB devices from Linux computers (terminal clients) to Windows computers (terminal servers).
The client must be running at least Windows 8 (be it virtual machine(VM) or real), or Hyper-V running Windows 7 SP1 (with the addition of RemoteFX GPU) launched on Windows Server 2012 or Windows Server 2008 R2.
To enable RDP USB redirection from Linux to Windows, use the following command:
xfreerdp-usb [shared-ports] xfreerdp-args
See the below example:
xfreerdp-usb -u User -p Pass 192.168.0.123
xfreerdp-usb 1909,1910 -u User -p Pass 192.168.0.123
For users who encounter the “SSL_read: I/O” error, add the “--rfx” parameter without quotes before the IP address.