{{tag>ltsp BROUILLON}} ====== Installer la version beta de fl_Teachertool ====== Cette page est la traduction ***EN COURS*** d'un "post" de Robert Arkiletian sur la [[https://lists.ubuntu.com/archives/edubuntu-users/2007-September/001912.html|liste Edubuntu internationale]]. En attendant de disposer d'un paquet Debian pour cette application, vous pouvez suivre les instructions suivantes (attention, nous parlons bien d'une version beta, à manipuler avec précaution). =====Pré-requis===== * Disposer d'une connexion internet, * Installer les outils de [[compilation]], * * [[:tutoriel:comment_installer_un_paquet|installer les paquets]] **[[apt>build-essential,libfltk1.1,libfltk1.1-dev,libxpm-dev,vnc4server,xtightvncviewer,zlib1g-dev,libjpeg-dev,xscreensaver]]**. =====Installation===== to setup x11vnc on clients: [[clientleger_x11vnc]] include -shared option in x11vnc command there is an english version https://wiki.edubuntu.org/InstallX11VncOnLtspClients but it did not have the cp sources.list line Don't forget to exit the chroot * Téléchargez les sources depuis cette [[http://www3.telus.net/public/robark/Fl_TeacherTool/fl_teachertool-0.70-src.tar.gz|adresse]]. * [[archivage|Décompressez les sources]] et déplacez-vous dans le dossier et exécutez y les commandes qui suivent : cd "le-dossier-fl_teachertool" make && make install chmod +x /etc/X11/xinit/xinitrc * [[:tutoriel:comment_modifier_un_fichier|modifiez le fichier]] **/etc/X11/app-defaults/XScreenSaver**, à cette ligne ''*mode: random'' remplacez ''random'' par ''blank''. download vncreflector source code from here https://sourceforge.net/projects/vnc-reflector/ untar make cp vncreflector /usr/bin follow step 2-5 here for control/monitor http://www3.telus.net/public/robark/Fl_TeacherTool/installationk12ltsp.html#monitor 1. Edit the file /opt/ltsp/i386/etc/lts.conf and uncomment (i.e. remove the "#"): X4_MODULE_02 = vnc 2. Become root: su - 3. Make a password for the vnc-session: /usr/bin/vncpasswd 4. Copy the password file into the ltsp-tree: cp -a /root/.vnc /opt/ltsp/i386/root/ 5. Log out of root session: exit 6. Reboot your clients! Allow Non-Root Users to Run Fl_TeacherTool This enables teachers who do not have root password to run fl_teachertool. 1. Create a new group called "teachers" using system-config-users You can run this from GNOME using System, Administration, Users and Groups. 2. Add the "teachers" group to each user who needs to run fl_teachertool. 3. Become root with $su - 4. Run: visudo This is a special editor for the sudoers file. 5. Add the following line to the end of the file using vi editing techniques: %teachers ALL=NOPASSWD:/usr/local/sbin/fl_teachertool Enter at least one blank line at the end of the file. If you don't know vi then just goto the last line and hit the letter "i" for (insert) then type the above line, hit enter, then hit the escape key. Now type :wq and hit . This saves and exits. Alternatively, you can set the EDITOR environment variable to a different text editor. nano is a friendly editor: export EDITOR=/usr/bin/nano; visudo 6. If your fellow teachers are not comfortable typing "sudo /usr/sbin/fl_teachertool" then add an alias in file .bashrc (notice it starts with a period) in the home directory of the people who will run the program. # User specific aliases and functions alias teach='sudo /usr/local/sbin/fl_teachertool' Then they only have to type teach or alternatively put a launcher icon with the command sudo /usr/local/sbin/fl_teachertool on their desktop. Hopefully I have not forgotten anything. Oh, fl_teachertool must be run as root Be patient with this version as it runs slower than it did on k12ltsp. I am also currently developing version 0.50. Enjoy.