Pages: [1]
  Print  
Author Topic: oa ded server in ubuntu with no gui mode.  (Read 6331 times)
Killer1985
Ok i've posted twice!


Cakes 0
Posts: 2


« on: April 23, 2012, 04:33:16 PM »

hi guys,
is it possible to start oa ded server in ubuntu   with no gui mode?
(without Xorg installed)
Logged
hemite
Nub


Cakes 1
Posts: 33


« Reply #1 on: April 23, 2012, 04:49:37 PM »

Yes in fact I'm doing it right now.

All you really need to call is:
cd /usr/bin/
./openarena-server +set dedicated 2  +exec server.cfg \

I have a shell script which basically starts openarena in screen. That way I don't have to be logged on for the server to still be alive. I am running arch linux on a headless server. This is my script:


  1 #!/bin/bash
  2
  3 OAEXEC=/usr/bin/openarena-server
  4 SNAME=OASRV_
  5
  6 case $1 in
  7   start)
  8     screen -S $SNAME -d -m $OAEXEC \
  9      +set dedicated 2 \
 10      +set net_port 27961 \
 11      +exec server.cfg \
 12     # +exec maps.cfg \
 13     # +set fs_game brights
 14   ;;
 15   stop) screen -X -S $SNAME quit;;
 16   *) echo "usage: OAServer (start|stop)";;
 17 esac


If you want some more information I can tell you my whole process (and some useful tools), but if you already know what you're doing I don't want to waste your time. I would just recommend creating a couple of automation shell scripts for starting the server nicely and with specific configs. I would also recommend putting all your maps and mods in a folder in ~ called .openarena
This way you can migrate your server if the worst happens.

Happy Gaming

EDIT: You might next time consider putting similar posts under "Technical Snafus"
« Last Edit: April 23, 2012, 05:19:16 PM by hemite » Logged
Killer1985
Ok i've posted twice!


Cakes 0
Posts: 2


« Reply #2 on: April 23, 2012, 07:03:54 PM »

thanks a lot!
I tried "openarena-server +set dedicated 2  +exec server.cfg" and it works.
Best regards, Kill
Logged
Pages: [1]
  Print  
 
Jump to: