Optional prefixes: [g]oogle, [m]ap  
[w]ikipedia, [snopes]  

home » ltsp » install italc on ltsp5 » install italc on debian lenny

Install Italc on Debian Lenny

Table of Contents

Warning

After completing this installation, the clients received an error on login about port 5900 already in use. Upgrading italc-client (by temporarily adding the sid repository to /etc/apt/source.list in the chroot and re-installing italc-client) fixed this problem.

However, I was unable to get an acceptable performance from italc for shadowing, and ended up install x11vnc. See Install x11vnc on LTSP5 for more information.


top

Install italc-client in chroot

$ sudo chroot /opt/ltsp/i386
# mount -t proc /proc /proc
# mount -t sysfs sys /sys
# apt-get install italc-client
# umount sys
# umount /proc
# exit

If you are using ubuntu rather than debian, or have switched to nbd instead of nfs, remember to do an ltsp-update-client after leaving the chroot.


top

Install italc-master on server

$ sudo apt-get install italc-master


top

Generate Key Pairs

$ sudo ica -role teacher -createkeypair

I tried in vain to stipulate -role admin - could not get the keys to work


top

Set Permissions

$ sudo addgroup italc
$ sudo addgroup  italc
$ sudo chgrp -R italc /etc/italc/keys
$ sudo chmod -R 640 /etc/italc/keys/private/
$ sudo chmod -R ug+X /etc/italc/keys/private/


top

Transfer keys to client

This assumes a standard /opt/ltsp/i386 chroot, change path to suit your installation

$ sudo mkdir /opt/ltsp/i386/etc/italc/keys
$ sudo cp -r /etc/italc/keys/public /opt/ltsp/i386/etc/italc/keys/


top

Create client start script

Enter the chroot:

$ sudo chroot /opt/ltsp/i386

And create the following script:

#!/bin/sh
# /usr/share/ldm/rc.d/S20-ica-launcher
/usr/bin/ica &
true


top

Test

Reboot client

Log into client

Open a terminal on the server and run /usr/bin/ica -noshm

Run italc


top

References

Share

top