LTSP-Ubuntu

Add new source for iTALC and update chroot

Lado do Servidor:
Adicionar os seguintes repositorios
deb http://ppa.launchpad.net/edubuntu-italc-devel/ubuntu hardy main
deb-src http://ppa.launchpad.net/edubuntu-italc-devel/ubuntu hardy main

apt-get update
apt-get dselect-upgrade

sudo apt-get install italc-master
[--]
Creating teacher keypair
Creating admin keypair
Creating supporter keypair
[--]

Lado do Cliente:
mount --bind /dev /opt/ltsp/i386/dev
mount -t proc none /opt/ltsp/i386/proc

chroot /opt/ltsp/i386

apt-get update
apt-get dselect-upgrade

apt-get install italc-client
[--]
Creating teacher keypair
Creating admin keypair
Creating supporter keypair
Installing ldm rc script
[--]

exit

ltsp-update-image --arch i386
 

Referencia: https://help.ubuntu.com/community/UbuntuLTSP/iTalc

 


 

Adicionar no Startup do Icewm

/usr/local/bin/start_ica &

 

#!/usr/bin/perl -w
#
#
# written by Patrick Winnertz 11.12.05
# and modified by Giovanni Gimelli - Osservatorio Tecnologico Italy
# licensed under GPL2+
#
use Socket;
use strict;
#Figure out your DISPLAY
my $display = $ENV{'DISPLAY'};
#Delete :* at the end of the string
my $displayname = $display ;
$display =~s/:[^:]*$//;
my $log = $display ;
my $address = 0;
my $isdport = 5800;
#if this script is started on the server $address is empty:
my $ivsport = 11000;
if (length($display) > 0) {
        #convert name into ipaddress
        $address = inet_ntoa(inet_aton($display));
        #Save only the last part (yyy) of the IP: xx.xx.xx.yyy
        $address =~ s/(\d*).(\d*).(\d*).(\d*)/$4/;
        my $IVSBASEPORT = 11000;
        my $ISDBASEPORT = 11400;
        $ivsport = $IVSBASEPORT+$address;
        $isdport = $ISDBASEPORT+$address;
}
#Finally start ICA:
system("/usr/bin/ica -noshm -ivsport $ivsport -isdport $isdport -display $displayname  &");

Referencia: http://italc.sourceforge.net/wiki/index.php?title=ITALC_in_a_ThinClient_environment