if I use teamviewer, do I still need monitor for it or not?
You can control every pc with teamviewer without requiring any monitor attached to them.
In my experience with Team Viewer on PCs without a monitor attached, the display will be limited to 640x480. It's enough to monitor the miner and make config changes, but it will feel small.