View Single Post
Old 04-16-2002, 05:34 PM   #55
Join Date: Apr 2002
Posts: 8
Just a note, I've been running linux servers since Quake2, newest builds of screen are almost the same as original.

The easiest way is create the screen FIRST.

screen -R jk (jk is now the name of the screen you can resume and moniter realtime)

This creates a screen session named jk the capitol R is to FORCE it to make not just resume an existing screen.

You have the ability to go back and forth between prompt and the real time feed from your server. In the realtime screen you can issue commands and run it as if from the win32 console.

screen -r jk

NOTE: if you simply do a screen -R it only makes one screen and this is fine if your going to only run on e screen session (i have three sesions jk cs aq)

Also it's the same ctrl a d to detach.

Hope this is also helpfull :

Originally posted by Wintrmte

Use screen. It is a fantastic utility that will let you reattach to the server session and is more friendly than using &

For example, all you have to do to start the server inside screen is:

screen -S jedi ./jk2ded <your server arguments>

The screen will blank, and the server starts up. At this point:

press ctrl+a, then press the d key by it's self. You should see a line that says

[Screen detached]

The server is still running though. You can logout safely at this point.

Now, to get back into your running server, all you have to do is log into your box as the user who is running the jk2ded process (that you screen'd)

and type:

screen -r jedi

You should now be in your server. Do the same (ctrl+a, then d) to get back out.

Hope this helps.
[KWA]SaVAgE is offline   you may: