LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 02-04-2008, 08: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, 09:39 AM   #2
jschiwal
Moderator
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 14,972

Rep: Reputation: 528Reputation: 528Reputation: 528Reputation: 528Reputation: 528Reputation: 528
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, 11:20 AM   #3
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 2,635

Rep: Reputation: 47
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, 02: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 01:13 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration