Desktop launches and then disappears. Once the machine is rebooted sometimes it works and sometimes it does not work even after reboot. Problem started after upgrading from VDA 2209/2311 to VDA 2402.
Setting the following registry key resolved the issue:
HKLM\SOFTWARE\Citrix\Graphics
GfxLoadTimeout DWORD
Value: 40000
Citrix Graphics Manager fails to initialize successfully. CDF traces indicate that when trying to load Twconsumer.dll, there was some delay at the OS level and this resulted in a timeout leading to the issue.