Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I'm pretty new to Linux and I'm struggeling with a problem lately. When I boot up, I got a script (bukkit.sh) running to start my minecraft server. Code: cd ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2013
    Posts
    1

    Problem: There is no screen to be detached.


    Hi,

    I'm pretty new to Linux and I'm struggeling with a problem lately.
    When I boot up, I got a script (bukkit.sh) running to start my minecraft server.

    Code:
    cd /minecraft/bukkit
    screen -S minecraft java -Xms1G -Xmx1G -jar craftbukkit.jar -o true
    I start this script after boot is finished through adding the following code to /etc/rc.local.

    Code:
    cd  /minecraft/bukkit
    /minecraft/bukkit/bukkit.sh
    exit 0
    Problem is that I'm unable to get my screen back through my SSH connection.
    When I run the command
    Code:
    sudo screen -r
    I get an error :

    Code:
    There is a screen on:
            1196.minecraft  (04/02/13 13:23:43)     (Attached)
    There is no screen to be resumed.

    What am I doing wrong?

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,743
    screen -x 1196.minecraft doesn't work ?
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •