Page 1 of 1

[0.17.34] Linux headless server question

Posted: Sun May 05, 2019 3:31 pm
by extibo
Hello,

I've successfully managed to start the Factorio Linux server via AWS. This is the guide that was used: https://www.reddit.com/r/factorio/comme ... ss_server/

However, there's an issue - I want to access the server console, since the Factorio server is started as a service. Tried googling, but couldn't find a concise solution for this issue. The only thing I know is that it can be done by using tmux and starting a session, but unfortunately I wasn't really successful with my attempts. Does anyone have an idea how this can be resolved? Thanks.

Re: [0.17.34] Linux headless server question

Posted: Tue May 07, 2019 4:11 pm
by fafler
Try installing screen (apt-get install screen as root) and change
ExecStart=/home/gamemaster/factorio/bin/x64/factorio --server-settings /home/gamemaster/factorio/data/server-settings.json --start-server-load-latest --console-log /home/gamemaster/Factorio.log
to
ExecStart=screen -dmS factorio /home/gamemaster/factorio/bin/x64/factorio --server-settings /home/gamemaster/factorio/data/server-settings.json --start-server-load-latest --console-log /home/gamemaster/Factorio.log

Restart the service and you should be able to use screen -r factorio to connect to the console.

Re: [0.17.34] Linux headless server question

Posted: Sun May 12, 2019 2:39 am
by Dae
On Lubuntu 18.04x64
i havez download the linux-serveur version.
unziped it on /server/

[ctrl alt T] chmod -R 775 ./ && exit

move to /bin/x64
tape F4 to terminal here,

Code: Select all

 ./factorio ./server-settings.json -v --start-server Multi1
(multi1 are the name of my save)

you need the "server-settings.json" file on the same file to run fine

to connect, add just your local Ip