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
dnf install sway wayvnc lxterminal steam
WLR_BACKENDS=headless WLR_LIBINPUT_NO_DEVICES=1 sway
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