SUMMARY: View a terminal remotely

From: Gary Franczyk (
Date: Fri Jun 20 1997 - 08:11:12 CDT

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:


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

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

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
Rick Schieche

THanks for the other recommendations from:
Ken DiLullo

Gary Franczyk

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:57 CDT