These are the steps taken to setup Steam streaming on a headless machine running Linux. These steps were preformed completely without any input or output devices on the headless system. Only network and power cables were plugged in.
dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
useradd gaming
dnf install sway wayvnc lxterminal steam
WLR_BACKENDS=headless WLR_LIBINPUT_NO_DEVICES=1 sway
wayvnc 0.0.0.0
rsync -raP .local/share/Steam/ gaming@<server>:~/.local/share/Steam
Those are all the required steps. Now on your local machine, load up Steam and you’ll be presented with an option to run your games on the server.
You’ll want to set the screen resolution, this can be done by adding the following into your sway configuration file on the headless machine:
output HEADLESS-1 resolution 1920x1080
Make sure to checkout the VNC server’s FAQ if your local machine is also running sway.
If you want to make sure that everything is stopped, run the following:
pkill -u gaming
Website Last Updated on 4 Oct 2024 (CC BY-SA 4.0)
This site uses JQuery and nanogallery2 hosted by jsdelivr.net
for the Flickr photo feed and GoatCounter for user insights.