|
|
|
|
#1 |
|
Join Date: Dec 2011
Reputation: 0
Posts: 8
|
TF2 VPS logout problem (PUTTY)
What i can do? i can't logout putty to leave server work 24/7
anyone know the problem? http://img687.imageshack.us/img687/2557/puttyj.jpg |
|
|
|
|
|
#2 |
![]() Join Date: Feb 2010
Reputation: 121
Posts: 2,212
|
I can't view images at work, so I'm not sure what the problem is, but it sounds like you are not using screen to run your server. Try installing screen, opening up a new session, and running the server in that screen session.
|
|
|
|
|
|
#3 | |
|
Join Date: Dec 2011
Reputation: 0
Posts: 8
|
Quote:
I tryed to write to putty: screen -A -m -d -L -S but it doesn't help |
|
|
|
|
|
|
#4 | |
|
Volunteer Moderator
Join Date: Nov 2006
Reputation: 1863
Posts: 2,476
|
Quote:
Also, feel free to read "screen" manpage.
|
|
|
|
|
|
|
#5 | |
![]() Join Date: Sep 2011
Reputation: 236
Posts: 971
|
Quote:
the -R and -d work for when you reconnect, but it also works if there isn't an existing screen session. the -U is so the utf-8 characters in tf2 usernames don't mess up your screen (set utf-8 in putty) Once you've run the server you just close putty - the server carries on running in screen, you don't logout. When you reconnect to your vps, you enter screen -U -R -d and it reconnects to the old screen session, with tf2 still running. ctrl-a ctrl-c will create another terminal, so you can get another shell to enter commands Use :- ctrl-a 0 ctrl-a 1 these will switch between the terminals you create ctrl-a 2 There are more ctrl-a commands, see the docs or do ctrl-a ? Once you've run the server it's at a console prompt though, so anything you type is interpreted by TF2 not linux. e.g type a cvar and you can see or change it's value, type status and you'll see the players connected. type quit and the server will exit (and restart in 10 seconds unless you ctrl-c) Last edited by needaxeo: 02-10-2012 at 02:43 AM. |
|
|
|
|
|
|
#6 | |
![]() Join Date: Mar 2012
Reputation: 8
Posts: 14
|
Use
Quote:
You dont need to use screen or anything liek that to run the server. I have a VPS and run like 2 or 3 servers off of it. The key is to just place the process in the background using nohup. |
|
|
|
|
![]() |
|
||||||
| Thread Tools | |
| Display Modes | |
|
|