个人工具

UbuntuHelp:UbuntuLTSP/LTSPFl TeacherTool

来自Ubuntu中文

跳转至: 导航, 搜索
This page is specific to Ubuntu versions 6.06

If you find this information applicable to additional versions/releases, please edit this page and modify this header to reflect that. Please also include any necessary modifications for this information to apply to the additional versions.


FL_TeacherTool is an excellent tool for administration and control on a LTSP Environment. Please note that the supported application for ltsp5 user and student management in ubuntu is student-contol-panel/thin-client-manager(feisty only), we highly encourage all users to use this app At this page i would describe how to install it in Ubuntu, Kubuntu and others derivatives. The procedure was used on a ubuntu 5.10 upgraded to 6.06 with kubuntu-desktop installed. Also it was tested on a ubuntu 6.06 with kubuntu-desktop installed. So it would need some changes for your specific version. The original information is mainly extracted from the Fl_TeacherTool`s author page, Robert Arkiletian. Robert, Thanks a LOT for your excellent work. http://www3.telus.net/public/robark/Fl_TeacherTool/ At the time of this writing the last release (Jan 2007) is 0.34. But i was notified by Robert that a new version would come soon. So stay tuned!!! WARNING:!! 0.- I must warn you, that i'm not using ltsp-server packages from ubuntu i'm making a traditional ltsp install (actually at this time i'm using ltsp-4.2) using the packages provided by www.ltsp.org. This is really important because i haven't tested this in an ubuntu ltsp install (or ltsp-5). In fact according to Robert, fl-tt will not yet work with Muekow implementation which edubuntu uses but this patch should pave the way for that. So Hopefully in a near future we would have a very nice prodcut with ltsp-5 Also please proceed at your OWN RISK i cannot assure you that this will work. 1.- Install fltk libraries and development packages apt-get install libfltk1.1 libfltk1.1-dev libxpm-dev 2.- Download Fl_TeacherTool fron this link http://www3.telus.net/public/robark/Fl_TeacherTool/Fl_TeacherTool-0.34-src.tar.gz And Download this patch that makes it work with Ubuntu. http://www.seaq.com.co/linux/Fl_TeacherTool/ $tar -xvzf Fl_TeacherTool-0.34-src.tar.gz $cd Fl_TeacherTool-0.34 $patch < ../Fl_TeacherTool-Ubuntu.patch $make $sudo make install 3.- Download vncreflector and teachertool-vncviewer WARNING: The preferred method for this step is to download the source from the respective project pages (referred at the Robert's FL_TT page) and compiled manually. In my case this procedure worked without problems, but it could not work for you. wget http://dag.wieers.com/packages/vncreflector/vncreflector-1.2.4-0.1.fc3.rf.i386.rpm wget ftp://k12linux.mesd.k12.or.us/pub/K12LTSP/testing/teachertool-vnc/teachertool-tightvnc-1.2.9-2.k12ltsp.4.2.2EL.i386.rpm WARNING: This last package is nothing more than tightvnc viewer with the vncviewer binary renamed to teachertool-tightvnc so it won't conflict with real vncviewer binary name. So if you already got this package installed you can copy and rename the binary, i must say i didn't try this because it worked for me using the K12LTSP package. 4.- convert the rpms to deb packages alien package.rpm 5.- install both packages sudo dpkg -i package.rpm 6.- Adding monitor and control support WARNING: If you update the ltsp to the latest ltsp-4.2.2 this changes would be no longer needed. Edit the file /opt/ltsp/i386/etc/lts.conf Find the line X4_MODULE_01=glx. On the next line insert: X4_MODULE_02 = vnc 7.- Adding password to vnc sessions $sudo /usr/bin/vncpasswd Choose a password and copy the password file into the ltsp-tree $sudo cp -R -p /root/.vnc /opt/ltsp/i386/root/ 8.- Modifying thin client's xorg.conf building script WARNING: If you update the ltsp to the latest ltsp-4.2.2 this changes would be no longer needed.

If you are using K12LTSP version 5.0.0 or later you can omit the rest of this step.

Then edit the file /opt/ltsp/i386/etc/build_x4_cfg and add the following between (Secton "Screen") and (EndSubSection), so it looks like this: Section "Screen" Identifier "Screen0" Device "My Video Card" Monitor "My Monitor" DefaultDepth ${X_COLOR_DEPTH:-16} Subsection "Display" Depth ${X_COLOR_DEPTH:-16} Modes ${MODE[*]}

  1. =========================================
  2. Added to enable Monitor/Control in Fl_TeacherTool

Option "httpdir" "/usr/share/vnc/classes" Option "PasswordFile" "/root/.vnc/passwd" Option "rfbport" "5900" Option "usevnc"

  1. =========================================

EndSubSection EndSection 9.- Adding support to vnc in ltsp-tree. The latest release of ltsp-4.2 includes a vnc package that brings this support to the ltsp-tree. So please check with ltspadmin that you have your ltsp modules up to date and that you have ltsp_vnc_module installed. 10. Reboot the clients or just reset X by logging out and back in, or typing sudo /etc/init.d/gdm restart, and the new Monitor/Control buttons in Fl_TeacherTool should work. 11. Saving the use of sudo to invoke FL_TeacherTool add the next line to /etc/sudoers %teachers ALL=NOPASSWD:/usr/local/sbin/Fl_TeacherTool $sudo visudo 12. After a lot of help from robert i could make the broadcast service work without problems. Just be sure that you've got the ltsp_vnc_module installed. It should be enough to get it working. 13. Seems to be pretty much of it. Try it and let me know it it works for you. Regards, Andres Mujica RHCE http://www.seaq.com.co