Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 07-19-2005, 12:04 AM   #1
Registered: Jun 2005
Posts: 53

Rep: Reputation: 15
Switch to pseudo terminal you didn't log out of?

I logged onto my home machine remotely (from work) via ssh and started some downloads up. My box is on dial up and after about 5 hours the ISP terminated the line and my box dialed back up again.

During that time I was logged on via ssh. The dial up cut out and my sessions are still running. The downloads have resumed from what I can see via netstat.

The first three pseudo terminal sessions (shown below) are from this morning I had "screen" running and had the edonkey command line client running on one of them.
The last pts/03 is me logged on this afternoon.

Is there a way for me to gain access to the old screen session remotely via ssh?
If not is there a way I can access it again when I get back home locally?
I don't want to kill the sessions as I will have to queue in line for the download again but I do want to monitor it's progress.

xnomad pts/1 09:51 3:46m 0.01s 0.01s /bin/bash
xnomad pts/2 09:51 25:05 1.09s 1.08s edonkeyclc
xnomad pts/0 09:40 24:47 0.02s 0.00s screen
xnomad pts/3 14:39 0.00s 0.04s 0.00s w
Old 07-19-2005, 12:15 AM   #2
Registered: Jun 2005
Posts: 96

Rep: Reputation: 15
that is the beauty of screen. you can connect to it from any other location.

screen -ls
will list what sessions are available
screen -x <PID from screen -ls>

the -x is to connect without kicking any other connected sessions
man screen

hope this helps
Old 07-19-2005, 12:35 AM   #3
Registered: Jun 2005
Posts: 53

Original Poster
Rep: Reputation: 15
Thanks I'm in :-)
I should have messed about on the terminal trying to find the solution but it's so slow from downloading that I can't try anything out.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding Pseudo tty, Pseudo terminals ? mqureshi Programming 0 07-30-2005 10:51 AM
is there a script that controls what happens when you switch a terminal? Fascistchicken Linux - General 2 09-29-2004 10:11 PM
Loose display on X exit or terminal switch hematose Linux - General 2 08-15-2004 04:22 PM
Questions about (Pseudo)Terminal devices beginner16 Programming 0 04-09-2004 10:03 AM
Pseudo Terminal Problems ailiez Programming 2 02-09-2004 01:58 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:55 PM.

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