If you need to develop Linux-based projects, especially if they have a GUI on macOS with Apple Silicon, it has been quite difficult lately because of different architectures.

I have improved docker-xrdp environment, where you have x86-based docker image with desktop environment with Remote Desktop connection.

Enjoy!

https://github.com/jooray/docker-xrdp