** seeing existing virtual terminals via telnet - linux **

kohutek

Member
Nov 29, 2000
171
0
0
Okay, here goes:

I have a linux machine that boots at runlevel 3 [no x], and I run a counter-strike server on it ... my command line is:

./hlds_run -game cstrike +map de_aztec +exec server.cfg +maxplayers 20

It starts up, and just sits there, waiting for me to put in a command, or to do something. Which is what I want it to do.

I have setup telnetd to turn on when anybody comes around asking for a telnet session. I telnet into my box, and then I want to be able to see the counter-strike server. I already wrote a quick script that allows me to start the server remotely and keep it running after I disconnect - it uses the same command line, but adds an "&" onto the end of it.

I would like to be able to see the existing counter-strike server through telnet, or be able to see the cs server started by telnet while in front of the box.

any ideas on how to do this?

randal
 

kohutek

Member
Nov 29, 2000
171
0
0
before I fire up the ol' search engine to learn everything I can about screen, do you mind telling me what it does?

thanks!
randal
 

kohutek

Member
Nov 29, 2000
171
0
0
oh my god!

Screen is awesome!

It's like a 100% ability to do anything with any window. I can detach a screen, log in from remote & re-attach right where I left off. Hell, I don't even have to detach first, I can just screen -d -r name it, and jerk it to wherever I am.

OH MY GOD, SCREEN IS AMAZING FOR REMOTE ADMIN!!!!!!!

thanks a ton
randal