At first, there are something wrong of my xrdp, just as XRDP on ARM64 bullseye issue shows.
I tried Bram's method, and I can use 'windows remote desktop connect' properly. However, I find that I can't use VNC any more, it shows "Cannot currently show the desktop".
More seriously, after a power off of my raspberry 4B, I can use neither VNC nor XRDP.
VNC still shows "cannot currently show the desktop", and the XRDP shows “internal error has occurred, error code: 0x4"(this is translated), how can I fix at least one of them?