Can't connect to Ubuntu desktop due to local prompt

Bazsl
Bazsl Posts: 19

I have successfully installed TeamViewer host on a PC running Ubuntu desktop. When I try to connect from a Windows 11 PC to the Ubuntu PC a prompt appears on the Ubuntu PC asking if it is ok to share the screen and I must click Share on the Ubuntu PC before the remote connection is made. How can I get rid of the "share screen" prompt on the Ubuntu PC so I can connect remotely? Thanks.