04-26-2009, 08:10 AM
(This post was last modified: 04-26-2009, 10:19 AM by BloodAngel94.)
Server OS: Specific version. ex: Ubuntu Server
Processor: Xeon x3220 (4 cores @ 2.4ghz)
Ram: 2GB
Game(s): CS:S
Start Up Command: (bare with me)
echo "Starting Cs:Source Server"
sleep 1
screen -A -m -d -S css-server ./srcds_run -console -game cstrike -tickrate 101 +map de_dust2 +maxplayers 15 +ip 193.33.186.101 +port 27015 +fps_max 0 +exec server.cfg
That^ ?
Admin Mods: Not got that far :p
Right, this is my first proper time on linux, I'm using a VNC to conenct to my server, I have followed you're Linux installation tutorial to the best I can, I've run SRCDS's on windows many many times, but I'm wanting to move to linux for a few reasons...
My problem is that I cannot get screen to work, I have done the following:
I can make the server.sh fine, I can run that and my sever runs fine, I have just installed screen, and I can try in terminal "screen -x css-server" and it does not load the server, it does nothing, i get the following message: " There is no screen to be attached matching css-server."
I would really appreciate some help, thanks in advance,
Christy
EDIT: I am in the right directory, (the same as my srcds_run and server.sh, in terminal)
2nd Edit: Well after 3 Hours I fixed it huzard-sleep.
Processor: Xeon x3220 (4 cores @ 2.4ghz)
Ram: 2GB
Game(s): CS:S
Start Up Command: (bare with me)
echo "Starting Cs:Source Server"
sleep 1
screen -A -m -d -S css-server ./srcds_run -console -game cstrike -tickrate 101 +map de_dust2 +maxplayers 15 +ip 193.33.186.101 +port 27015 +fps_max 0 +exec server.cfg
That^ ?
Admin Mods: Not got that far :p
Right, this is my first proper time on linux, I'm using a VNC to conenct to my server, I have followed you're Linux installation tutorial to the best I can, I've run SRCDS's on windows many many times, but I'm wanting to move to linux for a few reasons...
My problem is that I cannot get screen to work, I have done the following:
Quote:We will make a script that will run the srcds in the background in a "screen"
you will need to have screen installed for this. make a file called server.sh and put this in:
Command(s):
#!/bin/sh
echo "Starting Cs:Source Server"
sleep 1
screen -A -m -d -S css-server ./srcds_run -console -game cstrike +map de_dust +maxplayers 16 -autoupdate
Save the file, and chmod it to run
Command(s):
chmod +x server.sh
If you want to start your server, simply run server.sh . It will start your srcd server in the background, to open it type:
Command(s):
screen -x css-server
If you want to close it again press ctrl+a+d, and it will detach the screen and keep it running in the background.
I can make the server.sh fine, I can run that and my sever runs fine, I have just installed screen, and I can try in terminal "screen -x css-server" and it does not load the server, it does nothing, i get the following message: " There is no screen to be attached matching css-server."
I would really appreciate some help, thanks in advance,
Christy
EDIT: I am in the right directory, (the same as my srcds_run and server.sh, in terminal)
2nd Edit: Well after 3 Hours I fixed it huzard-sleep.