Skip to content

Linux Notes

Adrian edited this page Jun 2, 2024 · 1 revision

Failure to Bind to Ports

Binding to ports <= 1024 will usually fail on Linux as they are protected by default. To verify this is an issue you are encountering, search your log for the following message: NetDll_WSAGetLastError: 10013

To fix this run this command:

sudo sysctl net.ipv4.ip_unprivileged_port_start=999
echo 'sysctl net.ipv4.ip_unprivileged_port_start=999' | sudo tee /etc/sysctl.d/99-xenia.conf

This command configures privileged ports to start at port 999 instead of port 1024 in this logon session and future logons. This should allow for most games to now bind.

If you are still seeing NetDll_WSAGetLastError: 10013 in logs after running this, you can try rerunning the previous commands with a number lower than 999. 23 should solve every case. You can try 0 but it will prevent you from running ssh.

It should also be noted that due to the way Steam Decks handle configuration, you will need to rerun this command on every reboot.