Viewing external video input over mini displayport
Screen sharing https://support.apple.com/en-gb/guide/mac-help/mh14066/mac or you could use a VNC solution. Have a look at Real VNC: https://www.realvnc.com/en/