small medium large xlarge

Generic-user-small
15 Apr 2014, 04:26
Viktor Ageyev (8 posts)

on page 253 (beta 6):

screen -dmS mcserver java -Xms1024M -Xmx1024M -jar craftbukkit.jar nogui

what does it mean “-dmS” ? and it does not work …

in screen tutorial on http://www.gnu.org/software/screen/manual/screen.html#Getting-Started :

-d -m

Start screen in detached mode. This creates a new session but doesn’t attach to it. This is useful for system startup scripts

should it be:

screen -d -m -S mcserver …

?

And just

screen -S mcserver java -jar craftbukkit.jar nogui

works on my server, but “-dmS” not

Userpic90_pragsmall
15 Apr 2014, 16:44
Carl Cravens (9 posts)

‘screen’ (at least some implementations) can be picky about separating flags. (Which is atypical for modern Unix/Linux command-line programs.)

But ‘screen -dmS’ works on my system (Debian Linux 7, “wheezy”), as does ‘screen -d -m -S’.

When you say “does not work”… are you verifying that screen isn’t actually running? “Detached” means that it’s in the background and you don’t see what’s running.

To see existing screen sessions:

screen -ls

To reattach to a detached screen if it’s the only one you have running…

screen -r

To reattach to a specific screen if there is more than one…

screen -r

where is the screen identifier displayed by 'screen -ls'.

Andy-talking_pragsmall
15 Apr 2014, 20:03
Andrew Hunt (214 posts)

Viktor – what operating system are you on where -dmS doesn’t work?

/\ndy

Generic-user-small
16 Apr 2014, 15:00
Viktor Ageyev (8 posts)

When you say “does not work”… are you verifying that screen isn’t actually running?

Yes, using screen -ls

Generic-user-small
16 Apr 2014, 15:00
Viktor Ageyev (8 posts)

Viktor – what operating system are you on where -dmS doesn’t work?

Ubuntu 13.10 (GNU/Linux 3.11.0-19-generic x86_64)

Screen version 4.00.03jw4 (FAU) 2-May-06

Andy-talking_pragsmall
16 Apr 2014, 20:16
Andrew Hunt (214 posts)

I would consider that a bug in that version of screen, but I’ll change the book to use separate arguments anyway, thanks.

  You must be logged in to comment