Don’t use TeamViewer, I had it set up for a couple of remote locations but they decided I was a commercial user and put a five minute timeout on my connections. I’m not a commercial and that five minute timeout was nearer thirty seconds.
Now I use VNC. Free for up to five computers and it’s working very well here. There is software for PC, Mac and Linux. I’m using it on my iMac to connect to three machines, one running Windows 10 and the other two are Raspberry Pis.