home » ltsp » install italc on ltsp5 » install italc on debian lenny
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.
$ 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.
$ sudo apt-get install italc-master
$ sudo ica -role teacher -createkeypair
I tried in vain to stipulate -role admin - could not get the keys to work
$ sudo addgroup italc $ sudo addgroupitalc $ sudo chgrp -R italc /etc/italc/keys $ sudo chmod -R 640 /etc/italc/keys/private/ $ sudo chmod -R ug+X /etc/italc/keys/private/
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/
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
Reboot client
Log into client
Open a terminal on the server and run /usr/bin/ica -noshm
Run italc