SUMMARY: View a terminal remotely

Gary Franczyk (Gary.Franczyk@e-one.com)
Fri, 20 Jun 1997 09:11:12 -0400

Ok here was the question.
> Hi.
>
> We are currently having a problem with people hacking about in the
> system getting into programs and directories they have no business
> getting into.
> I would like to find a program that would let me view their screen from
> my terminal. I found a program called xwatchwin that supposedly allows
> me to do so, but xmkmf refused to run complaining with the following
> error:
>
> mv Makefile Makefile.bak
> imake -I/usr/lib/X11/config
> "Imakefile.c", line 4: Can't find include file Imake.tmpl
> imake: Exit code 2. Stop.
>
> Does anyone have a compiled version of xwatchwin for Solaris 2.5.1 or
> does anyone know of any other ways I can watch person's window sessions?
>

I had to set my LD_LIBRARY_PATH variable to include some additonal
directories.... here is my full LD_LIBRARY_PATH variable now:

LD_LIBRARY_PATH=/usr/ucblib:/usr/openwin:/usr/dt/lib:/usr/openwin/lib:/usr/X11/lib:/usr/local/lib

It has to be set this way in order to compile AND to run xwatchwin

Also, I had to set up every user so that their .cshrc file included the
line:

xhost +myterminal

so that their terminal allows my terminal the permission to capture
xwindows sessions.
I did this easily since I have their .cshrc file source a .cshrc file
that is common to all machines. I just added the line 'xhost +myterm'
and thats set....

You can find xwatchwin at ftp://gigaserv.uni-paderborn.de

Thats about it....

Other options that I did not use were:
xjet ($$$commmercial)
xkey (only for keystrokes)
kibitz (only for xterm sessions and such)
script (no good for graphical xwindows stuff)

Thanks for the X-lib help from:
Jim Harmon
Jafar@sunpslab1.East.Sun.COM
Rick Schieche

THanks for the other recommendations from:
Ken DiLullo
boss@netcom.com
fpardo@tisny.com

Gary Franczyk