Hi,

I'm have a problem that I can't seem to solve. I have searched many hours around the net but I can't make this work. What I want to do is the following:

At startup/boot I want to start a GNU screen session in detached mode.

What I'have done is the following:
I have added this line to the rc.local file in etc\rc.d

/home/myusername/test.sh


My test.sh file looks like this
cd /
cd home
cd myusername
screen -c screenStUp -dmS screenTest

When I try to run rc.local manually, everything works fine (the screens sessions starts). But at startup/boot nothing happens.

Any idea why this is not working? I would really appreciate any help!!!

I'm using centos 5 by the way.