Remote desktop: black screen after connection. RDP, Fedora 36

Since some time I start seeing a black screen instead of a remote desktop. The connection is being established. I can even blindly enter passwords, close applications, resize them. The mouse cursor changes as you move. Where to dig?

I could be wrong, but the problem started after the experimenting with TeamViewer, which I wanted to try out under Wayland. But maybe it’s a coincidence.

Add: GNOME connections give the same result