[K12OSN] Local Apps and Firefox 6

Jomegat jomegat at jomegat.com
Mon Aug 29 00:55:31 UTC 2011


Thank you Robert.  Your advice was absolutely necessary, but I also 
needed to copy /etc/resolv.conf to /opt/ltsp/i386/etc - that solved the 
yum problem.

I also found that ltsp-server-tweaks has to be run when logged into the 
server at the console.  Running it while remotely logged in via ssh was 
not enough?  (Irene abated sufficiently for me to drive to the school 
and fool around with the network.)

I now have firefox (and flash, and tuxpaint) installed as local apps, 
and they seem to run OK.  Now all I need to do is figure out how to 
apply that change to all the user accounts.  I don't want to log into 
each one and go through gnome's "add launcher" dialog.  There must be a 
way to script this.

I made a stab by copying the files in my own 
~/.gnome2/panel2.d/defaults/launcher to that same directory in everyone 
else's acct.  I also chowned it and chmodded it - but for whatever 
reason, the applets don't show up on the menu.  Does anyone know how to 
change the default applets?  Right now I get firefox, evolution, and 
gnotes in the menu panel at the top.  I'd much rather have 
localapp-firefox, tuxpaint, and OpenOffice up there.

I will do some research while I wait for an answer.  I don't use gnome 
much myself, but rather, have been using KDE since... forever.

Thanks again for the help.  You guys have been golden.

On 08/28/2011 02:29 PM, Jomegat wrote:
> On 08/28/2011 02:10 PM, Robert Arkiletian wrote:
>> On Sun, Aug 28, 2011 at 8:11 AM, Jomegat<jomegat at jomegat.com> wrote:
>>> Hi everyone,
>>>
>>> I'm planning to run Firefox as a local application and I'm looking
>>> for some
>>> advice. First I tried following the instructions at
>>> https://fedorahosted.org/k12linux/wiki/LocalAppsSupport
>>
>> Not 100% sure as I can't verify this. It's been a while, but check if
>> /proc is mounted inside the chroot. I think you used to have to
>>
>> mount /proc
>>
>> inside the chroot before you do yum install.
>
> If that helped, it didn't help enough:
>
> [root at termserv ~]# cd /opt/ltsp/i386/
> [root at termserv i386]# setarch i386 chroot .
> bash-4.1# mount /proc
> bash-4.1# yum install firefox
> Error: Cannot retrieve repository metadata (repomd.xml) for repository:
> epel. Please verify its path and try again
> bash-4.1#
>
>>
>>>
>>> but when I got to the yum part, there was no joy:
>>>
>>> [root at termserv i386]# setarch i386 chroot .
>>> bash-4.1# yum install firefox
>>> Error: Cannot retrieve repository metadata (repomd.xml) for repository:
>>> epel. Please verify its path and try again
>>>
>>> I thought - maybe I need to run ltsp-server-tweaks, since I do not
>>> recall
>>> having run that when I last rebooted (but everything seemed to work
>>> then,
>>> so... I dunno?)
>>>
>>> Here's what happens when I try running that:
>>> [root at termserv ~]# ltsp-server-tweaks
>>> Failed to access configuration source(s): Failed to contact
>>> configuration
>>> server; some possible causes are that you need to enable TCP/IP
>>> networking
>>> for ORBit, or you have stale NFS locks due to a system crash. See
>>> http://projects.gnome.org/gconf/ for information. (Details - 1: Not
>>> running
>>> within active session)
>>>
>>> Hmmm. Not sure what all that means.
>>>
>>> I tried all this while remotely logged in, as Tropical Storm Irene might
>>> make it a bit dodgy to get to the school (or get home afterwards). I
>>> don't
>>> think that's significant, but just in case it is, I'm disclosing it
>>> here.
>>>
>>> My next thought was that maybe I should try FF 6 instead of 3.6
>>> (which is
>>> what yum will install). Is there a reason I should avoid that?
>>>
>>> Thanks in advance!
>>>
>>> --
>>> Jim Thomas jomegat at jomegat.com
>>> Dyslexics of the world, UNTIE!
>>>
>>> _______________________________________________
>>> K12OSN mailing list
>>> K12OSN at redhat.com
>>> https://www.redhat.com/mailman/listinfo/k12osn
>>> For more info see<http://www.k12os.org>
>>>
>>
>>
>>
>
>


-- 
Jim Thomas            jomegat at jomegat.com
Dyslexics of the world, UNTIE!




More information about the K12OSN mailing list