Docker desktop fails to start when accessing machine over xrdp

Hey,

Here is a strange problem. Docker desktop works fine if I login locally into Ubuntu 22.04 (Gnome). I now want to access the desktop envirnoment over RDP, and have installed xrdp (following these instructions, although I skipped step 4, there were no snapd errors in my logs).
I can login fine over rdp, and everything seems to work, apart from Docker Desktop. It fails to start with the error message (in a pop-up): “missing virtualisation support”, and if I start it from the terminal it gives out the errors:

dial unix <HOME>/.docker/desktop/backend.sock: connect: "connection refused"
Sending event Error: connect ECONNREFUSED <HOME>/.docker/desktop/backend.sock

So I think the “missing virtualisation support” error message is incorrect, and somehow the socket for docker desktop is not set up correctly. The systemd docker service is running without errors in the background. Do you have any suggestions how this could be fixed?