Hi,

I created a startup script to run a minecraft server in a screen session detached.

I have tried:

screen -dmS mc <command>
AND
screen -d -m -S mc <command>

Both started the minecraft server successfully, but when I try to attach the screen session with screen -r -S mc or screen -dr -S mc it returns no screen can be resumed.

Plesae Help!!
Thanks!!