Setting up Fl TeacherTool on K12LTSP 5 or newer

From K12LTSP Wiki

Jump to: navigation, search

Fl_teachertool is installed by default in K12LTSP.

Enable the control/monitor feature

  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!

Allowing teachers to run fl_teachertool without root password

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/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. Place it under # User specific aliases and functions:
    alias teach='sudo /usr/sbin/fl_teachertool'
    Then they only have to type teach or alternatively put a launcher icon with the command sudo /usr/sbin/fl_teachertool on their desktop.
Personal tools