Alexandros Papadopoulos wrote:
Dear all

We have a lab with ~20 SunRays feeding off a Solaris 10 x86 machine running srss 3.1 in kiosk mode.

Our users would like to be able to view special image types (tiff etc) ont he web that are not natively supported by firefox.

We're trying to install the necessary plugin (plugger) and we've successfully done so on the sunray server. I.e. running firefox locally on the sunray server one can use the plugin and view tiff images. But the SunRay clients do not recognize the plugin.

Do I need to install it somewhere in the pseudo-filesystem used by SunRays under /var/opt/SUNWbb/root/ ?

The only relevant file I see in there (e.g. for user utcu0) is: /var/opt/SUNWbb/root/home/utcu0/.mozilla/firefox/pluginreg.dat but its format seems to suggest it's not human-editable...

Thank you for any suggestions!
Note for Brad:
[  I dont think all this below is described in one sweep anyware ,
 This procedure  should be  on the Thin Think Blog  or the next
 version  of the SRS manuals ,
//Lars   ]




The problem is not the plugin ,  but that the Users Firefox environment
is not configured.  The plugins is to be installed in the usual firefox
"plugins"  directory.

I believe that you need to setup or edit your CAM firefox Prototype
Firefox  files can be stored anyware in the file system,  I assume  below
the you have installed  firefox binaries  in /opt/sfw/lib/firefox........

When you run in CAM ( Kiosk ) mode. You always wipe the Kiosk clean when you exit a " crittical " application. That means that your .mozilla/firefox/*default directory
is lost every time a new user restarts  the kiosk.

In order to save state (like a firefox mimeTypes.rdf file ) between sessions you need a
Prototype.

The prototypes live in /var/opt/SUNWut/kiosk/prototypes

What you need to do is to create a directory in /var/opt/SUNWut/kiosk/prototypes with the same name/Label as the CAM application , presumably "firefox" in your case. Start a CAM session verify that you are USER utcu0 Start firefox and initialize all defaults to your likeing Open all files that you need to automate . Run all media types that you wish to program and select to " always Open media X with App Y" , Do NOT Exit FIREFOX.


From another terminal : Copy the whole /var/opt/SUNWbb/root/home/utcu0/.mozilla/* hierarchy
 to  /var/opt/SUNWut/kiosk/prototypes/firefox/.mozilla
BEFORE YOU EXIT FIREFOX on the first screen.
Then you rename /var/opt/SUNWut/kiosk/prototypes/firefox/.mozilla/firefox/*.default to something like /var/opt/SUNWut/kiosk/prototypes/firefox/.mozilla/firefox/*.CAM Make sure that the whole hierarchy ( including dot-files ) is set to read-only and owned by root:root so no-one can change the files in /var/opt/SUNWut/kiosk/prototypes/firefox/ Then you edit your CAM application firefox parameters so that the commandline is

/opt/sfw/bin/firefox -P CAM This will convince firefox to load your now stored and canned firefox profile.

This will save all your edits into a Prototype that from now will be replicated to any/all CAM users.
Then Cold-Restart  the CAM .


Why  do you need  to do this ?

Mainly because you want to customize the mimeTypes.rdf file and prefs.js file These files are saved for each user. root's mimeType.rdf file is saved in /.mozilla , not in the /opt/sfw/lib/firefox/default/profile/mimeTypes.rdf.

Also it is likely that you dont want the same defaults for Kiosks as for authenticated users. So you will probably want different defaults in /opt/sfw/lib/firefox/default/profile/mimeTypes.rdf as compared to
/var/opt/SUNWut/kiosk/prototypes/firefox/.mozilla/firefox/*.CAM/profile/mimeTypes.rdf
Even though the mimeTypes.rdf file is an XML style thing it's not easy to edit by hand.
You almost have to copy the file as it comes out after a firefox session.


//Lars
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to