[cod] Screen problem

Carlo Moretto Carlo at londonengland.co.uk
Sat Jan 1 21:36:18 EST 2005


As user root

-----Original Message-----
From: Jay Vasallo [mailto:jayco1 at charter.net] 
Sent: 02 January 2005 02:25
To: cod at icculus.org
Subject: Re: [cod] Screen problem


Are you running the cron as a $USER or root?

----- Original Message ----- 
From: "Carlo Moretto" <Carlo at londonengland.co.uk>
To: <cod at icculus.org>
Sent: Saturday, January 01, 2005 7:31 PM
Subject: RE: [cod] Screen problem


> Done all that and still no joy
>
> I made a test script with the following:
>
> screen -d -m -S TEST /usr/bin/top
>
> Added it to cron as user root but same thing.....runs fine from 
> command line, and I can attch to the screen, but when executed from 
> cron, I can see it running when doing ps -ef, but cant attach to it 
> and doesn't show in screen -ls????
>
> I cant think of anything else to try
>
>
>
> -----Original Message-----
> From: Luke Antins (Firestorm Games) [mailto:luke at firestorm-games.net]
> Sent: 01 January 2005 16:58
> To: cod at icculus.org
> Subject: RE: [cod] Screen problem
>
>
> Something you may wish to try:
>
> Edit your /etc/screenrc file.
>
> At the bottom add the following lines:
>
> multiuser on
> acladd root
>
> Re-run your script via rcon and then from root type: screen -r <screen 
> session name>/ ie. screen -r codserver/
>
> (the / at the end is very important)
>
> Kind Regards
> Luke Antins
> --
> [Firestorm Games]
> http://www.firestorm-games.net/
>
> 




More information about the Cod mailing list