Why not VNC ?? It lets to have keyboard and mouse control over a remote terminal
and would perfectly fit in with what you want..
Regards,
Vaidhy
On Wed, Mar 29, 2000 at 12:16:59AM -0500, Benjamin Scherrey wrote:
>
>
> Mike Kachline wrote:
> >
> > On Tue, 28 Mar 2000, Benjamin Scherrey wrote:
> >
> > > A couple of questions for you sysadmin types out there...
> > >
> > > 1. If I'm root on my box and I want to watch what other users are
> > > doing on my system, is there any standard way to view what's going on
> > > in other people's terminals? Is there a way for me to send my screen
> >
> > Someone else will have to comment on how to actually snoop on
> > actual tty's (I find that a bit too much), but, usually looking at the
> > user's "~user/.bashrc" file will yield enough information (granted that
> > your users are using the bash shell).
>
>         Actually I specifically want to "snoop". The reason I want to do this
> stuff is so I can help users online. At the least I want to be able to
> see exactly what they're seeing so I can talk to them over the phone
> and tell them what to do. Even better would be the ability to also
> take over their session and have my keystrokes appear in their session
> as if they were executing them. Of course, in GUI mode, I'd want my
> mouse to operate as well.
>
> >
> > > output (realtime) to another user to see? I'd like to do this with
> > > more command line and X term sessions.
> > Ask your user to type "tty". They'll get something back which is
> > to the tune of "/dev/pts/2". Then, as root, do a "script /dev/pts/2". This
> > will make it s.t all of your input and output will show up on the other
> > user's terminal. Note though, that you aren't "taking control" of their
> > terminal, only displaying your session onto it. Once you are done
> > displaying to the remote terminal, "exit" will stop the "script".
>
>         This is interesting but too bad it doesn't work the other direction.
>
> > >
> > > 2. I'm running RedHat 6.1 on i686. Where do I specify xhost
> > > accessibility in my configuration? Every time I try to remote login to
> >
> > This depends on whether or not you're using "xdm" or not. If
> > you're using "xdm" then chances are, youre logging in via some sort of
> > XWindows login prompt. If you get into X via xinit, then chances are you
> > log in to a text prompt, then type "startx".
>
>
>         No, I'm just using startx.
>
> > IMHO, the best way to do remote X execution is via ssh. Instead of
> > telnetting into the remote machines, just "ssh" into them. Granted that
> > you get a secure connection in, you should (most of the time) just be able
> > to start running X apps and have them show up on your box. SSH takes care
> > of the "xhost" and "display" stuff for you, as well as being much more
> > secure than the "xhost" option. If you're really into self abuse, you may
> > want to try using "xauth", but, with ssh now, it's not worth the effort.
>
>         I do use shh when I go remote but some hosts aren't setup for it.
>
> > If you like the ssh route, then my next suggestion would be to
> > take a look at "ssh-agent" and "ssh-add". These allow for you to only have
> > to type your password in once in order to log into and even execute X apps
> > from remote machines.
>
>         I'll check these out. Thanx for your help,
>
>                 Ben Scherrey
> --
> To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.