Moonshine: Stream Games from Your Linux PC to Any Device with Moonlight
Moonshine: Lets you stream games from your PC to any device running Moonlight
I built Moonshine, a headless streaming server written in Rust that lets you stream games from your Linux PC to any device running Moonlight. It runs each game in an isolated session, so your host remains usable without needing a monitor. With support for H.264, H.265, and AV1 encoding, plus full input and HDR capabilities, it offers a seamless remote gaming experience on Linux.
"Moonshine runs each streaming session in its own isolated environment, separate from your desktop, meaning your host PC stays usable while you stream and it works without an active desktop session."
HN discussion
- Moonshine's creator explains that unlike Sunshine, it creates its own compositor to enable true headless operation without a physical dummy plug or a running desktop environment.
- Practitioners note that while Nvidia GPUs typically refuse to accelerate 3D rendering without a connected output, Moonshine circumvents this limitation by managing its own virtual display session.
- Users distinguish Moonshine from cloud services like Stadia or Games on Whales, emphasizing that it streams directly from a local dedicated PC rather than relying on remote data center capacity.
- One commenter highlights a specific workflow where TPM-based auto-unlock allows remote gaming on an idle Linux PC, though kernel updates can occasionally break the encryption seal.
- Critics point out that while Moonshine offers a lean, Vulkan-only architecture, it lacks the broad compatibility and documentation of established solutions like Sunshine or Apollo on Windows.