Page 1 of 1

Stand-alone headless server

Posted: Mon Oct 01, 2018 8:21 am
by baloo
Is it possible to use Love without initialising window and graphics? I.e. to use it as a stand-alone headless server.

Re: Stand-alone headless server

Posted: Mon Oct 01, 2018 9:45 pm
by zorg
Hi and welcome to the forums.

Look at the Config Files article, since you want that; you can specify the following:

Code: Select all

t.window = false
Instead of the table stuff.

That will make it run headless.

Re: Stand-alone headless server

Posted: Tue Oct 02, 2018 3:29 pm
by pedrosgali
I think you also need to set love.graphics to false, I had trouble running on Ubuntu server 18.x until I turned that off.

Re: Stand-alone headless server

Posted: Tue Oct 02, 2018 4:37 pm
by pgimeno
Did you mean to set 'modules.graphics = false'?

Re: Stand-alone headless server

Posted: Fri Oct 05, 2018 3:17 pm
by pedrosgali
Yes I did.

Re: Stand-alone headless server

Posted: Mon Oct 15, 2018 5:57 am
by baloo
Thanks!