Help - Search - Members - Calendar
Full Version: Running game servers
The Planet Forums > System Administration > Game Hosting
captg
Hi,

I have ran a Quake 3: Server through sssh and I was wondering how do I keep it running once I log out? I would also like to be able to log back in and send commands to it.

Thank you,
captg
X-TremeGaming
google
captg
Could you give me more to go by? icon_cry.gif
X-TremeGaming
There are a few ways to set this up, The easiest is to run th;e game in a "screen" session. You have to install "screen" on the box first.

http://www.gnu.org/software/screen/screen.html


Once that gets installed you navigate to the directory where your game server app is located and type 'screen -S nameofscreen'

(where 'nameofscreen' is what you want to call the session)

Now execute the command to start the server, You will see the output of the server starting. Once this is going type ' ctrl+a+d to "detach" the screen.

Now you have a server running in the background and can log out as normal.

To go back later and "reattach" the session type ' screen -r nameofscreen'


Hope this helps.
captg
Thank you so much!!! I'll try that!!
captg
Worked like a charm. Thank you!
X-TremeGaming
Glad to help.
SilveR
could you also use just "nohup" before the command to start the server? or would that not work?
talkster5
best way is to try it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.