Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-22-2008, 04:12 AM   #1
LQ Newbie
Registered: Dec 2008
Posts: 1

Rep: Reputation: 0
screen command doesn't start new session

I have recently installed hlds on my server (slackware 12) and i wrote a script to start counter strike. It was working fine, until i wrote a stop script i got from a site on the net. after i ran it, my start script no longer started a new session (screen).

the start script:
screen -A -m -d -S cs-server /scrds_l/hlds_run -console -game cstrike +map de_dust2 +maxplayers 16 -autoupdate
the stop script
screen -dr cs-server -X quit
ANY help is greatly appriciated.
Old 12-22-2008, 08:04 AM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614
Dunno, WFM

alucard@karrde:~$ screen -A -m -d -S cs-server bash
You have new mail in /home/alucard/Maildir/
alucard@karrde:~$ screen -list
There are screens on:
        26447.pts-2.karrde      (Detached)
        10609.cs-server (Detached)
2 Sockets in /var/run/screen/S-alucard.

alucard@karrde:~$ screen -dr cs-server -X quit
alucard@karrde:~$ screen -list
There is a screen on:
        26447.pts-2.karrde      (Detached)
1 Socket in /var/run/screen/S-alucard.

alucard@karrde:~$ screen -A -m -d -S cs-server bash
alucard@karrde:~$ screen -list
There are screens on:
        26447.pts-2.karrde      (Detached)
        10650.cs-server (Detached)
2 Sockets in /var/run/screen/S-alucard.


screen, script, session, shell

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to send a command to a screen session? ThaHabbis Linux - Software 9 02-01-2014 06:01 AM
Starting a command in an already-running screen session Wynd Linux - General 1 10-24-2007 04:10 PM
Creating a screen session in an existing session Frits of waterplant Linux - Newbie 4 01-18-2007 05:53 AM
Command to start remote KDE session on Debian The_Fed Linux - Newbie 1 04-19-2004 05:31 PM
Running a command in a screen session ifan Linux - Newbie 0 07-16-2003 08:12 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:18 AM.

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