How can I connect two Xbox's to one monitor?

Ja
- in Xbox
1

I have an Xbox Series X and an Xbox one both Xbox's can be connected via HDMI but I have 1 monitor. My monitor has 1x HDMI 1x Displayport 1x DVI connection.

How can I connect two Xbox s to one monitor

How can I now have both Xbox's connected to one monitor? So that I simply switch from HDMI to e.g. Can switch display port? Do I need a Displayport to HDMI cable for an Xbox? If so then it would be net if you could link it to me.

Fu

I have an HDMI hub for the Switch and the Xbox.