Connect Linux-pc to xbox-one-x


I was wondering if i could connect my Linux pc to a Xbox one X. Windows has this build in and im pretty sure some one has either wondered the same or fixed it already. i just am not familliar with any software that would help with it.
Best would be to stream games from Xbox to pc. Got Game pass (happy wife happy…) so it would be nice to be able to utilize it on linux PC some how. Not going to run windows just for gaming.

Do you have ideas or experience about this?