LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-16-2006, 09:27 AM   #1
Scrag
Member
 
Registered: Mar 2004
Location: Wisconsin
Distribution: Kali Linux
Posts: 131

Rep: Reputation: 15
Problem using SCREEN command. Im a NooB.


Per Counter-strike linux server instructions at http://www.srcds.com/db/engine.php?s...43920&archive=

I start my server with the following script:
Code:
#!/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
When I try to attach to the screen with this command:
Code:
screen -x css-server
I get the following error message:
Code:
There is no screen to be attached matching css-server.
Im new to screen and dont know what to do. I used the screen -help but am not sure where to go from here.

Thanks for the help.

Last edited by Scrag; 02-16-2006 at 09:28 AM.
 
Old 02-16-2006, 11:29 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Well, you've started the session detached (the "-d" option), but the "-x" tries to attach "to a not detached screen session" (from the man page).

I suggest you try:

screen -r css-server

The "-r" option reconnects to a disconnected session.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I kill a screen from command-line if I know the screen name? CrewXp Linux - Software 6 08-27-2005 10:35 AM
screen command newbie007007 Linux - General 3 07-04-2005 04:10 PM
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 07:14 PM
Noob using redhat - Need help using command prompt Korff Linux - General 37 05-26-2003 10:39 PM
Got Linux Installed, At The Command Black Screen, XF86 PROBLEM!! Gnute Slackware 7 04-20-2003 10:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration