Thin-client manager not working - UPDATE
Philipp Hanselmann
philipp at schoolnet.na
Wed Aug 15 09:10:32 BST 2007
Hi David
This a script which is working for me. These are manual steps, may is
simple to follow them:
1.) download libxdamage, x11vnc packages from the packages.ubuntu.com
2.) copy these packages to /opt/ltsp/i386/
cp libxdamage
cp x11vnc*.deb /opt/ltsp/i386
cp libxdamage*.deb /opt/ltsp/i386
3.1) install these packages
chroot /opt/ltsp/i386
dpkg -i libxdamage*.deb
dpkg -i x11vnc*.deb
3.2) close the console and open a new one.
4.) clean up these files
rm /opt/ltsp/i386/libxdamage*.deb
rm /opt/ltsp/i386/x11vnc*.deb
5.) Add this line to /opt/ltsp/i386/etc/rc.local
x11vnc -display :6 -forever -loop
6.) ensure that rc.local get started during booting.
mv /opt/ltsp/i386/etc/rc2.d/K99rc.local /opt/ltsp/i386/etc/rc2.d/S99rc.local
After that, restart the thin clients, now you should be able to see the
clients in thin client manager.
Like I wrote in a previous email, I decided not use these features,
because thin client manager is more often freezing than before and also
I am afraid that these will slow done the network!
Good luck!
Philipp
On Fri, 10 Aug 2007 08:34:19 -0400, wrote David Trask:
> What file is this in? Where do I put this?
>
>
> Philipp Hanselmann <philipp at schoolnet.na> writes:
>> Hi
>>
>> I active the vnc support under (feisty) with the following lines.
>>
>>
>> <snip>
>> LTSP_ROOT='/opt/ltsp/i386'
>> DO_X11VNC='true'
>>
>> if [ $DO_X11VNC == 'true' ] ; then
>>
>> echo " * activate screen sharing (x11vnc, needs Thin client
>> reboot)" # if ! grep "x11vnc" < $LTSP_ROOT/etc/rc.local ; then
>> echo " * configure x11vnc inside of ltsp i386 root"
>> cp ${BASEDIR}/snna-settings/libxdamage*.deb $LTSP_ROOT cp
>> ${BASEDIR}/snna-settings/x11vnc*.deb $LTSP_ROOT
>>
>> # install packages
>> echo '#!/bin/bash
>> dpkg -i ./libxdamage*.deb > /dev/null && echo " package
>> libxdamage installed ..."
>> dpkg -i ./x11vnc*.deb > /dev/null && echo " package x11vnc
>> installed ..."' > $LTSP_ROOT/sbin/configure-ltsp-root chmod 755
>> $LTSP_ROOT/sbin/configure-ltsp-root chroot $LTSP_ROOT/
>> /sbin/configure-ltsp-root
>>
>> sed '/exit/d' $LTSP_ROOT/etc/rc.local > $LTSP_ROOT/tmp/rc.local
>> sed '/x11vnc/d' $LTSP_ROOT/tmp/rc.local >
>> $LTSP_ROOT/etc/rc.local echo "# starting x11vnc x11vnc -display
>> :6 -forever -loop & exit 0" >> $LTSP_ROOT/etc/rc.local
>>
>>
>> # give execute permissons
>> if [ -e $LTSP_ROOT/etc/rc2.d/K99rc.local ] ; then
>> mv $LTSP_ROOT/etc/rc2.d/K99rc.local
>> $LTSP_ROOT/etc/rc2.d/S99rc.local fi # cleanup files rm -f
>> $LTSP_ROOT/*.deb
>>
>> else
>> echo " * deactivate screen sharing (x11vnc, needs Thin client
>> reboot)" # give execute permissons if [ -e
>> $LTSP_ROOT/etc/rc2.d/S99rc.local ] ; then
>> mv $LTSP_ROOT/etc/rc2.d/S99rc.local
>> $LTSP_ROOT/etc/rc2.d/K99rc.local fi fi </snip>
>>
>> Even this is working, I noticed, that thin-client manger is now
>> more often freezing than before, so i decided not to use x11vnc.
>>
>> Philipp
>>
>>
>> On Thu, 09 Aug 2007 18:11:20 -0400, wrote David Trask:
>>> I now have view screen working along with the process viewer,
>>> message,
>>> execute, and disconnect. I'm basically try to get the share
>>> screen and some of the extras working that I had in
>>> FL_TeacherTool in K12LTSP. Anyway I'll keep plugging away. :-)
>>>
>>> Richard Doyle <rdoyle at islandnetworks.com> writes:
>>>> On Tue, 2007-08-07 at 11:22 -0500, Jim Kronebusch wrote:
>>>>
>>>>> On Tue, 07 Aug 2007 03:14:19 -0400, David Trask wrote
>>>>>
>>>>>> Ok,
>>>>>>
>>>>>> Last issue and I'm going home (it's 3 a.m.) I've just
>>>>>> finished
>>>>>>
>>>> getting 2
>>>>>> Edubuntu servers up and running....they are in dhcp-load
>>>>>>
>>>> balance/failover
>>>>>> mode (working fine)...clients boot and log in fine,
>>>>>> however screen blanking, sharing, and monitoring in thin-
>>>>>> client manager is not
>>>>>>
>>>> working.
>>>>>> Now...one thing to take into consideration...I am running
>>>>>> Samba/LDAP
>>>>>>
>>>> (on
>>>>>> another box using the smbldap-installer on Ubuntu server
>>>>>> which I also installed this evening) as my point of
>>>>>> authentication.
>>>>>>
>>>>>>
>>>>> I can't get the Thin Client Manager (Or is it now Student
>>>>> Control
>>>>>
>>>> Panel) working at all
>>>>> either. I can get a list of processes but that is it.
>>>>> Blanking,
>>>>>
>>>> sharing, monitoring
>>>>> don't work at all. I like you have tried every possible
>>>>> fix I could
>>>>>
>>>> find with none of
>>>>> them working. I can install x11vnc into /opt/ltsp/i386 and
>>>>> get the
>>>>>
>>>> errors to go away,
>>>>> but still won't work. I have tried this with single NICs,
>>>>> teamed NICs,
>>>>>
>>>> 32-bit OS,
>>>>> 64-bit OS, local unix users, ldap users, hopping on one
>>>>> foot and
>>>>>
>>>> patting my head while
>>>>> trying the above, but nothing works. In my opinion the
>>>>> Thin Client
>>>>>
>>>> Manager is mostly
>>>>> worthless without the VNC features working and really need
>>>>> to be fixed.
>>>>>
>>>>> Please let me know if you find anyone with a "working"
>>>>> solution. I am
>>>>>
>>>> running Edubuntu
>>>>> Feisty as I am sure you are.
>>>>>
>>>> Don't know if I have a working solution, but Execute,
>>>> Disconnect, Message, Process Viewer and Screen Viewer work
>>>> here (Blank, Un- Blank and Share Screen don't, but I haven't
>>>> particularly tried to fix them).
>>>>
>>>> This is on Edubuntu Feisty with a single thin client. The
>>>> only change
>>>> from the Howto in the wiki (InstallX11VncOnLtspClients) is to
>>>> add a
>>>> parameter (-shared) to the x11vnc command in /etc/rc.local.
>>>>
>>>> -Richard
>>>>
>>>>>
>>>>> Jim
>>>>>
>>>>
>>>> --
>>>> edubuntu-users mailing list
>>>> edubuntu-users at lists.ubuntu.com
>>>> Modify settings or unsubscribe at:
>>>> https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
>>>>
>>>
>>> David N. Trask
>>> Technology Teacher/Director
>>> Vassalboro Community School
>>> dtrask at vcsvikings.org
>>> (207)923-3100
>>>
>>>
>>> --
>>> edubuntu-users mailing list
>>> edubuntu-users at lists.ubuntu.com
>>> Modify settings or unsubscribe at:
>>> https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
>>>
>>
More information about the edubuntu-users
mailing list