LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-24-2007, 08:44 PM   #1
Phaux
LQ Newbie
 
Registered: Dec 2005
Location: Here.
Distribution: Ubuntu 7.04 Server
Posts: 13

Rep: Reputation: 0
Help on accessing an active program on another terminal


Hey guys. I have a problem. I was logged in on my Ubuntu system remotely via PuTTY. I had a program running, and went out to dinner, leaving it running. When I came back an hour later, My PuTTY Terminal had lost it's connection to my system. I figured I could just restart the connection and get back to it, but I can't as it puts me to PTS/2, where my program is running on PTS/1. I can see it actively working still, but it's on another terminal, and can't get to it at all. Is there a way to somehow open a terminal to PTS/1 instead? Thanks in advanced.
 
Old 08-24-2007, 09:19 PM   #2
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
Not that I know of.

You can kill it.

However, there is a program called screen (another of those easy to google names ;-) ), which allows you to connect in, detach, reconnect, etc. It runs on the machine you are connecting to. So you would still use putty. I have known about it for a few years, but haven't actually used it. I forget now where it lives.

Ah, I just tried google, the magic trick was to search "screen detached sessions" -- that brings up several useful links right at the top including a linux journal article. From the google search results, it appears to be gnu screen.
 
Old 08-24-2007, 10:06 PM   #3
Phaux
LQ Newbie
 
Registered: Dec 2005
Location: Here.
Distribution: Ubuntu 7.04 Server
Posts: 13

Original Poster
Rep: Reputation: 0
Yeah I know about Screen, but I just didn't happen to remember it when I ran the program. Ya know, cause it'd be the only thing I'm working on at the moment. I did wind up killing the program and starting over, but it's ok, no loss or anything.
 
  


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
determine active terminal michal017 Linux - Software 4 06-14-2007 12:11 AM
accessing winxp hd in terminal macgregor98 Ubuntu 4 03-28-2007 10:19 PM
Finding the active terminal in linux levr Programming 8 06-14-2006 12:16 AM
active desktop from terminal giovannym Linux - Newbie 4 04-15-2005 12:33 AM
Accessing the Active Directory GoRinNoSho Linux - Newbie 3 06-27-2003 09:44 AM

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

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