A virtual desktop that feels quick on the head-office LAN can feel sluggish from a branch on a microwave link, a clinic on LTE or a depot on satellite. Buying more bandwidth often does not help, because the complaint is about round-trip time and packet loss. TCP delivers in order: when a packet goes missing, everything behind it waits for the retransmission and the sender cuts its rate as if the network were congested. Over a long or lossy path that shows up as a lagging mouse and a jerky screen.
Both platforms we deploy through our virtual workspace practice answer this with a UDP-based transport that measures the path and keeps the session interactive when the network is imperfect. On Citrix it is Enlightened Data Transport (EDT), selected by Adaptive Transport. On Azure Virtual Desktop it is RDP Shortpath. Here is what each needs from your network and how to prove it is in use.
Citrix: Adaptive Transport and EDT
Adaptive Transport is enabled by default in Citrix Virtual Apps and Desktops and Citrix DaaS, with three modes:
- Preferred (default): the client tries EDT and TCP in parallel, keeps EDT if it connects, and otherwise uses TCP. A session on TCP retries EDT in the background every five minutes.
- Diagnostic mode: EDT only, with no fallback. A failed connection tells you the UDP path is blocked.
- Off: TCP only.
The default hides problems: if a firewall drops UDP, every session silently falls back to TCP and nobody notices until the branch complains. Citrix's documentation sets out what the path must allow:
- Internal connections with Session Reliability enabled use UDP 2598 from the client network to the VDA. The VDA installer adds the Windows Defender Firewall rules; any other firewall needs them added by hand.
- Through NetScaler Gateway, clients connect on 443 and the Gateway's subnet IP reaches the VDA on 2598. Citrix recommends NetScaler Gateway 14.1.12.30 or later.
- Through Citrix Gateway Service, EDT requires Rendezvous to be enabled.
- VDAs and Workspace app should be 2402 or later.
Put a pilot group into Diagnostic mode for a day. If their sessions connect, EDT is reaching them; if not, you have found the setting that has been quietly forcing TCP.
Loss tolerant mode for graphics
EDT is the transport; loss tolerant mode for graphics changes what the encoder does when the transport reports trouble. Citrix describes it as being for interactive sessions on networks with high packet loss and latency: past the configured thresholds, the encoder moves to a more aggressive delivery strategy that keeps the screen responsive at the cost of more bandwidth, and switches back when the network recovers. The documented defaults are 300 ms latency and 5% packet loss, both configurable by policy.
Three requirements matter before you count on it:
- It needs VDA 2311 or later and Citrix Workspace app for Windows 2311 or later; other client platforms are not listed.
- The HDX Adaptive Transport policy and the loss tolerant mode policy must both be enabled. The feature is on by default, but a policy that disables EDT disables this too.
- From CVAD 2507, it only activates when at least 30 Mbps of in-session bandwidth is available, and the figure is hard-coded. On a thin satellite or LTE link the thresholds can be met and the mode will still not engage, so on those sites EDT itself is doing the work.
HDX Direct, available from CVAD 2503 and off by default, goes further by moving a brokered session off the Gateway onto a direct connection to the VDA. On multi-session hosts the logon must finish within one minute or the session stays on the Gateway, one more reason to measure logons.
Azure Virtual Desktop: RDP Shortpath
Azure Virtual Desktop starts every connection on a TCP-based reverse connect transport through the AVD gateway, then attempts UDP. If UDP succeeds, TCP is dropped; if not, TCP remains. There are two shapes:
- Managed networks: direct UDP over ExpressRoute or a VPN, in one of two ways. Either the session host runs a listener on UDP 3390, which is not on by default and must be enabled through Intune or Group Policy and allowed through Windows Firewall and the network security group, or the two sides negotiate the connection through STUN with no inbound port on the host. Managed networks also support QoS through DSCP marking, which the public modes do not.
- Public networks: direct UDP negotiated through STUN, or relayed through TURN when a direct connection is impossible. Session hosts need outbound UDP on 49152 to 65535 and UDP 3478 to Microsoft's STUN and TURN range, 51.5.0.0/16. A symmetric NAT, which is what Azure Firewall and Azure NAT Gateway present, forces the relayed path.
The host pool settings for all four options are enabled by default, so on an ordinary internet connection Shortpath usually works once the outbound UDP rules exist. Microsoft recommends a UDP-based VPN over a TCP-based one, because tunnelling UDP inside TCP brings back the behaviour you set out to avoid.
Proving the transport is in use
Neither platform tells users which transport they got, so check during the pilot:
- Citrix: Diagnostic mode for a test group, as above.
- AVD: the Connection Information dialog, opened from the signal icon on the connection bar, shows
UDP (Private Network)for a managed network,UDPfor a direct STUN connection andUDP (Relay)for TURN. Microsoft'savdnettest.exereports a client's NAT type, which predicts a direct or relayed connection before anyone logs on.
Record the result per site: the same session host serves a fibre office and a satellite depot very differently, and the transport is the first thing to rule in or out when one complains. Our checklist for remote mine sites covers the security side of the same links.
Choosing with the network in mind
HDX remains a Citrix strength: EDT, loss tolerant mode and HDX Direct give an administrator more levers for a difficult path, on premises or in Citrix DaaS on Azure. RDP Shortpath has closed much of the gap for Azure Virtual Desktop estates on reasonable connections. Our head-to-head comparison covers the rest of the decision; the network part is best settled by testing from your worst site.
Sources
- Citrix Virtual Apps and Desktops documentation: Adaptive transport
- Citrix Virtual Apps and Desktops documentation: Loss Tolerant Mode for Graphics
- Citrix Virtual Apps and Desktops documentation: Loss Tolerant Mode for Graphics, system requirements
- Citrix Virtual Apps and Desktops 2311 documentation: Loss tolerant mode
- Citrix Virtual Apps and Desktops documentation: HDX Direct
- Microsoft Learn: RDP Shortpath for Azure Virtual Desktop
- Microsoft Learn: Configure RDP Shortpath for Azure Virtual Desktop
Have your sites tested from the worst link first, with the virtual workspace team at OAS.
