Networking Forums

Networking Forums > Computer Networking > Linux Networking > Change terminal an application is connected to/running on

Reply
Thread Tools Display Modes

Change terminal an application is connected to/running on

 
 
Coenraad Loubser
Guest
Posts: n/a

 
      01-13-2005, 06:49 AM
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!


 
Reply With Quote
 
 
 
 
Bill Marcum
Guest
Posts: n/a

 
      01-13-2005, 07:15 AM
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
 
mgrd
Guest
Posts: n/a

 
      01-13-2005, 04:51 PM
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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change ip address in user application program? J.H.Kim Linux Networking 0 02-19-2010 12:03 PM
Correct way to control alias of a NIC interface from application running as non-root Rohit Linux Networking 5 06-12-2007 09:18 PM
Running an application thru mapped drive vs UNC Peter Windows Networking 1 08-10-2005 03:31 AM
terminal server in application mode rflk Windows Networking 1 04-26-2004 08:53 PM
Tell which user is connected to my terminal Ed Windows Networking 3 12-01-2003 07:38 PM



1 2 3 4 5 6 7 8 9 10 11