diskless vs ltsp local apps

Robert Arkiletian robark at gmail.com
Sun Oct 12 20:43:08 UTC 2008


On Sun, Oct 12, 2008 at 12:04 PM, Robert Arkiletian <robark at gmail.com> wrote:
> On Wed, Oct 8, 2008 at 11:57 AM, Warren Togami <wtogami at redhat.com> wrote:
>>
>> 1) Install a fresh client chroot on Fedora 9 with ltsp-build-client.
>> 2) It should have xterm installed.
>> 3) After you have logged into your user, create a launcher that runs:
>> /usr/bin/ltsp-localapps /usr/bin/xterm
>>
>> This is a very simple example of a localapp that is already installed in the
>> client chroot.  You can use yum to install additional stuff like firefox or
>> epiphany, then run it in the same manner.
>>
>> BTW, firefox and epiphany fails to pull in a needed dependency.  It might be
>> dbus-x11.
>>
>> F9 update for ltsp-client pushed today improves the behavior slightly. I
>> still need to build a new ldm for F9.  Waiting on artwork for ldm though.
>
> Just built a new chroot with ltsp-build-client
> running xterm locally works. :)
> but I could not install firefox in the chroot
>
> # chroot /opt/ltsp/i386/
> bash-3.2# yum install firefox
> Traceback (most recent call last):
>  File "/usr/bin/yum", line 4, in <module>
>    import yum
>  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 43, in <module>
>    import rpmsack
>  File "/usr/lib/python2.5/site-packages/yum/rpmsack.py", line 24, in <module>
>    from packages import YumInstalledPackage
>  File "/usr/lib/python2.5/site-packages/yum/packages.py", line 31, in <module>
>    import rpmUtils.arch
>  File "/usr/lib/python2.5/site-packages/rpmUtils/arch.py", line 302,
> in <module>
>    canonArch = getCanonArch()
>  File "/usr/lib/python2.5/site-packages/rpmUtils/arch.py", line 291,
> in getCanonArch
>    return getCanonX86Arch(arch)
>  File "/usr/lib/python2.5/site-packages/rpmUtils/arch.py", line 199,
> in getCanonX86Arch
>    f = open("/proc/cpuinfo", "r")
> IOError: [Errno 2] No such file or directory: '/proc/cpuinfo'
>

mount /proc
solved the issue.


-- 
Robert Arkiletian
Eric Hamber Secondary, Vancouver, Canada
Fl_TeacherTool http://www3.telus.net/public/robark/Fl_TeacherTool/
C++ GUI tutorial http://www3.telus.net/public/robark/




More information about the K12Linux-devel-list mailing list