Forum Discussion

d31v1d's avatar
d31v1d
Icon for Nimbostratus rankNimbostratus
Aug 10, 2025

Delay Remote Desktop Response to Client

Hello,

We're currently using F5 APM to provide VDI/RDP secure access via a Remote Desktop resource assigned to the Webtop. When a user clicks the icon, an .rdp file is downloaded, which they then open in Microsoft Remote Desktop, Remmina, or a similar client.

I was recently asked if it would be possible to keep the target VMs powered off by default , and have BIG-IP
power them on before they are accessed. This is accomplished via REST API calls to the VDI solution.

I've successfully implemented this logic using iRules LX. However, the issue is that the .rdp file is delivered to the user before the iRule has completed execution. As a result, the user could attempt to connect while the VM is still in the propcess of powering on.

Is there a way to delay sending the .rdp file to the client until after the iRule has finished running? Has anyone implemented a similar approach before?

Thanks in advance.

 

1 Reply

  • Hello d31v1d​ it might be achivable though irules
    I am thinking of catching the rdp download, executing some sideband connection and after a succesfull response releasing download
    or
    catching https://VIP/f5vdi/rdp/launch/Common/*  and just add some delay with after command https://clouddocs.f5.com/api/irules/after.html

    But both sound like bad user experience

    What VDI are you using?

    My point is that APM has native integration for both Citrix and VMware so if you use one of these it might be better to use native integration instead of RDP.