K12LTSP 4.2.X EL

K12LTSP 4.2.X EL

K12LTSP 5 or Later

K12LTSP 5

K12LTSP 6

Others + LTSP 4.2 (from source)

Ubuntu + LTSP 4.2

Fedora + LTSP 4.2


New Version 0.62 Installation Procedure

** Note: this version is meant to be installed on ltsp 4.x **
** Specifically these instructions are for k12ltsp 5EL **

========================================================
Note: when fl_teachertool gets updated in k12ltsp you can
install it with
#yum install fl_teachertool 
then skip down to the "continue from here" line below
========================================================


Either install fltk automatically with 

yum install fltk fltk-devel

Or do it manually as described below.

goto fltk.org and download version 1.1.9 tarball.
Untar the tarball

However before you compile it you need some libraries. 
Install these libraries with yum if you don't have them 
(yum should automatically install dependency libs which I will list indented)
 
 gcc-c++
    libstdc++-devel
 
 libX11-devel
    libXau-devel
    libXdmcp-devel
    mesa-libGL-devel
    xorg-x11-proto-devel
 
 libXext-devel
 
 libXpm-devel
 
 libXft-devel
    fontconfig-devel
    freetype-devel
    libXrender-devel
    zlib-devel
    
Now you can compile fltk

./configure  --enable-shared  --enable-threads  --enable-xdbe  --enable-xft
make 
#make install

it will install to /usr/local 
You are finished installing fltk. 

Next you need to get vncreflector 1.2.4 tarball from sourceforge.net

You will need the package
 libjpeg-devel
to compile it. Compile vncreflector with make.

Simply, cp the vncreflector binary to /usr/bin

Next you need tightvnc source from here
http://downloads.sourceforge.net/vnc-tight/tightvnc-1.3.9_unixsrc.tar.bz2

Here are the packages you will need to compile tightvnc

 imake
 
 libXmu-devel
    libICE-devel
    libSM-devel
    libXt-devel
    xorg-x11-util-macros
    
 libXaw-devel
 
 to compile follow the install instructions in the README
 
 xmkmf
 make World

Now all you need are two files. 
cp vncviewer binary to /usr/bin but rename it to teachertool-vncviewer
cp vncpasswd binary to /usr/bin but rename it to teachertool-vncpasswd

Next make sure you have ImageMagick and gthumb installed
(you probably already do)

Next you need vncsnapshot 1.2a source tarball from sourceforge
Compile it with make and just cp the vncsnapshot binary to /usr/bin

Next do a 
#yum  install  xscreensaver-base


Now you can install fl_teachertool (untar the tarball) 
you may still need libXpm-devel and libpng-devel package so install
those first, then

make
#make install

===========================================================
continue from here if you installed fl_teachertool with yum
===========================================================

Next follow the old steps to enable monitor/control in k12ltsp
http://www3.telus.net/public/robark/Fl_TeacherTool/installationk12ltsp.html

Almost finished...

Next (as root of course) 

mkdir  -p  /usr/local/etc/fl_teachertool/teacher
chmod  700  /usr/local/etc/fl_teachertool/teacher

Now create a new file
vim  /usr/local/etc/fl_teachertool/teacher/vncreflectorpass

inside this file you should type two passwords like this

fullcontrolpassword
viewonlypassword

You make up your own passwords. They should be in plain text.
Then
chmod 600  /usr/local/etc/fl_teachertool/teacher/vncreflectorpass


Now you need to create the encrypted versions of these plain text passwords
Again as root issue the command:

teachertool-vncpasswd  /usr/local/etc/fl_teachertool/teacher/teacherpass

Now only type in *one* password. 
The one you typed in the first line of vncreflectorpass (eg fullcontrolpassword)
Now
chmod 600  /usr/local/etc/fl_teachertool/teacher/teacherpass

Next
teachertool-vncpasswd  /usr/local/etc/fl_teachertool/clientpass

Note: the dir is *not* the same as teacherpass 
Again only type in *one* password. 
The one you typed in the second line of vncreflectorpass (eg viewonlypassword)

Now 
chmod  644  /usr/local/etc/fl_teachertool/clientpass

Last thing:
Make your broadcast windows bigger than 800x600
I prefer 1024x768 broadcast windows

vim /etc/xinetd.d/vncts

change 16bit 800x600 to 1024x768

#service xinetd restart

That's it. Don't forget to configure 
/usr/local/etc/fl_teachertool/fl_teachertool.conf
if you have multiple rooms (or wish to divide classrooms into sections)

If you are not sure how to configure it read the docs here
http://www3.telus.net/public/robark/Fl_TeacherTool/documentation.html
Specifically the last 2 sections.

Enjoy!!!!!!!!!