Kiosk Mode Browser
A few folks have been trying to get a Kiosk mode browser working. Whether for an actual "Kiosk" or for access to a web based application, this can be rather handy. I thought that I'd post how I've been doing it lately.
A kiosk web browser can also be handy for delivering access to Secure Global Desktop applications from Sun Rays. I have included a few additional steps to make the SGD experience better.
Install firefox in /opt:
----------------------------
Download the latest firefox from
ftp://ftp.mozilla.org/pub/firefox/releases/2.0.0.12/contrib/solaris_tarball/
Unzip firefox to /opt/firefox
Install and Configure Kiosk extensions:
-----------------------------------------
Download the two kiosk XPI's from
https://www.mozdevgroup.com/dropbox/jslib/signed/jslib_current_signed.xpi
http://brooklynmuseum.mozdevgroup.com/install/xpi/signed/bmakiosk_current-ff-generic_signed.xpi
Put them in /opt/firefox/bma
mkdir /opt/firefox/bma
You will need ssh -X or be on the console to perform the remaining pieces
Register the Components
/opt/firefox/firefox -install-global-extension /opt/firefox/bma/jslib_current_signed.xpi (If you get an error, try it again.)
/opt/firefox/firefox -install-global-extension /opt/firefox/bma/bmakiosk_current-ff-generic_signed.xpi
Create a URL whitelist file.. /opt/firefox/whitelist
allowed[sgdserver.domain.com, ALL];
Start the Kiosk extension admin GUI:
/opt/firefox/firefox -kiosk admin
Enter "admin" as the password
Set the home page
Tick With Titlebar
Click the Filters Tab
Click Enable Filters
Put /opt/firefox/whitelist in the text box
Click the Sessions Tab
un-set the inactive timeout
Click the Customize Tab
un-tick tabbed browsing
un-tick print button, zoom controls, save button, logout button
Click OK
Set up the Java Plugin for x64
ln -s /usr/java/jre/plugin/i386/ns7/libjavaplugin_oji.so /opt/firefox/plugins/.
Set up the Java Plugin for Sparc
ln -s /usr/java/jre/plugin/sparc/ns7/libjavaplugin_oji.so /opt/firefox/plugins/.
Configure Kiosk Mode:
-------------------------
Create a kiosk application called Secure Global Desktop
vi /etc/opt/SUNWkio/applications/firefox.conf
KIOSK_APP_EXEC=/opt/firefox/firefox KIOSK_APP_ARGS="-kiosk" KIOSK_APP_LABEL="Firefox Kiosk" KIOSK_APP_ICON=/opt/firefox/icons/mozicon50.xpm KIOSK_APP_DESCRIPTION="Launch Firefox"
Set up Kiosk mode to launch a JDS 3 session
Add the Firefox application as AUTO start to the JDS 3 session.
SGD Integration:
-----------------------
If you are looking to point the browser at SGD, you will want to also make the following changes.
- Set the home page to your SGD URL (http://sgd.domain.com/sgd/)
- Add this line to your firefox.conf
KIOSK_APP_PROTOTYPE=sgd
- To speed up initialization, remove Java cert approval, and remove SGD connection approval
As root launch tarantella and login. Accept java and tarantella conenction warning.
mkdir /etc/opt/SUNWkio/prototypes/sgd cp -r ~/.tarantella to /etc/opt/SUNWkio/prototypes/sgd/ mkdir -p /etc/opt/SUNWkio/prototypes/sgd/.java/deployment/security cp ~/.java/deployment/security/trusted.certs /etc/opt/SUNWkio/prototypes/sgd/.java/deployment/security/

