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.
[0.17.34] Linux headless server question
Re: [0.17.34] Linux headless server question
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.
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
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,
(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
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
you need the "server-settings.json" file on the same file to run fine
to connect, add just your local Ip