Version 0.71 Installation Procedure for K12Linux (Fedora based LTSP 5)) Special thanks to Peter Scheie for helping me figure stuff out. Install fltk #yum install fltk fltk-devel ====== We need vncviewer so install vnc or tigervnc (fedora 11) #yum install vnc or #yum install tigervnc ====== Next you need to get vncreflector 1.2.4 tarball from sourceforge.net http://sourceforge.net/projects/vnc-reflector/files/ (Note: The vncreflector package in Fedora seems broken) You will first need package libjpeg-devel to compile vnc-reflector #yum install libjpeg-devel Then compile vncreflector with make. Simply, cp the vncreflector binary to /usr/bin ====== Next you need tightvnc source from here http://sourceforge.net/projects/vnc-tight/files/TightVNC-unix/1.3.10/ Here are the packages you will need before you 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 http://sourceforge.net/projects/vncsnapshot/files/vncsnapshot/1.2a/vncsnapshot-1.2a-Linux-x86.tar.gz Compile it with make and just cp the vncsnapshot binary to /usr/bin ====== Next do #yum install xscreensaver-base ====== You also need x11vnc and openssh-server inside the ltsp tree. I got the x11vnc rpm from here http://packages.sw.be/x11vnc/ You can install x11vnc and openssh-server like this: chroot /opt/ltsp/i386 mount /proc (Note: Fedora 9/10 do not have x11vnc rpm packages so I used the following website) rpm -ivh http://packages.sw.be/x11vnc/x11vnc-0.9.5-1.fc10.rf.i386.rpm (However, Fedora 11 or newer now has x11vnc, so you can install it with yum) yum install x11vnc yum install openssh-server chkconfig sshd on service sshd start umount /proc exit ====== Now edit /opt/ltsp/i386/etc/ssh/sshd_config and add in the appropriate place PasswordAuthentication no to prevent password ssh logins ====== Now make a file called /opt/ltsp/i386/etc/x11vnc-script in it put the following 2 lines #!/bin/bash /usr/bin/x11vnc -rfbauth /tmp/fl_tt_xvncpasswd -cursor arrow -forever -display :1 -auth $(ps -ef | grep [-]auth | grep xinit |awk '{print $15}') give it the correct permissions #chmod 755 /opt/ltsp/i386/etc/x11vnc-script ====== Next create an ssh key pair without a passphrase for root. #ssh-keygen -t rsa -b 2048 just hit enter when it asks for a passphrase. Now you want to be careful with this next part -make sure the private key has permission 600 chmod 600 /root/.ssh/id_rsa next you want to copy paste the public key #cat /root/.ssh/id_rsa.pub it should look something like this (I have replaced the key with .....) ssh-rsa ........ In file /opt/ltsp/i386/etc/rc.local add the following 2 lines: mkdir -p /root/.ssh echo 'ssh-rsa .....' > /root/.ssh/authorized_keys ===== You now have to setup xinetd start vncserver: 1. Update gdm via yum: yum update gdm 2. Install vnc-ltsp-config via yum: yum install vnc-ltsp-config 3. Edit /etc/gdm/custom.conf, add 'Enable=true' under [xdmcp], i.e., [xdmcp] Enable=true 4. Turn on vncts in xinetd via chkconfig: chkconfig vncts on 5. Reboot server, to restart gdm. Logging out used to do this, as did running gdmrestart, but neither seems to work. 6. Reboot clients at this point also. ====== 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 ====== Now you can install fl_teachertool (untar the tarball) you may still need libXpm-devel and libpng-devel package so install those first with yum, then make #make install ====== 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!!!!!!!!!