Brand logo
HomeCloud ComputingSecuritySoftware DevelopmentAI ApplicationsStartupsGeneralAbout Us
  1. Home
  2. /
  3. general
  4. /
  5. greenlight-raspberry-pi-xbox-streaming-terminal

How to Stream Xbox Games to a Raspberry Pi with Greenlight (Setup Guide)

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

What Is Greenlight?

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.

What Do You Need?

  • Raspberry Pi 5
  • Bluetooth controller
  • Greenlight
  • Local network (Wi-Fi or, ideally, Ethernet)
  • Xbox Series X or Series S

How much performance should you expect?

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.

How Do You Enable Remote Play on the Xbox?

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.

How Do You Install Greenlight on Raspberry Pi OS?

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.greenlight

That last command pulls the build hosted on Flathub, which keeps current packages for Linux desktops including Raspberry Pi OS.

How Do You Pair a Controller?

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.

How Do You Sign In and Start Streaming?

Start Greenlight from the command line to test it:

  • $ flatpak run io.github.unknownskl.greenlight

You 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.

How Do You Boot Straight Into the Stream?

Add the --fullscreen option to drop the desktop out of the way:

  • $ flatpak run io.github.unknownskl.greenlight --fullscreen

Then 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=F4000C7189B1AD52

Create a .desktop file so Raspberry Pi OS launches the app at boot:

  • $ mkdir -p ~/.config/autostart
  • $ nano ~/.config/autostart/greenlight.desktop

Add these entries to greenlight.desktop:

  • [Desktop Entry]
  • Type=Application
  • Name=Greenlight
  • Exec=flatpak run io.github.unknownskl.greenlight --fullscreen --connect=<Console ID>

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.

What Can You Play?

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

Common Pitfalls and Fixes

  • Black screen away from home. Greenlight does not use the Teredo tunneling that the official Xbox app relies on, so streaming outside your network means forwarding UDP port 9002 to the console. Only expose that port — or prefer a VPN.
  • Stutter on wireless. Wi-Fi adds variable latency; use Ethernet, or at least the 5 GHz band Microsoft recommends for remote play.
  • Xbox will not wake. Confirm the power mode is Sleep rather than Shutdown.
  • Controller drops out. Recharge it and re-pair; keep the Pi within normal Bluetooth range of your seat.

Frequently Asked Questions

Does the Raspberry Pi run the game?

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.

Can I use an official Xbox controller?

Yes. The walkthrough used an 8BitDo Pro 2, and an actual Xbox gamepad works too.

Will it work over Wi-Fi?

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.

Can I stream outside my home network?

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.

Which Raspberry Pi should I buy?

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.

Sources

  • Raspberry Pi Official Magazine: Remote play GTA VI with Raspberry Pi and Greenlight
  • unknownskl/greenlight repository: github.com/unknownskl/greenlight (an application wrapper around xbox-xcloud-player)
  • Flathub listing: io.github.unknownskl.greenlight
  • Xbox Support: remote play setup test results and remote play setup guidance
  • Greenlight issue #1177: console streaming on another network (Teredo / port 9002)

Launch Checklist

  • Xbox remote features enabled; power mode set to Sleep
  • Raspberry Pi OS updated; Flatpak and Flathub configured
  • Greenlight installed and signed in at https://www.microsoft.com/link
  • Controller paired; stream tested on Ethernet or 5 GHz Wi-Fi
  • .desktop autostart entry and Desktop Autologin enabled
Brand logo

IT Insights

Cloud & Infrastructure Practice Media for Enterprise Technology Decision-Makers

Cloud ComputingSecuritySoftware DevelopmentAI ApplicationsStartupsGeneralAI Data News GlobalAbout Us

© 2026 IT Insights.

Cookie Notice

We use cookies to improve your experience and analyze website traffic. Read our Privacy Policy to learn more.