Sunday, January 16, 2011

Making Fat Client

  1. Followed instructions on: and used the .conf install.
  2. Since I already had a working LTSP server working I skipped step of creating one--seemed fine.
  3. Next made backup of /opt/ltsp/i386 with cp -r -p /opt/ltsp/i386 (into my Documents folder).
  4. Had to rename the current i386 to i386-thin
  5. Then did the install, just changing the option to install the edubuntu-desktop (from ubuntu-desktop).
  6. Seemed to work fine.
  7. Made the script file to ease of install of other programs into the fat client chroot.
  8. Installed htop and locate seemed to work fine (sudo apt-get install htop, for example)
  9. Used the script and installed the loggerpro from  Pretty much went fine, just some mime type error messages but should be ok.
  10. Then tried to install CmapTools--downloaded, changed .bin file to executable: sudo chmod +x, with another terminal window moved to the chroot then ran: ./LinuxCmapTools_v5.04.01_10-28-10.bin but it didn't work with familiar looking errors:
root@gcos-server:/# ./LinuxCmapTools_v5.04.01_10-28-10.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
nawk: cmd. line:6: warning: escape sequence `\.' treated as plain `.'

Launching installer...

Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

Stack Trace:
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
    at java.awt.Window.init(Unknown Source)
    at java.awt.Window.(Unknown Source)
    at java.awt.Frame.(Unknown Source)
    at java.awt.Frame.(Unknown Source)
    at com.zerog.ia.installer.LifeCycleManager.g(DashoA8113)
    at com.zerog.ia.installer.LifeCycleManager.h(DashoA8113)
    at com.zerog.ia.installer.LifeCycleManager.a(DashoA8113)
    at com.zerog.ia.installer.Main.main(DashoA8113)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.zerog.lax.LAX.launch(DashoA8113)
    at com.zerog.lax.LAX.main(DashoA8113)
This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

  1. So anyway, looks like I'll have to use my old post to install this:
  2. I'm going to try on Tuesday to copy lts.conf stuff from old chroot into this, also copy the resolv.conf stuff.  And...?

Saturday, January 15, 2011

How to install into the ltsp chroot

This works to install openoffice into the chroot of lucid:
sudo chroot /opt/ltsp/i386
mount -t proc proc /proc
apt-get install
umount /proc
To install firefox it's simply:
Sudo chroot /opt/ltsp/i386 install firefox
I tried to install SmartBoard software--SMART Notebook Software with Drivers 10.package--into my ltsp chroot. This problem was compounded by the software that installs this type of package, the .package format, is called "AutoPackage" or some such. Unfortunately it doesn't work on 64 bit systems without certain libraries (which I didn't install) and my server is 64 bit. However, its successor, "Listaller" does work on 64 bit systems.

First I installed Listaller in the regular root, then I installed it into the chroot and entered the chroot with sudo chroot /opt/lits/i386 then started the listallmgr-gtk program but then wasn't able to make Listaller run the .package file. So finally I went to Veli-Menti solution which was to install it on a regular 1386 system then use his cool script to convert it into a .deb file which is easy to install into a chroot.

This page explains how to do that: I did it in a Virtual box and the install went great but there was an issue upon running the script. Hoping that Matti will get back to me about that...

Issue: when in the ltsp chroot one can't use the new command (since Karmic): "add-apt-repository" because the command is missing.  Thanks to alkisg I found out you have to add the following libraries in the chroot first:
apt-get install python-software-properties
Then apt-add-repository works!