screen cut off

I'm connecting from one ubuntu 16.04 computer to another ubuntu 18.04 computer. I can connect, but can't see the left edge of the remote site (where all the programs are). The display is fine without teamviewer if I just move the monitor cable from one computer to the other.

Tagged: