Kodi 21.1 will not run inside Remote Desktop Session



Windows 11 24H2

With Kodi version < 21.1, i could start Kodi within an RDP session. With 21.1, if i try to open Kodi, i get the splash screen and then it closes right away.

If i fire up Chrome Remote Desktop or AnyDesk, i can start Kodi.

Once started, if i try to connect with RDP, Kodi will close a couple of seconds after i connect. This happens even if i use the /console argument for RDP.

Looking at the log, it seems to crash when trying to detect the audio devices. (Stops right before detecting the audio devices)