Stream Xbox games to a Raspberry Pi 5 with Greenlight and Flatpak
Raspberry Pi's tutorial shows how to turn a Pi 5 into an Xbox remote-play client using the open Greenlight app installed through Flatpak.
Only one TV in the house? Raspberry Pi Official Magazine editor Lucy Hattersley has written a tutorial, published on the Raspberry Pi News site and flagged by the Adafruit Blog, showing how to stream games from an Xbox Series X or Series S to a Raspberry Pi so you can play in another room.
The software is Greenlight, a cross-platform client wrapped around the xbox-xcloud-player library. It runs on Linux, macOS, Windows and Steam Deck, and streams video and audio from Xbox One and Series X/S consoles. Because the console does the heavy lifting, CPU demands on the Pi are light; the tutorial used a 2GB Raspberry Pi 5, and notes the Pi 5’s VideoCore VII GPU is roughly three times faster than the Pi 4’s.
The steps
- On the Xbox, enable remote features under Settings, Devices & connections, Remote features.
- Set the power mode to Sleep instead of Shutdown (Settings, General, Power options) so the Pi can wake the console.
- On a fresh Raspberry Pi OS install, install Flatpak with apt, add the Flathub repository, then install io.github.unknownskl.greenlight.
- Pair a Bluetooth controller from the desktop Bluetooth menu. The author used an 8BitDo Pro 2, but an Xbox pad works too.
- Launch Greenlight, sign in to your Microsoft account using the code it shows, then click Start Stream.
A local network is required, and Ethernet is recommended over Wi-Fi. Adding the –fullscreen option runs Greenlight full screen, and the tutorial also covers creating a .desktop entry so it launches at boot.
Beyond gaming, it is a tidy introduction to installing cross-platform Linux apps with Flatpak on a Pi, and the original walks through the autostart setup in detail.