Setting up a ECO server on Ubuntu (other linux is probably very similar)

  • Hi guys i'm new around here but not new in the Linux world and figured like those reading this post that you probably like to host your game servers on linux. This was my only issue so far with Eco so I decided to take some time and see what/if any information was out there to assist me in this. Turns out it's really simple to setup and host on.

    Things you will need to do:

    • sudo apt-get update

    • sudo apt-get install unzip

    Follow this links instruction to install the latest version of MONO.

    You only need to complete steps 1 and 2 (nothing else)

    Once that is done you should run this command.

    • mono -V

    The output should say Version is 5.4+ if everything went right.

    Now to get the server files and start setting up your server...

    And that's it boys and girls, If all went ok you should now be waiting for your server to build on your linux box.
    I'll be making some interesting things for myself with managing the server but may post them here if others would like.


    • WebUI doesn't work 100% see attached picture.
    • You tell me if any other...

    If your like me and learn from watching videos on YouTube, Your in luck!
    Simple setup tutorial

  • 52
    Log in to reply

  • For anyone else that is running Debian such as myself to get the mono package do the following

    apt-get update
    apt-get install unzip
    apt-get install mono-complete

    Log into your account to see what the latest server is and download it using wget
    there are several examples listed above on how to use wget or do a man wget
    for help.

    Use unzip to unzip the server that you download again man unzip for help.

    I would also recommend running this as a separate user instead of just making
    a directory.

    do the following:

    adduser eco
    su eco

    You must be root when you are doing this
    This will add the a user called eco and then change to that new account
    that you just created and then take you to the home directory for eco which
    should be /home/eco

    The process of getting an eco server setup on Debian was really easy. I do have
    30+ years though of running Linux. :)

  • Hey
    I followed your tutorial but every time I start the server, it looks like it is starting, right until world gen:
    It runs for between 40-80% (seems random) then suddenly writes "Killed" and it shuts down.

    Anyone know why?

  • @Swahgner said:

    I followed your tutorial but every time I start the server, it looks like it is starting, right until world gen:
    It runs for between 40-80% (seems random) then suddenly writes "Killed" and it shuts down.

    Anyone know why?

    Well was there anything in the log files? Anything to go on? we need a lot more information other than
    what was given if we want to troubleshoot this issue.

    What flavor of linux you running Debian, Redhat, Slackware etc.

    Post your logs as well if there is anything in the logs.

    Does it give you anything more than just "killed" on your screen any other error messages?

    What version of the Eco server are you trying to run are you using the latest if not
    I would recommend getting the latest version.

    What are the stats of the machine running your Linux OS? how much memory free hard drive space, CPU etc.


  • Ok a couple more tips on running and Eco server under Linux

    so this is the script I use to start my server it is a simple and
    dirty script I use to start my eco server

    Once you create it remember to chmod 700

    I call it

    mono EcoServer.exe -nogui &

    I made a script to run to find the process ID to be able to kill the server

    once you recreate this file remember to chmod 700

    I call this

    ps -aef | grep -v grep | grep 'EcoServer.exe' | awk '{print $2}'

    That is all it is.. what it will do is print out the PID of the process for your EcoServer.exe
    very short and dirty but it works well for me on Debian. If it doesn't return anything that means
    the server is not running.

    Another issue I found was that how do you get access to the admin commands running the server on Linux

    The first thing you need is your steam64id or slgid

    To get the slgid go to

    And log into your account the slgid will be called your User ID: it will look something like this

    I do not know how to get the steam id since I am not a steam user sorry.

    Now I found a really good guide on how to setup your server so it
    recognizes you as an admin the guide is at

    you have to go into the Configs directory and edit the file
    go down to where it says Admins Now my config file looks something like this my ID
    has been changed here in this example

    If you have to add two people all you do is add a comma for example

    "slg666666", "slg666667"

    This is an example for Beta 7.2.5 that I am using

    "Admins": {
    "$id": "4",
    "System.String": {
    "$type": "System.Collections.Generic.List`1[[System.String, mscorlib]], m$
    "$values": [

    I hope that this helps everyone out

  • I had no idea anyone ever posted here, I'm sorry guys I just got on here to grab a screenshot of the old bugs. Anyways I don't often check this forum, Please reach out to me on the official Discord in the Linux discussion channel, I'm more then willing to help you and have even made tools to make it easier. Hope to see you there and just Mention me and i'll get back to you.

  • @AngelEpa Did you ever figure out how to get past your "Failed to start UDP client, LAN discovery may not be available." problem?

  • There is a problem. After leaving the putty console the server switches off. What should I do to make it work?

  • @Acheron
    Run it in screen:
    screen -AdmS eco mono /path-to-exe/EcoServer.exe -nogui.

    I got another problem. In the first post it says mono version 5.4+ but atm mono only released 5.14?!
    Can someone help me there?
    Edit: Ah I get it. 0.4 is lower than 0.14. Even if that numbering is a bit odd.
    Still I cant run a server.
    It just quits at 100% without an error.
    Running Debian Stretch.

    Visit us under !

  • Some quick notes from my experiences:

    • If the terminal colors are terrible you can run it through cat to strip color. Unfortunately this also ruins formatting, but at least you can see all the text.
    mono ./EcoServer.exe -nogui | cat
    • For Nix/Nixos users, bring in mono and run it like this:
    nix-shell -p mono58
    mono ./EcoServer.exe -nogui

Log in to reply

Internal error.

Oops! Looks like something went wrong!