.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Multiplayer and AARs (http://forum.shrapnelgames.com/forumdisplay.php?f=145)
-   -   installing server on linux server without graphics (http://forum.shrapnelgames.com/showthread.php?t=36319)

ExitJudas October 7th, 2007 06:38 AM

installing server on linux server without graphics
 
hey!

question from noob

is it possible to install the server on a linux box that does not have graphics packages etc. installed, and run the server through putty, i.e. text only?

thanx

lch October 7th, 2007 07:27 AM

Re: installing server on linux server without grap
 
You can run a dedicated, text-only server if you pass the configuration parameters through the command line. Programs like "screen" are your friend to keep it running as a background process while still giving you access to it. However, since there is no extra text-only binary for dedicated servers, your linux box will still need to have all the libraries installed which are linked to in the binary (libX11/libGL/libGLU).

ExitJudas October 7th, 2007 01:09 PM

Re: installing server on linux server without grap
 
any easy way of finding out what those libraries are? i'm a linux noob http://forum.shrapnelgames.com/images/smilies/wink.gif

My friends server runs ubuntu AFAIK.

lch October 7th, 2007 01:47 PM

Re: installing server on linux server without grap
 
See here: http://www.shrapnelcommunity.com/thr...?Number=502748

As I wrote there, in the end I downloaded binary libs from Sourceforge. Maybe your friend could try if installing xlibmesa-gl and xlibmesa-glu is a better choice to get it up. He'll need the libSDL and maybe some other mumbo jumbo, too. He can check with "ldd /opt/dominions3/dom3" (or where ever he installed the game) if he has all the libs.

ExitJudas October 7th, 2007 03:08 PM

Re: installing server on linux server without grap
 
got it to work! i am now remote controlling my friends dom 3 server via putty! http://forum.shrapnelgames.com/images/smilies/laugh.gif

thanx for the advice. its great to find such a helpful forum for this amazing game!

btw.. i seem to remember reading someone have made a web app to show who has taken their turns on the server. can anyone point me towards it?

thanx in advance.

lch October 7th, 2007 03:37 PM

Re: installing server on linux server without grap
 
Quote:

ExitJudas said:
got it to work! i am now remote controlling my friends dom 3 server via putty! http://forum.shrapnelgames.com/images/smilies/laugh.gif

Good. For reference, could you tell which packages you installed to get it running?

Remember to use the "screen" software to make your life easier. It's very easy to use, you only need to know two commands ("screen" for the first time, "screen -r" to resume) and three hotkeys ("ctrl+a c" to create a new session, "ctrl+a space" to switch through sessions, "ctrl+a d" to detach) to control your games with it.

Further info:
http://www.yobi.be/mediawiki/index.php/Screen
http://mdxi.collapsar.net/docs/screen/#s100

Quote:

ExitJudas said:
btw.. i seem to remember reading someone have made a web app to show who has taken their turns on the server. can anyone point me towards it?

I guess you mean my PHP script. Haven't updated it since some time, feel free to comment in case the FAQ is incomprehensible or misleading. I should add some more features, but so far people only rarely seem to use them anyway. Nobody ever uses a different style for example, not necessarily a bad thing.

ExitJudas October 7th, 2007 04:44 PM

Re: installing server on linux server without grap
 
great stuff. i got it almost set up. just need my friend to install the package in question. great job with the scripting. cant wait to get this running.


All times are GMT -4. The time now is 01:14 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.