• I like how you used screen to run minecraft. I have done something similar except I didn't want it to run under root so I created a new user mcuser, and used this command to run minecraft as that user: sudo -u mcuser screen -mdS minecraftserver java -Xmx1024M -Xms1024M -jar /etc/minecraft/minecraft_server.1.8.9.jar nogui

    Now that starts the process in a detached screen. So to get to view the screen and keep your shell open and open another screen attached under the mcuser screen, here's how:

    screen

    ctrl+a - c <--- create new screen

    sudo -u mcuser screen -r <---connect the newly created screen to screen running under mcuser

    ctrl+a - n <---- switch between root and minecraft screens

    Took a bit to figure out as I had never used screen before but it works nicely. Now I'm trying this script to make minecraft run at boot: http://minecraft.gamepedia.com/Tutorials/Server_startup_script

  • Facing the issues with your electronic appliances no need to worry you can contact Geek Squad Support, we are here to solve all your issues related to Electrical device and many more. we have a professional team to handle the query and provide the best Solution.

Log In, Add a Comment