Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
clientleger_teachertool [Le 13/11/2007, 23:57] francoisb créée par francoisb |
clientleger_teachertool [Le 01/09/2022, 00:08] (Version actuelle) moths-art Passage de http à https sur les liens externes (détecté et corrigé via le bot wiki-corrector (https://forum.ubuntu-fr.org/viewtopic.php?id=2067892) |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | {{tag>Edubuntu ltsp teachertool}} | + | {{tag>ltsp BROUILLON}} |
====== Installer la version beta de fl_Teachertool ====== | ====== Installer la version beta de fl_Teachertool ====== | ||
- | NB : 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]]. | + | <note important>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]].</note> |
- | 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) : | + | 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: | to setup x11vnc on clients: | ||
- | http://doc.edubuntu-fr.org/clientleger_x11vnc | + | [[clientleger_x11vnc]] |
include -shared option in x11vnc command | include -shared option in x11vnc command | ||
Ligne 17: | Ligne 23: | ||
but it did not have the cp sources.list line | but it did not have the cp sources.list line | ||
Don't forget to exit the chroot | Don't forget to exit the chroot | ||
- | + | | |
- | <code> | + | * Téléchargez les sources depuis cette [[http://www3.telus.net/public/robark/Fl_TeacherTool/fl_teachertool-0.70-src.tar.gz|adresse]]. |
- | sudo su | + | * [[archivage|Décompressez les sources]] et déplacez-vous dans le dossier et exécutez y les commandes qui suivent : <code bash> |
- | + | ||
- | apt-get install build-essential | + | |
- | apt-get install libfltk1.1 libfltk1.1-dev | + | |
- | apt-get install libxpm-dev | + | |
- | apt-get install vnc4server | + | |
- | apt-get install xtightvncviewer | + | |
- | apt-get install zlib1g-dev | + | |
- | apt-get install libjpeg-dev | + | |
- | apt-get install xscreensaver | + | |
- | </code> | + | |
- | + | ||
- | download fl-tt source from here | + | |
- | + | ||
- | http://www3.telus.net/public/robark/Fl_TeacherTool/fl_teachertool-041-ltsp5.tar.gz | + | |
- | + | ||
- | untar my tarball then | + | |
- | + | ||
- | <code> | + | |
cd "le-dossier-fl_teachertool" | cd "le-dossier-fl_teachertool" | ||
- | |||
make && make install | make && make install | ||
- | |||
chmod +x /etc/X11/xinit/xinitrc | chmod +x /etc/X11/xinit/xinitrc | ||
- | |||
- | gedit /etc/X11/app-defaults/XScreenSaver | ||
</code> | </code> | ||
- | + | * [[:tutoriel:comment_modifier_un_fichier|modifiez le fichier]] **/etc/X11/app-defaults/XScreenSaver**, à cette ligne | |
- | near the beginning of the file there should be this line | + | ''*mode: random'' remplacez ''random'' par ''blank''. |
- | + | ||
- | *mode: random | + | |
- | + | ||
- | replace the word "random" with "blank" (no quotes) | + | |
download vncreflector source code | download vncreflector source code | ||
from here | from here | ||
- | http://sourceforge.net/projects/vnc-reflector/ | + | https://sourceforge.net/projects/vnc-reflector/ |
<code> | <code> | ||
Ligne 66: | Ligne 46: | ||
follow step 2-5 here for control/monitor | follow step 2-5 here for control/monitor | ||
http://www3.telus.net/public/robark/Fl_TeacherTool/installationk12ltsp.html#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 <enter>. 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. | Hopefully I have not forgotten anything. |