For additional logon delay troubleshooting, see Alexander Ollischer Xen App/Xen Desktop – “Please Wait For Local Session Manager” message when logging into RDS.
Sophos endpoint configure updating greyed out
Add your non-administrator RDP users to this local group so they can RDP directly to the machine.
From CTX228128 What is the HKLM\Software\Citrix\Port ICA\Direct Access Users registry function: The HKLM\Software\Citrix\Port ICA\Direct Access Users registry key determines which Local group the VDA references to determine if a user should be allowed Unbrokered RDP access.
CTX212439 Desktop Session Stuck in Pre-Logon State with Message “Please wait for the Local Session Manager”: Some environments will not accept the default port 80 for Virtual Delivery Agent registration, even though registration is authenticated and encrypted on port 80. Several people in Citrix Discussions reported the following issue: If you see a message about RD Licensing Grace Period has expired even though RD Licensing is properly configured, see Eric Verdumen No remote Desktop Licence Server availible on RD Session Host server 2012.
To change the port, do the following on the Virtual Delivery Agent: To enable Framehawk, see On 2012 R2 and newer RDSH, the only way to configure Remote Desktop Licensing is using group policy (local or domain). The solution was to delete the REG_BINARY in HKEY_LOCAL_MACHINE\SYSTEM\Current Control Set\Control\Terminal Server\RCM\Grace Period only leaving the default.
For example, if you allocate 20 GB of RAM to your Remote Desktop Session Host, and if the cache disk is only 15 GB, then Windows will have a default pagefile size of 20 GB, and Provisioning Services will be unable to move it to the cache disk.