iTALC - Kontrolltool für Leher
Hy!
Dank Tobias Doerffel, dem Entwickler von iTALC, ist iTALC jetzt voll
"skolelinuxfähig":
Leider funktionert dies nur mit der cvs- Version im Moment, sodass man sich
die aktuell Version von italc am besten per cvs von sourceforge zieht.
Damit dies auch funktioniert habe ich ein kleines Perlscript geschrieben,
dass, je nachdem auf welchem ThinClient es startet, den Port auf dem ivs
lauscht ändert.
Für alle Lehrer die sich auf Linux einen Ersatz für MasterEye oder Inis
gewünscht haben, kann ich iTALC nur empfehlen.
Hier das Perlscript:
<snip>
#!/usr/bin/perl -w
#
#
# written by Patrick Winnertz 11.12.05
# 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/:(\d*).(\d*)// ;
my $log = $display ;
my $address = 0;
#if this script is started on the server $address is empty:
my $port = 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/;
#Set the port:
my $BASEPORT = 11000;
$port = $BASEPORT+$address;
}
#Finally start ivs:
system("/usr/local/bin/ivs -noshm -rfbport $port -display $displayname
-o /tmp/ivs.log$log &");
<snap>
Eine komplette Installationsanleitung ist unter www.skolelinux.de/wiki/italc
zu finden.
mfg
Patrick
Reply to: