[K12OSN] fl_teachertool and vnc in ltsp4.2

Trond Mæhlum trond at maehlum.net
Wed May 3 18:18:56 UTC 2006


Jim McQuillan skrev:
> Trond,
> 
> what is the 'vnc-module'?  Is it an Xorg thing, or a vnc thing?
> 
> Give me some pointers, and I'll see if I can integrate it into an update
> for LTSP-4.2.

We use the "hack" below to do this in ltsp4.1. We have centrally placed 
servers at city hall. Our schools connect to the servers via fiber. We 
centrally manage 9 schools this way. The "Control" function of 
TeacherTool, like Citrix' shadow-function, is very useful for 
troubleshooting and aiding teachers and students from our office.

Our setup depends on this and in LTSP4.1 it works using the how-to below

Trond

here:


   4.  Optional: Step 4 is only required to enable the experimental support
         to Monitor and Control.

         Edit the file /opt/ltsp/i386/etc/lts.conf
         Fine the line X4_MODULE_01=glx. On the next line insert:

         X4_MODULE_02 = vnc

         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[*]}
      #=========================================
      # Added to enable Monitor/Control in Fl_TeacherTool
                    Option "httpdir" "/usr/share/vnc/classes"
                   Option "PasswordFile" "/root/.vnc/passwd"
                   Option "rfbport" "5900"
                   Option "usevnc"
      #=========================================
           EndSubSection
      EndSection

     Now you'll have to make a password for the vnc-session. Run this
     command as root:

     #/usr/bin/vncpasswd

     Choose a password and copy the password file into the ltsp-tree

     #cp -R -p /root/.vnc /opt/ltsp/i386/root/

     Now you must copy the vnc-module and some libraries into the ltsp-tree:

     #cp /usr/X11R6/lib/modules/extensions/vnc.so 
/opt/ltsp/i386/usr/X11R6/lib/modules/extensions/
     #cp /usr/lib/libstdc++.so.6 /opt/ltsp/i386/usr/lib/

     The next cp creates a backup of the original libgcc_s.so.1 library.

     #cp /opt/ltsp/i386/lib/libgcc_s.so.1 
/opt/ltsp/i386/lib/libgcc_s.so.1.original

     So, if you want, you can always restore things to their original state.

     You can now overwrite the library knowing you have saved the original.

     #cp /lib/libgcc_s.so.1 /opt/ltsp/i386/lib/

     Reboot the clients or just reset X by hitting Ctrl-Alt-Backspace 
and the
     new Monitor/Control buttons in Fl_TeacherTool should work.@









> Jim McQuillan
> jam at Ltsp.org
> 
> 
> 
> On Wed, May 3, 2006 9:32 am, Trond Mæhlum wrote:
>> Is there any hope of getting the vnc-module to work in ltsp4.2? We use
>> LTSP4.1 with the "hack" of copying vnc.so into /opt/ltsp... the way it's
>> documented on Robert's site.
>>
>> We tried this hack in LTSP4.2, but it does not work. We use the "Remote
>> control" function every day. For us this is now a major showstopper for
>> upgrading to LTSP4.2, which is too bad because of the new
>> improvements... Is there hope?
>>
>> Best Regards
>> Trond Maehlum
>>
>> _______________________________________________
>> K12OSN mailing list
>> K12OSN at redhat.com
>> https://www.redhat.com/mailman/listinfo/k12osn
>> For more info see <http://www.k12os.org>
>>
> 
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>




More information about the K12OSN mailing list