Screen sharing failed

Good morning everyone. I am writing to figure out how to solve a problem I am having with my Mac mini M1. I own a new Mac mini with M1 processor and a 13" MacBook Pro with Intel processor. I wanted to configure both so that at any time I can connect remotely via VNC.

I configured the two Macs this way in the system preferences:

When I connect from my Mac mini M1 to my MacBook Pro Intel there are no problems in fact everything works perfectly. However, when I connect from my MacBook Pro to my Mac mini I get this error:

I can't really understand what the problem is also because looking in the Firewall settings I see that the remote control is enabled for incoming connections. These are the configuration screens of the integrated Firewall of the Mac mini (identical settings in the MacBook Pro):

If I completely disable the Firewall on my Mac mini then the problem is solved but I would like to keep it active so as to add an extra layer of protection. How can I solve the problem? In the Firewall settings everything seems to be ok and they are perfectly equal to those of the MacBook Pro. It should give me the problem there too if it was a configuration problem but instead it doesn't.

Could someone help me solve this problem? Thank you in advance.

Screen sharing failed
 
 
Q