LinuxQuestions.org
Visit Jeremy's Blog.
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 03-14-2006, 02:54 PM   #1
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
viewing the display of another terminal


I had a general question and wasn’t sure were to start looking for information. I was wondering if someone might be able to point me in the right direction.

If I log in and run a program, the output will display on the pseudo-terminal that I have logged into. Now let's say I need to check up on the status of this program, so I ssh in from another location. Is there a way to view the display of the terminal that the program is running on?

I am pretty new to Linux, but I do know how to read. I have no problem reading the documentation or howto's, but I do not know where to begin. Does anyone know what processes control the output? How does the virtual terminal work? What kind of topics do I need to search for? Thanks to anyone taking the time to read this and respond.

...drkstr
 
Old 03-14-2006, 03:06 PM   #2
Flyen
LQ Newbie
 
Registered: Apr 2004
Distribution: Fedora 5 and CentOS 4
Posts: 21

Rep: Reputation: 15
If you run screen, then start your program, you can connect to it from other terminals.

On the server:
$ screen
$ [your program]
[Ctrl+a,d]

On the client:
$ ssh server
$ screen -r

You will then see the program's output in the client's terminal.
 
  


Reply


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
Viewing another terminal using ssh, etc... is it possible? Nalorin Linux - Software 4 05-10-2005 12:06 PM
viewing open terminal through ssh drwtwn312 Linux - Newbie 1 12-16-2004 06:17 PM
Viewing remote X display dxdad Linux - Networking 4 10-30-2004 11:19 PM
Viewing the X Display driver currently being used EnigmaX Linux - General 2 07-24-2004 12:47 PM
Viewing data in terminal mode 88guy Linux - Newbie 2 05-10-2004 05:09 PM


All times are GMT -5. The time now is 04:56 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration