Updated: 06 April 2024
With this remote-desktop
image from miscstuff it is straightforward to work on the desktop of a Linux container.
Run the container
docker run -itd --rm -p 7900:7900 --shm-size="2g" miscstuff/remote-desktop:0.1-alpha2
Then work on the desktop in a browser, via noVNC
http://localhost:7900/?autoconnect=1&resize=scale&password=secret