Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help How to create server on Linux without GUI
07-01-2012, 01:37
Post: #1
How to create server on Linux without GUI
Hey, how to create server on Linux without GUI ?
Only on command line and wine ?
Related links

The more functionality of the application the greater the chance of errors.
Find all posts by this user
Add Thank You Quote this message in a reply
07-01-2012, 10:26
Post: #2
RE: How to create server on Linux without GUI
i did it this way

xvfb-run --server-args='-screen 1 1024x768x24' -n 27024 /usr/bin/wine /home/gameserver/callofduty/mw3/iw5mp_server.exe +set dedicated 2 +set net_ip xx.xx.xx.xx +set net_queryPort 27024 +set net_port 27025 +set net_authPort 8766 +set net_masterServerPort 27026 +set sv_config mw3.cfg +set sv_map_rotation default +start_map_rotate

so the programm xvfb starts a virtual screen where it loads mw3 with wine
the screen is numbered with 0 and named as the port 27024


i can kill the server with
pkill -u gameserver -f ':27024 -screen 1'
where it uses the user gameserver and searches for the string :27024 whats the port and -screen 1 whats the screen number...
so it always kills the right process

if you want more than one mw3 server you have to change the screen number and the name of course


with this startup method i can start and stop it with my webinterface without any problems...
Find all posts by this user
Add Thank You Quote this message in a reply
07-02-2012, 23:06
Post: #3
RE: How to create server on Linux without GUI
(07-01-2012 10:26)miramar Wrote:  i did it this way

xvfb-run --server-args='-screen 1 1024x768x24' -n 27024 /usr/bin/wine /home/gameserver/callofduty/mw3/iw5mp_server.exe +set dedicated 2 +set net_ip xx.xx.xx.xx +set net_queryPort 27024 +set net_port 27025 +set net_authPort 8766 +set net_masterServerPort 27026 +set sv_config mw3.cfg +set sv_map_rotation default +start_map_rotate

so the programm xvfb starts a virtual screen where it loads mw3 with wine
the screen is numbered with 0 and named as the port 27024


i can kill the server with
pkill -u gameserver -f ':27024 -screen 1'
where it uses the user gameserver and searches for the string :27024 whats the port and -screen 1 whats the screen number...
so it always kills the right process

if you want more than one mw3 server you have to change the screen number and the name of course


with this startup method i can start and stop it with my webinterface without any problems...

But you use X server for start game server ?!

The more functionality of the application the greater the chance of errors.
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  How to set up your own modded server with server addon for supernoobs JariZ 93 13,467 04-28-2013 09:27
Last Post: odok
  Help Create plugins ltybcs 46 1,699 04-26-2013 15:08
Last Post: ltybcs
  [Release] MW3 Server Addon zxz0O0 184 23,171 04-26-2013 12:29
Last Post: hillbilly
  Help Server Addons morha12 2 206 03-27-2013 13:31
Last Post: SailorMoon
  Server addon & plugins pflaurie 5 402 03-19-2013 03:31
Last Post: hillbilly
  Help Hosted server pflaurie 1 168 02-27-2013 21:14
Last Post: hillbilly
  [Request] Linux .Net archit 0 76 02-25-2013 15:09
Last Post: archit
  Help Server Addon CPU consumption iBlacK 1 192 12-28-2012 23:09
Last Post: JariZ
  server addons help! gauthier2008 1 220 12-26-2012 17:16
Last Post: SirGravzy
  mw3 server addons help, ADMIN gauthier2008 3 489 12-18-2012 18:29
Last Post: SailorMoon

Forum Jump:


User(s) browsing this thread: 1 Guest(s)
Media Embeding by Simple Audio Video Embeder