Otherdesk guides.

Connect to your Mac, then use it.

Turn on Screen Sharing, add a Mac, use the pointer and keyboard, then fit the display to this screen.