You cannot record Xbox 360 gameplay by simply sharing a monitor. The monitor displays one input at a time; PC capture software needs a video signal input, not a shared display.
Budget pick: Used Elgato HD60 (non-S) ~$50–$70 on eBay. Works with OBS on Windows/macOS/Linux.