LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-25-2006, 03:03 PM   #1
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Running progs via ssh that stay working after logging out


I've been helping someone with a script to start/stop a ut2004 game server. Problem is as soon as he logs out of putty the server stops.

I'm sure there is a way of keeping progs/services running but I googled and searched and didn't find a thing.
 
Old 02-25-2006, 03:07 PM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
GNU screen will do this. you start screen then start your script inside it. then you ctl-a, d to disconect the session and you can log out. you can log back in later and run screen -r and you can get right back to the session.
 
Old 02-25-2006, 03:28 PM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Thx - looks like it's solved
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
a linux program running windows progs..!,help cheater1034 Linux - Software 10 08-05-2004 11:34 PM
monitor goes black when running progs boris54321 Linux - Hardware 0 12-05-2003 01:59 PM
Xfree86 freezing mouse still working, progs still running. /su Linux - General 4 06-23-2003 04:57 PM
problem running progs compiled with g++ nautilus_1987 Linux - General 11 10-06-2002 02:16 PM
How to I know what progs running and what's installed? ReSync Linux - Newbie 7 06-29-2002 07:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration