Hello all, I'm having an impossible (and frustrating) time to configure a
Kiosk SunRay session.  I want a basic console that runs Gnome and firefox.
I want both to launch upon startup (ie the session will be a Gnome instance
with a single firefox window open).   I want both the Gnome session and the
firefox window to be critical (if the user closes firefox or logs out of
Gnome the session will restart.  I've read through the man pages and older
entries on this mailing list but I'm still missing something (the windows
connector example doesn't help either).  I found an Kiosk session someone
made and tried making my changes from there.  Here's what I have.

session.conf
KIOSK_SESSION_EXEC=/etc/opt/SUNWkio/sessions/hc/hc-kiosk
KIOSK_SESSION_LABEL="HC Kiosk Session"
KIOSK_SESSION_DESCRIPTION="Provides a blank X session for running a Kiosk
script."
KIOSK_SESSION_ARGS=/usr/bin/gnome-session
KIOSK_SESSION_PROTOTYPE=hc-kiosk
KIOSK_SESSION_APPLAUNCHER="/opt/SUNWkio/lib/kioskapplaunch"

hc-kiosk:
#!/bin/sh
$*

browser.conf:
KIOSK_APP_EXEC=/usr/bin/firefox
KIOSK_APP_ICON=/usr/share/pixmaps/firefox.png
KIOSK_APP_POST=
KIOSK_APP_PRE=
KIOSK_APP_PROTOTYPE=

Now if I got to the web management console I can add firefox as a critical
application.  If I restart my Sunray device the Gnome session launches, but
not firefox (it's as if the session ignores it).  I I attempt to logout of
Gnome the whole session restarts (what I want).  I just also want a Firefox
window to open and have the whole session restart if that window is closed.
I'm guessing I have something wrong in my KIOSK_SESSION_EXEC script (again
the example I found simply executes whatever you put in
KIOSK_SESSION_ARGS).  I could really use some help here!!  Thanks!


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

Reply via email to