Announcement

Collapse
No announcement yet.

start a program on a remote system WITHOUT X through SSH

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    start a program on a remote system WITHOUT X through SSH

    Hey all,

    I'm looking for a way to start a program (bitflu) on my remote system WITHOUT X through SSH and then close SSH and still have the program running on the remote system.

    Now when I log in to my remote computer (always on, no keyboard, mouse, vga) through SSH i can start the program but when I close the SSH connection the program is also stopped. I have tried "nohup ./bitflu.pl" but then the program doesn't start.

    Thanx for your help!

    #2
    Re: start a program on a remote system WITHOUT X through SSH

    Screen is probably your best option. You can start a screen session on the remote machine once you ssh to the machine, then detach, logout and screen (and your programs) continue to run. You can later reconnect and reattach to the screen session and continue where you left off.

    You can google for example "screen ssh remote session" or "screen howto" to get more information. 'man screen' should get you started as well, if you're comfortable reading man pages.

    Comment


      #3
      Re: start a program on a remote system WITHOUT X through SSH

      That is so cool!!
      I didnt know a utility like screen existed and it is just so..... COOL

      WOW

      Thanx for giving me this advice. It works like a charm

      Comment

      Working...
      X