[Linux] Headless server / vnc (Maybe too soon?)
- darkrising
- Inserter
- Posts: 26
- Joined: Sun May 04, 2014 7:32 pm
- Contact:
[Linux] Headless server / vnc (Maybe too soon?)
I was just experimenting with factorio over a ssh tunnel (better than hamachi) and it actually works quite well. However I was wondering if anyone got factorio to work on a server without a graphics card or over vnc, all I get is a "failed to create display" error.
It's probably too soon for any dedicated servers but I was just curious.
It's probably too soon for any dedicated servers but I was just curious.
Re: [Linux] Headless server / vnc (Maybe too soon?)
I've been doing the same thing..
I've yet to get it to work via vnc,
the only thing I can think of as a semi-solution is to use x-fowarding..
I've yet to get it to work via vnc,
the only thing I can think of as a semi-solution is to use x-fowarding..
Re: [Linux] Headless server / vnc (Maybe too soon?)
This is an interesting idea (to allow factorio run in a "console mode" without graphics). Together with couple of other tweaks (starting MP game without a player) it would make dedicated servers perfectly possible.
Re: [Linux] Headless server / vnc (Maybe too soon?)
This would be really cool!
In case someone tried following I can tell:
- you have an Ubuntu Server 14 running.
- you downloaded factorio 11.1 and extracted it (e.g. /home/user/Download)
- now you want to open factorio - didn't work via console
- you install gnome and stuff only for factorio <3
- you try TightVNC: From Windows to Ubuntu Server (because Teamviewer telling you "connection error"...)
- if you try double click on factorio executable nothing happens
- you are willing to install Mint to be for sure happy...
BUT you can just
- forget SSH / VNC and find a monitor + keyboard + mouse and put it in your ubuntu server system
- double click factorio and be happy
(My spec: Shuttle X36V4 - 4GB RAM - 64GB SSD - Intel Celeron J1900)
In case someone tried following I can tell:
- you have an Ubuntu Server 14 running.
- you downloaded factorio 11.1 and extracted it (e.g. /home/user/Download)
- now you want to open factorio - didn't work via console
- you install gnome and stuff only for factorio <3
- you try TightVNC: From Windows to Ubuntu Server (because Teamviewer telling you "connection error"...)
- if you try double click on factorio executable nothing happens
- you are willing to install Mint to be for sure happy...
BUT you can just
- forget SSH / VNC and find a monitor + keyboard + mouse and put it in your ubuntu server system
- double click factorio and be happy
(My spec: Shuttle X36V4 - 4GB RAM - 64GB SSD - Intel Celeron J1900)
Last edited by PalllaX on Mon Nov 03, 2014 9:50 am, edited 1 time in total.
Re: [Linux] Headless server / vnc (Maybe too soon?)
oh, you get it to work with VNC? What program / setup did you use?icecube45 wrote:I've been doing the same thing..
I've yet to get it to work via vnc,
the only thing I can think of as a semi-solution is to use x-fowarding..
Re: [Linux] Headless server / vnc (Maybe too soon?)
"I've yet to get it to work via vnc"PalllaX wrote:oh, you get it to work with VNC? What program / setup did you use?icecube45 wrote:I've been doing the same thing..
I've yet to get it to work via vnc,
the only thing I can think of as a semi-solution is to use x-fowarding..
No, I havn't.
I found a semi solution, using xfowarding to run the game, however, this does not allow for 24/7 servers
Re: [Linux] Headless server / vnc (Maybe too soon?)
sfto XD
Isn't there some kind of "display sink" you can use? Having an extra lifeless player doesn't really matter, I reckon. He might be in the way though.
Isn't there some kind of "display sink" you can use? Having an extra lifeless player doesn't really matter, I reckon. He might be in the way though.
- darkrising
- Inserter
- Posts: 26
- Joined: Sun May 04, 2014 7:32 pm
- Contact:
Re: [Linux] Headless server / vnc (Maybe too soon?)
Build a wall around him, it'll be fineKirk wrote:sfto XD
Isn't there some kind of "display sink" you can use? Having an extra lifeless player doesn't really matter, I reckon. He might be in the way though.
But yeah, we need a dedicated server asap
Re: [Linux] Headless server / vnc (Maybe too soon?)
You could use Xvfb or Xdummy and have Factorio run on that, making it eat the game rendering. Granted this would also prevent you from seeing the UI.
Re: [Linux] Headless server / vnc (Maybe too soon?)
Totally forgot about xdummy!zekesonxx wrote:You could use Xvfb or Xdummy and have Factorio run on that, making it eat the game rendering. Granted this would also prevent you from seeing the UI.
Trying it out now
I've got it working
Re: [Linux] Headless server / vnc (Maybe too soon?)
The next step is to remove the peer-to-peer connections, so an unstable user can play without slowing everyone else down.slpwnd wrote:This is an interesting idea (to allow factorio run in a "console mode" without graphics). Together with couple of other tweaks (starting MP game without a player) it would make dedicated servers perfectly possible.
Re: [Linux] Headless server / vnc (Maybe too soon?)
So!
I've gotten a "dedicated" server to work
Stress testing it with the help of the irc channel
I've gotten a "dedicated" server to work
Stress testing it with the help of the irc channel
Re: [Linux] Headless server / vnc (Maybe too soon?)
Cool! How is it going?icecube45 wrote:So!
I've gotten a "dedicated" server to work
Stress testing it with the help of the irc channel
Re: [Linux] Headless server / vnc (Maybe too soon?)
Awesome!! I am keen to hear how this goes!!
Re: [Linux] Headless server / vnc (Maybe too soon?)
By the way, you can move the lifeless player with belts if he's in the way XD
Also a fun activity with AFK players. You could kill them so they lose their inventory, belt them into the middle of nowhere, and then build a maze around them.
Also a fun activity with AFK players. You could kill them so they lose their inventory, belt them into the middle of nowhere, and then build a maze around them.
Re: [Linux] Headless server / vnc (Maybe too soon?)
PalllaX wrote:
Cool! How is it going?
It's been running all night, and only crashed a few times due to players joining at the same timeCre8torzn wrote:Awesome!! I am keen to hear how this goes!!
-
- Filter Inserter
- Posts: 402
- Joined: Fri May 23, 2014 8:54 am
- Contact:
Re: [Linux] Headless server / vnc (Maybe too soon?)
I think disco mode has to take some credit for crashing the server.icecube45 wrote:only crashed a few times due to players joining at the same time
Re: [Linux] Headless server / vnc (Maybe too soon?)
Oh yes.. disco mode.JamesOFarrell wrote:I think disco mode has to take some credit for crashing the server.icecube45 wrote:only crashed a few times due to players joining at the same time
James used it to experiment with save game embedded modding
Re: [Linux] Headless server / vnc (Maybe too soon?)
So, can you tell us how to setup a dedicated server? Would be great. Or does someone know when the next update is coming?
Re: [Linux] Headless server / vnc (Maybe too soon?)
PalllaX wrote:So, can you tell us how to setup a dedicated server? Would be great. Or does someone know when the next update is coming?
I'm hoping to make a guide in a bit
James says he'll try to make me an embedded mod first, that will pause entities when no one is connected.
Then I'll release the guide