How to run a game server using screen and SSH in Linux

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
7,141
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 7, 2009

A real quick video on how to have a Game server run with no one logged in.

The servers I used are Borg Gaming at 72.205.251.194

Really I made this video to hammer out more quality issues with cam studio.

The script text is below:
#!/bin/sh
echo "Starting Server ..."
sleep 1
screen -A -m -d -S css-server ./srcds_run -console -game cstrike +map de_dust +maxplayers 16 -autoupdate

The information was provided by srcds.com That's why I didn't know the command in the server.sh file.

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (borglanparty)

  • I was wondering why I had to keep putty running on my windows machine to keep the server up. Thank you so much =D

  • @Jadon159 When you close putty it logs out of the server. Whatever is running will close so you have to use screen or something similar to have it run in the background while no user is logged in.

  • does it run when you shut down you computer ?

  • The server has to be running but the computer you use to manage it can shut down

  • If you want to detatch a running screen just type ctrl+a and then d, then you return to the shell

  • Thanks, I updated it.

see all

All Comments (17)

Sign In or Sign Up now to post a comment!
  • when i type screen -list it doesn't show up in the list

  • and now a tutorial with windows :)

    it would be very nice :)

  • im just going to stick with nowservers...they even gave me a promo code: youtube

  • Thanks for the video!

  • @borglanparty

    Yup, your video solved this problem. Thank you =D

  • god damn the sound on this video is annoying

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more