1. #1
    Scarab Lord Djinni's Avatar
    Join Date
    May 2009
    Location
    Washington DC, USA
    Posts
    4,213

    Launching a connection independent program via SSH

    Ok,

    Trying to launch my Tekkit server from command line, however whenever I close the SSH connection the server goes down. My host does have a web CP which is basically a graphical SSH, but I find it rather unreliable and it doesn't display the console view very well.
    Does anyone know of a way to launch the minecraft server process from SSH command line without it being connection dependent?

    OS: CentOS 6
    Java: Java 7
    Tekkit: Tekkit 3.1.2
    Max RAM allocation: 1725MB
    Last edited by Djinni; 2012-10-04 at 04:02 PM.
    ... On the hunt for a new laptop ...

  2. #2
    Fluffy Kitten llDemonll's Avatar
    Join Date
    Apr 2008
    Location
    Washington
    Posts
    6,582
    Moving to Minecraft where you'll get much more appropriate answers
    "I'm glad you play better than you read/post on forums." -Ninety
    BF3 Profile | Steam Profile | Assemble a Computer in 9.75 Steps! | Video Rendering Done Right

  3. #3
    Scarab Lord Djinni's Avatar
    Join Date
    May 2009
    Location
    Washington DC, USA
    Posts
    4,213
    Haha lol, I already moved it out of minecraft, because it's likely someone has encountered a similar issue when using SSH.
    ... On the hunt for a new laptop ...

  4. #4

  5. #5
    Scarab Lord Djinni's Avatar
    Join Date
    May 2009
    Location
    Washington DC, USA
    Posts
    4,213
    No one got any ideas?
    ... On the hunt for a new laptop ...

  6. #6
    Quote Originally Posted by Djinni View Post
    Trying to launch my Tekkit server from command line, however whenever I close the SSH connection the server goes down. My host does have a web CP which is basically a graphical SSH, but I find it rather unreliable and it doesn't display the console view very well.
    Does anyone know of a way to launch the minecraft server process from SSH command line without it being connection dependent?
    Use the 'screen' tool.

  7. #7
    Scarab Lord Djinni's Avatar
    Join Date
    May 2009
    Location
    Washington DC, USA
    Posts
    4,213
    Sweet, thanks :-)
    Never used that option before.
    ... On the hunt for a new laptop ...

  8. #8
    You could also try 'nohup command &' This will run the process in the background and prevent it from being closed on exit.

Posting Permissions

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