Private Server will not start at all, either from desktop launcher or through Steam



  • Starting the Private Server hangs when the backend module loads, never proceeding past it. It seems to think that Steam is not running, but it is.

     

    Excerpt from backend.log:

    Loading mods in 'mods'
    Connecting to storage
    Starting CLI server
    Connecting to local Steam client failed: Steam is not running
    Using Steam Web API authentication instead
    Error: STEAM_KEY environment variable is not set!
    at Object.startServer (/home/rysade/.steam/steamapps/common/Screeps/server/modules/backend/lib/game/server.js:89:19)
    at common.storage._connect.then.then (/home/rysade/.steam/steamapps/common/Screeps/server/modules/backend/lib/index.js:16:28)
    at _fulfilled (/home/rysade/.steam/steamapps/common/Screeps/server/modules/common/node_modules/q/q.js:834:54)
    at self.promiseDispatch.done (/home/rysade/.steam/steamapps/common/Screeps/server/modules/common/node_modules/q/q.js:863:30)
    at Promise.promise.promiseDispatch (/home/rysade/.steam/steamapps/common/Screeps/server/modules/common/node_modules/q/q.js:796:13)
    at /home/rysade/.steam/steamapps/common/Screeps/server/modules/common/node_modules/q/q.js:604:44
    at runSingle (/home/rysade/.steam/steamapps/common/Screeps/server/modules/common/node_modules/q/q.js:137:13)
    at flush (/home/rysade/.steam/steamapps/common/Screeps/server/modules/common/node_modules/q/q.js:125:13)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)

     

    It continues on that way for quite a while and never fails out.

    Steam is starting differently from how it normally does, using the following line:

    LD_PRELOAD='/usr/$LIB/libstdc++.so.6' DISPLAY=:0 /usr/bin/steam

    The reason for that is Steam would not start at all without it, though I don't know why.