Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 04-25-2003, 10:43 PM   #1
Registered: Apr 2003
Location: Vail, CO
Posts: 73

Rep: Reputation: 15
HLDS closes when I close telnet

I am trying to run Half-life dedicated server on Linux, I access the Linux server though telnet. Every time I close telnet the half-life server shuts down. What do I need to do, to keep the half-life server up, other then leaving the telnet session open? I notice that when I type ‘ps’ HLDS shows up. I am assuming that those processes are for that terminal ‘/dev/pts/2’ I don’t have physical access to the server. Is there anyway I can run is in a permanent terminal or somehow keep it from closing? I do have access to root if I need to do anything in there.

Any help is appreciated
Old 04-26-2003, 05:34 PM   #2
LQ Newbie
Registered: Apr 2003
Posts: 1

Rep: Reputation: 0

As you have guessed, the process hlds is attached to your session. As you close your session, you end all your processes including your hlds server. You can use screen for that. Try this :

screen -A -m -d -S hlds ./hlds_run -game cstrike +maxplayers 20 +map de_aztec

or screen -A -m -d -S ./

Then to get to your server type :

screen -r hlds

and if you want to reconnect from yet another terminal, type :

screen -D -r hlds

which will disconnect the old session and reconnect to yours...

You will see your server in your terminal window.
Works great!

Get all the info from :
screen -?


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
qmail prematurely closes connection when trying to telnet... ivj Linux - Software 0 07-25-2004 04:47 AM
hlds (I tried, really) Adm Frosty Linux - Games 4 04-23-2004 08:08 PM
Gtk-Warning but program still works... I close konsole, program closes Laptop2250 Linux - Software 2 11-14-2003 11:18 PM
Cs Hlds linuxsoundprob Linux - Software 0 06-05-2003 01:17 PM
How to Close telnet using ipchains xtian500 Linux - Security 1 02-19-2002 03:50 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:58 PM.

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