Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help How to create server on Linux without GUI
#1
Hey, how to create server on Linux without GUI ?
Only on command line and wine ?
The more functionality of the application the greater the chance of errors.
Reply

#2
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...
Reply

#3
(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.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] Windows 8.1 Fix for MW3 Server Addon master131 16 18,164 09-29-2014, 23:08
Last Post: SuperNovaAO
  Help Your opinion on Linux Yamato 23 12,644 12-13-2013, 13:12
Last Post: Nekochan
Brick [Release] MW3 Server Administration Addon iRoNinja 5 9,002 11-10-2013, 15:46
Last Post: Casper
Exclamation Help cmdlist, dvarlist server crash Nerus 17 11,901 11-09-2013, 23:54
Last Post: Nerus
  Our Level Fastfile is Different from the Server. CheeseToast 6 11,312 11-03-2013, 17:52
Last Post: CheeseToast
  Dedicated Server External (public) IP Nerus 3 5,895 11-02-2013, 14:16
Last Post: Casper
  MW3 Server Version superg1973 7 12,729 10-28-2013, 01:15
Last Post: kotyra972
  Help how to turn off map in dedicated server pero123 8 7,119 10-15-2013, 19:00
Last Post: Nekochan
  Issue with server addon and NAT dimitrifrom31 3 5,074 10-08-2013, 18:11
Last Post: iRoNinja
  GETTING SERVER ONLINE raym 6 5,701 09-28-2013, 22:42
Last Post: Nekochan

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.