LTSP | Install iTalc on Debian Lenny

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.

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.

Install italc-master on server

$ sudo apt-get install italc-master

Generate Key Pairs

$ sudo ica -role teacher -createkeypair

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

Set Permissions

$ sudo addgroup italc
$ sudo addgroup <userid> 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/

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/

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

Test

References

comments powered by Disqus