Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

Change terminal an application is connected to/running on

Reply
 
Thread Tools Display Modes
  #1  
Old 01-13-2005, 07:49 AM
Default Change terminal an application is connected to/running on



Anyone know?

Lets take something simple like top for example. It's running on another
machine under another user. You log in on this machine, and want to see what
it's doing. How do you redirect it's output terminal to yours?

Also, for xwindows. Can you modify the server/display at runtime?

Also, is there a way to use VNC to view a running session, instead of
starting a new one?

Sorry, I know this isn't strictly the right newsgroup!

Thanks!




Coenraad Loubser
Reply With Quote
  #2  
Old 01-13-2005, 08:15 AM
Bill Marcum
Guest
 
Posts: n/a
Default Re: Change terminal an application is connected to/running on

On Thu, 13 Jan 2005 09:49:52 +0200, Coenraad Loubser
<(E-Mail Removed)> wrote:
> Anyone know?
>
> Lets take something simple like top for example. It's running on another
> machine under another user. You log in on this machine, and want to see what
> it's doing. How do you redirect it's output terminal to yours?
>

Use screen.


--
BOFH excuse #270:

Someone has messed up the kernel pointers
Reply With Quote
  #3  
Old 01-13-2005, 05:51 PM
mgrd
Guest
 
Posts: n/a
Default Re: Change terminal an application is connected to/running on

Coenraad Loubser wrote:
> Lets take something simple like top for example. It's running on another
> machine under another user. You log in on this machine, and want to see what
> it's doing. How do you redirect it's output terminal to yours?


redirect stdout to the other pty/tty:
top > /dev/tty<x>

get the tty's by running `who'
get yours by running `tty'

> Also, for xwindows. Can you modify the server/display at runtime?

don't know if I get you but:

DISPLAY=<IP>:<display>.<display>
export DISPLAY

...sets the variable (within the currenet shell)

--
reply to usenet only - email account disabled
Reply With Quote
Reply

Tags
application, change, connected, terminal, to or running

Thread Tools
Display Modes

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
Forum Jump


All times are GMT. The time now is 12:37 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.