Linux Dedicated Steam Servers

Been trying to build and run a linux dedicated server with my co-worker for the past week and we’ve made some progress. There’s a few questionmarks though, and I was kinda hoping someone else had battled them as well. We have been successful in firing up the dedicated server on our google vm, but only the non-steam version. we can join and everything is splendid. But as soon as we omitt the -nosteam command argument it fails on loading steamclient.so, so the steam online subsystem isn’t able to start. I’m pretty sure we’ve lurked our way through every post there is about Linux Dedicated servers for ue4, are there any bits of documentation that wouldn’t be visible with a simple google search?

Turns out that the steamclient.so lib is in a path that the binary doesn’t recognize since I don’t have the default steam workdir path installed. So I simply copy pasted steamclient.so from the steamcmd directory into the same folder that the binary resides. Now I get the same error but instead of saying it can’t find the directory/file it says that I have the wrong ELF class :ELFCLASS32, which means the binary is 64bit whilst the library is 32bit. So my next step is to try and build a 32bit linux dedicated server.

1 Like

People who read to this question in 2018 might be interested to know that this problem is still present. :wink:

The only and not-documented way to obtain the apparently necessary steamclient.so on Linux is to copy it from the SteamCmd Linux install folder.
Neither of Valve’s or Epic’s Steam examples seem to work on Linux without this manual, yet, undocumented step.

(steamclient.so is not present in the SteamWorks SDK 1.42.)

Still relevant, thanks for the info :slight_smile:

Well, it’s 2022, and this is still an issue. Someone created the ticket back in 2020, and Epic classifies it as “Won’t Fix” :upside_down_face:

For those with x64 issues, follow the steps to reproduce in the above link; the 64bit library is located at steamcmd\steamapps\common\Steamworks SDK Redist\linux64

1 Like

2023, no progress :frowning:

Thanks :slight_smile: Logs says Steam_API Ok. I’ll try to connect now.

When connecting, I’m getting this error:

src/common/opensslconnection.cpp (1616) : unable to load trusted SSL root certificates

I need to download SSL also.

Fixed SSL with these commands;
RUN apt-get update
RUN apt-get install -y ca-certificates
RUN update-ca-certificates
But I can’t connect :confused:


Hey, you can generate the steamclient.so file (for 64 bit) through the following command. This command is run in the windows terminal. You will need to download the steamcmd to your windows machine.

(Reference link)
https://developer.valvesoftware.com/wiki/SteamCMD#Getting_a_Linux_64-Bit_steamclient.so_on_a_Windows_Machine

1 Like