LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-04-2008, 07:41 AM   #1
Slick666
Member
 
Registered: Feb 2006
Distribution: Ubuntu 8.04; Debian Etch
Posts: 167

Rep: Reputation: 33
Maintain jobs across login sessions


Dear LQ users,

I've search the forums and google but not been able to find the answer to this question.

What I'm trying to do is span a job across multiple logins. In the past I've use GNU Screen to start a program and return to it at a later time and a later login. Unfortunately now I want to do the same thing on a server that I telnet into and do not have control of. What I want to do is telnet in, start a program, log out, wait, log back in, assume control of the process again and continue on.

Essentially I want ot have GNU screen without installing it. I've looked into background but according to what I've found
Quote:
If an attempt to exit Bash is while jobs are stopped, the shell prints a message warning that there are stopped jobs. The jobs command may then be used to inspect their status. If a second attempt to exit is made without an intervening command, Bash does not print another warning, and the stopped jobs are terminated.
Reference
So just putting a job into the background won't persist across logins. I'm really stumped on this one if anyone has any ideas it would be greatly appreciated.
 
Old 02-04-2008, 08:39 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
There seem to be a lot of messages lately mentioning using telnet to login to servers! Aaarg!

Since you can't use screen when logging into the server, why not use it on the client instead. Then you can log off from the client machine with the client-server session running but the client terminal detached.
 
Old 02-04-2008, 10:20 AM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Quote:
Originally Posted by jschiwal View Post
There seem to be a lot of messages lately mentioning using telnet to login to servers! Aaarg!
LQ Download Linux page indicates there has been ~3500 RH9 downloads over last month. Do we have a secret antique-lovers club somewhere here?
 
Old 02-04-2008, 01:15 PM   #4
Slick666
Member
 
Registered: Feb 2006
Distribution: Ubuntu 8.04; Debian Etch
Posts: 167

Original Poster
Rep: Reputation: 33
Quote:
Since you can't use screen when logging into the server, why not use it on the client instead. Then you can log off from the client machine with the client-server session running but the client terminal detached.
Clever idea jschiwal I hadn't thought of it in that way
 
  


Reply

Tags
screen, telnet



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IES4LINUX and Remote login sessions IE6SP1 landon_humphrey Linux - Desktop 1 10-20-2006 03:22 AM
How do login managers start WM sessions? David the H. Linux - General 10 05-04-2006 08:38 PM
command to show all the login users sessions RajRed Linux - Newbie 3 04-18-2006 08:24 AM
A way to have multiple simultaneous (XP-style) login sessions? greennick Linux - Software 4 02-09-2006 01:47 PM
Gnome Login sessions Ian Benjamin General 0 02-23-2001 09:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:56 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