SRCDS Steam group


Q: Low fps on the server.
#31
ts3 is at this example the user "ts" but the other ones are with root thats not good! sorry that wont help for the problem but this should be ground knowledge!
Reply
#32
Another question.
I've made a user for css servers and made chown of the files to this user.
Running servers by screen. (sudo -u serv screen -A -m.......).
But when i log in as root to my ssh i can't see the screen list because the user is different.
When i switch user to su serv and try $screen -ls it works fine and shows list, but screen -x says that i don't have permission to /dev/pts/3.
So i must su to root, then $chown serv /dev/pts/3 and after that i can use screen -x.
/dev/pts/1 and 2 are the screens of the user 'serv' and works fine, but when i log in by root /dev/pts/3 has rights as root.
Should i make the rights to the serv to log in ssh? Or there is another way to use screen. It's too annoing to $chown serv /dev/pts/3 each time i log in ssh...
Reply
#33
you can either directly log into the user serv or you can run the screen as root and run sudo inside the screen:
screen -A -m ... sudo -u serv .......

or you could setup a multiuser screen, but that's a little more complicated ;-)
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#34
Thanks. Will try to run the screen as root with sudo.
Reply
#35
or cancel using root at all?!

It should be common knowledge that the root user is only for things you can not do without....

Login as css user:
screen -dmS screenname ./scrds_run blablablabn

And you are done
Interactive web based config creator for CS, CSS, TF2 and DODS
Creates server and client configs in an explained dialog.

You`ll also find precompiled debian gameserver kernels for download
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)