Yes — Greenlight lets a Raspberry Pi act as a second Xbox screen. The free, open-source client streams video and audio from an Xbox console over your local network, so one television can be shared instead of fought over. This practical setup follows the walkthrough originally published by Lucy Hattersley in Raspberry Pi Official Magazine.
By Maya Brooks · IT Insights
Greenlight is a client application built around the xbox-xcloud-player library. It is cross-platform, running on Linux, macOS, Windows, and Steam Deck, and it streams video and audio from Xbox One and Xbox Series X/S consoles with gamepad support included.
The guide paired an 8BitDo Pro 2 controller, although an actual Xbox gamepad also works. Because the console does the rendering, the client stays light: the original tutorial ran on a Raspberry Pi 5 with 2GB of RAM and reported fairly light CPU load.
For this type of application, Raspberry Pi 5 performs significantly better than Raspberry Pi 4 or Raspberry Pi Zero 2 computers: the VideoCore VII GPU is roughly three times faster on Raspberry Pi 5 than on Raspberry Pi 4. Any Raspberry Pi with a good local network connection should produce usable results.
| Board | Suitability for streaming |
|---|---|
| Raspberry Pi 5 | Recommended; tutorial hardware |
| Raspberry Pi 4 | Workable, but clearly slower GPU |
| Raspberry Pi Zero 2 | Runs, with the weakest showing of the three |
Bandwidth matters more than brute force. Microsoft's remote play setup test requires at least 4.75 Mbps upload, with 9 Mbps or faster rated optimal, and the console guidance recommends 7–10 Mbps on a 5 GHz Wi-Fi network. Wired Ethernet remains the safest choice for a fixed terminal behind a television.
Remote Play must be switched on before the Pi can see the console. Open Settings, choose Devices & connections and Remote features, and place a tick next to Enable remote features.
Set the power mode to Sleep rather than the default Shutdown as well — this lets the Raspberry Pi wake the Xbox when it wants to connect remotely. The option sits under Settings, General, and Power options.
Start with a fresh installation of Raspberry Pi OS, connected to the internet and on the same network as the Xbox. Flatpak is the tool used here for cross-platform Linux programs, and Greenlight will later run in full-screen mode with a .desktop entry so it launches at boot. In a terminal:
$ sudo apt update$ sudo apt install flatpak$ sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo$ flatpak install flathub io.github.unknownskl.greenlightThat last command pulls the build hosted on Flathub, which keeps current packages for Linux desktops including Raspberry Pi OS.
Check that the Bluetooth game controller has some charge and put it into pairing mode — usually a button on the device with a light that flashes while pairing.
Click the Bluetooth icon at the top right-hand side of the interface (or in the Dock, if that is being used). Choose Add Device, highlight the games controller in the Add New Device window, and click Pair. A window will display Pairing Successful – Connecting; when Connection Successful appears, click OK.
Start Greenlight from the command line to test it:
$ flatpak run io.github.unknownskl.greenlightYou will see a message that says 'to sign in, use a web browser to open the page https://www.microsoft.com/link and enter the code', along with an eight-digit code. Open a browser, visit https://www.microsoft.com/link, and enter the code shown. Sign in with the same Microsoft account you use for your Xbox, click OK in the pop-up, and return to Greenlight.
Your console appears on the left-hand side of the window. Click Start Stream to connect the Raspberry Pi to the Xbox.
Add the --fullscreen option to drop the desktop out of the way:
$ flatpak run io.github.unknownskl.greenlight --fullscreenThen pin the console identification number — found under the Xbox graphic in the top-right window of Greenlight, looking something like 'F4000C7189B1AD52' — so the app connects directly:
$ flatpak run io.github.unknownskl.greenlight --fullscreen --connect=F4000C7189B1AD52Create a .desktop file so Raspberry Pi OS launches the app at boot:
$ mkdir -p ~/.config/autostart$ nano ~/.config/autostart/greenlight.desktopAdd these entries to greenlight.desktop:
Press CTRL+O and CTRL+X to save and exit. Finally, enable auto login with $ sudo raspi-config: navigate to System Options, choose Boot / Auto Login, then Desktop Autologin, and reboot. The Pi now boots straight into a mirrored Xbox screen — a single-app console.
The familiar Xbox interface now sits on the Raspberry Pi desktop; use the controller to launch any title, including Grand Theft Auto VI — the scenario the original Raspberry Pi Official Magazine feature builds toward. If keyboard controls are needed, keys in Greenlight are mapped as follows:
| Control | Key |
|---|---|
| D-pad | keypad direction controls |
| Buttons | A, B, X, Y, Backspace (mapped as B), Enter (mapped as A) |
| Nexus (Xbox button) | N |
| Left bumper | [ |
| Right bumper | ] |
| Left trigger | - |
| Right trigger | = |
| View | V |
| Menu | M |
No. The Xbox renders and encodes; the Pi decodes the stream and returns controller input. That division of labour is why a Raspberry Pi 5 with 2GB of RAM handles the job comfortably.
Yes. The walkthrough used an 8BitDo Pro 2, and an actual Xbox gamepad works too.
It will, preferably on a 5 GHz network; Microsoft notes 2.4 GHz works but is not optimized. For a terminal fixed behind a television, Ethernet is the dependable option.
Yes, with router configuration: Greenlight lacks Teredo support, so UDP 9002 must be forwarded to the console. Weigh the exposure against a VPN before opening ports.
A Raspberry Pi 5 is the sweet spot. Raspberry Pi 4 and Raspberry Pi Zero 2 can run the client but trail on GPU throughput — the VideoCore VII is roughly three times faster than the older board's.