Citrix Blogs

Peripheral devices in XenDesktop

Peripheral devices in XenDesktop

Often, while connected to a remote session (see definitions), users need to access peripheral devices connected to their physical endpoints. For many of these devices, Citrix (or the device vendor) have build virtual channels that enable use of the device in a XenApp or XenDesktop session. These virtual channels are designed to optimize the device performance and make it available seamlessly in the session. For USB peripherals, generic USB redirection (sending raw USB data over the wire) is available as a helpful fallback for specialty devices.

This blog post will elaborate on the above statements.


Definitions:


HDX optimized use (Virtual Channels)

Here are some of the virtual channels available. Note that Citrix has a virtual channel SDK (https://www.citrix.com/downloads/citrix-receiver/sdks/virtual-channel-sdk.html) that has been used by device vendors to create customized virtual channels which are beyond the scope of this blog.
One important virtue of these is that allow the devices to be used both in the endpoint and in session.

Keyboard and mouse – These devices are used both in the endpoint and in the session, even at the same time, for example when accessing only server applications from an endpoint desktop.

 

Audio (speakers/mic) – likely to be needed on the endpoint as well as in session. HDX has a virtual channel and even synchronizes the volume. Some HDX multimedia optimizations play the sound directly on the endpoint and take advantage of the peripheral device being available in both places.

 

Webcams – Citrix Receiver captures the webcam images on the physical endpoint device, optimizes them and sends them to be displayed in session. Note: webcams can only be used simultaneously by one application, locally or in session. This is a webcam limitation, not HDX. This virtual channel requires significantly less bandwidth than using USB redirection of a webcam.

 

 

USB memory sticks, CDs, DVDs, even endpoint drives – HDX has a file access virtual channel allowing users to access ALL (or administratively selected) endpoint data storage devices.

 

Smart Cards – In the most secure environments (usually were smartcards are used) the smart card needs to be available on the endpoint and in session and removal of the smartcard is used for automatic lock or logoff.


Then, why USB redirection?

Here are some examples of when USB redirection might be required. Bear in mind once a USB peripheral device is redirected to a session it becomes unavailable to the user physical endpoint device until the session has disconnected and the USB device connection is returned to the endpoint. Additionally, more bandwidth is required to use the device (compared to using the virtual channel) and its use affected by roundtrip delay.


Additional links for USB redirection:

Virtual channels – list, priorities and multi-stream
eDocs
Citrix Studio policies, adding Device Rules in regedit
More on Device Rules (endpoint side)
Configuring redirection for endpoints NOT using desktop viewer

Exit mobile version