[SunRay-Users] Browser Kiosk Mode problem

Brad Lackey Brad.Lackey at Sun.COM
Fri Oct 9 19:50:34 EEST 2009


Paul,

I would use the basic kiosk troubleshooting technique of a command  
shell. Add another application along with your Firefox one that  
launches a shell (/usr/bin/gnome-terminal)

Then confirm that the appropriate prototype files were copied with the  
correct permissions/etc and then try running your application from the  
command shell. This will tell you a lot more as to why the application  
is quitting early. You can also do things like truss/etc.

Brad

On Oct 9, 2009, at 9:29 AM, Talley, Paul wrote:

>
> I copied .mozilla into /etc/opt/SUNWkio/prototypes/Firefox
>
> When I select "Firefox Kiosk" as my application  in JDS kiosk  
> session it  does not execute, just resets. This is what I have for
>
> /etc/opt/SUNWkio/applications/firefox.conf
>
>
> bash-3.00# more 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"
> KIOSK_APP_PROTOTYPE=Firefox
> bash-3.00# pwd
> /etc/opt/SUNWkio/applications
>
>
> In /etc/opt/SUNWkio/prototypes/Firefox  .mozilla is the only thing  
> there.
>
> Is this set up correct, or what am I missing?
>
> If I select a custom path to application it runs firefox fine but of  
> course doens't have the settings in the browser that I want.
>
> Thanks!
>
> paul
>
>
> -----Original Message-----
> From: Jörg Barfurth [mailto:Joerg.Barfurth at Sun.COM]
> Sent: Fri 10/9/2009 6:16 AM
> To: Talley, Paul
> Cc: SunRay-Users mailing list
> Subject: Re: [SunRay-Users] Browser Kiosk Mode problem
>
> Talley, Paul schrieb:
> > This is the output of /var/opt/SUNWut/log/messages when I have
> > /opt/firefox/firefox or /usr/sfw/bin/mozilla set as an application.
> > Still not sure why the browser settings are not passed through to th
> > kiosk users.
> >
>
> You have these applications set as type "Application Descriptor", but
> they need to be of type "Executable".
>
> The web admin GUI really should try to figure out the setting to use
> using some heuristics (.conf extension and/or execute permission), but
> for now you have to make sure the right setting is used.
>
> - Jörg
>
>
> > ct  9 08:42:42 ma06ray01 kiosk:jds3-session:applauncher[26273]: [ID
> > 702911 user.error] Error: failed to load Application Descriptor
> > Oct  9 08:42:42 ma06ray01 kiosk:jds3-session:applauncher[26273]: [ID
> > 702911 user.error] Error: failed to load Application Descriptor
> > Oct  9 08:42:42 ma06ray01 kiosk:jds3-session:applauncher[26274]: [ID
> > 702911 user.error] Error: failed to load application descriptor  
> 'firefox'
> > Oct  9 08:42:42 ma06ray01 kiosk:jds3-session:applauncher[26274]: [ID
> > 702911 user.error] Error: failed to load application descriptor  
> 'firefox'
> > Oct  9 08:42:42 ma06ray01 kiosk:jds3-session[26275]: [ID 702911
> > user.error] Error: command '/etc/opt/SUNWkio/sessions/jds3/ 
> applauncher
> > desc firefox critical ' failed
> > Oct  9 08:42:42 ma06ray01 kiosk:jds3-session[26275]: [ID 702911
> > user.error] Error: command '/etc/opt/SUNWkio/sessions/jds3/ 
> applauncher
> > desc firefox critical ' failed
> > Oct  9 08:42:42 ma06ray01 kioskcrit: [ID 702911 user.notice] Info:
> > critical application jds3-kiosk-session (pid=26212) exited with  
> non zero
> > status: 1
> > Oct  9 08:42:42 ma06ray01 kioskcritd[26071]: [ID 422571 user.info]  
> Info:
> > a critical application has exited.
> > Oct  9 08:42:42 ma06ray01 kioskcritd[26071]: [ID 801024 user.info]
> > Terminating Kiosk Primary Session ( pid=26212 )
> > Oct  9 08:42:42 ma06ray01 kioskcrit: [ID 702911 user.notice] Info:
> > critical application jds3-kiosk-session (pid=26212) exited with  
> non zero
> > status: 1
> > Oct  9 08:42:42 ma06ray01 kioskcritd[26071]: [ID 422571 user.info]  
> Info:
> > a critical application has exited.
> > Oct  9 08:42:42 ma06ray01 kioskcritd[26071]: [ID 801024 user.info]
> > Terminating Kiosk Primary Session ( pid=26212 )
> > Oct  9 08:42:42 ma06ray01 kioskcritd[26071]: [ID 308018 user.info]
> > kioskcritd stopped
> > Oct  9 08:42:42 ma06ray01 kioskcritd[26071]: [ID 308018 user.info]
> > kioskcritd stopped
> >
> >
> > For Mozilla
> >
> > Oct  9 08:57:55 ma06ray01 kiosk:cde-session[982]: [ID 702911  
> user.info]
> > Starting CDE Kiosk session on display ':2'
> > Oct  9 08:57:55 ma06ray01 kiosk:cde-session[982]: [ID 702911  
> user.info]
> > Starting CDE Kiosk session on display ':2'
> > Oct  9 08:57:55 ma06ray01 kiosk:cde-session:applauncher[1016]: [ID
> > 702911 user.debug] adding cde session application
> > Oct  9 08:57:55 ma06ray01 kiosk:cde-session:applauncher[1021]: [ID
> > 702911 user.error] Error: failed to load Application Descriptor
> > Oct  9 08:57:55 ma06ray01 kiosk:cde-session:applauncher[1021]: [ID
> > 702911 user.error] Error: failed to load Application Descriptor
> > Oct  9 08:57:55 ma06ray01 kiosk:cde-session:applauncher[1022]: [ID
> > 702911 user.error] Error: failed to load application descriptor
> > '/usr/sfw/bin/mozilla'
> > Oct  9 08:57:55 ma06ray01 kiosk:cde-session[1023]: [ID 702911
> > user.error] Error: command '/etc/opt/SUNWkio/sessions/cde/ 
> applauncher
> > desc /usr/sfw/bin/mozilla auto ' failed
> > Oct  9 08:57:55 ma06ray01 kioskcrit: [ID 702911 user.notice] Info:
> > critical application cde-kiosk-session (pid=981) exited with non  
> zero
> > status: 1
> > Oct  9 08:57:55 ma06ray01 kioskcritd[799]: [ID 422571 user.info]  
> Info: a
> > critical application has exited.
> > Oct  9 08:57:55 ma06ray01 kioskcritd[799]: [ID 558315 user.info]
> > Terminating Kiosk Primary Session ( pid=981 )
> > Oct  9 08:57:55 ma06ray01 kioskcritd[799]: [ID 308018 user.info]
> > kioskcritd stopped
> > Oct  9 08:57:55 ma06ray01 kiosk:cde-session:applauncher[1022]: [ID
> > 702911 user.error] Error: failed to load application descriptor
> > '/usr/sfw/bin/mozilla'
> > Oct  9 08:57:55 ma06ray01 kiosk:cde-session[1023]: [ID 702911
> > user.error] Error: command '/etc/opt/SUNWkio/sessions/cde/ 
> applauncher
> > desc /usr/sfw/bin/mozilla auto ' failed
> > Oct  9 08:57:55 ma06ray01 kioskcrit: [ID 702911 user.notice] Info:
> > critical application cde-kiosk-session (pid=981) exited with non  
> zero
> > status: 1
> > Oct  9 08:57:55 ma06ray01 kioskcritd[799]: [ID 422571 user.info]  
> Info: a
> > critical application has exited.
> > Oct  9 08:57:55 ma06ray01 kioskcritd[799]: [ID 558315 user.info]
> > Terminating Kiosk Primary Session ( pid=981 )
> > Oct  9 08:57:55 ma06ray01 kioskcritd[799]: [ID 308018 user.info]
> > kioskcritd stopped
> >
> > -----Original Message-----
> > From: sunray-users-bounces at filibeto.org on behalf of Talley, Paul
> > Sent: Fri 10/9/2009 5:49 AM
> > To: SunRay-Users mailing list; Joerg Barfurth; SunRay-Users  
> mailing list
> > Subject: [SunRay-Users] Browser Kiosk Mode problem
> >
> > I am trying to set up a kiosk mode system using a browser only in  
> a JDS
> > kiosk mode session. I tried to set things up with the instructions  
> from
> > ttp://blogs.sun.com/ThinkThin/entry/kiosk_mode_browser and when any
> > kiosk mode session started the thin client would not start the  
> session,
> > it would reboot over and over.
> >
> > I then tried  /usr/local/bin/opera -kioskmode -nosplash -nomail
> > -nomaillinks -noprint -nosave -nohotlist -nomenu -nodownload - 
> nosession
> > -kioskbuttons -kioskwindows http://www.sun.com  and it worked fine
> > except for one thing, when my kiosk user utkioxx connects and the
> > browser starts, none of my settings are kept, meaning I set the  
> homepage
> > and the proxyweb server and when the browser starts in kiosk mode  
> none
> > of those settings are kepts.
> >
> > This is the same when I use mozilla or if I simply add
> > /usr/firefox/firefox as an application in JDS,  I have the  
> homepage as
> > set and I set the proxyweb server in options in each browser but it
> > doesn't maintain those settings when the browser is ran in kiosk  
> mode.
> >
> >
> > Please help!
> >
> >
> >
> >
> > -----Original Message-----
> > From: sunray-users-bounces at filibeto.org on behalf of Talley, Paul
> > Sent: Fri 10/9/2009 5:18 AM
> > To: Joerg Barfurth; SunRay-Users mailing list
> > Subject: [SunRay-Users] Firefox Kiosk Mode problem
> >
> > I un-installed everything and re-installed 4.2. Everything seems  
> to be
> > working. I'm trying to follow the instructions on thinkthin blog  
> to set
> > up a firefox kiosk mode where the user only gets a browser. That  
> seems
> > to be working but it's not passing on the settings I enter for the  
> proxy
> > web server and the homepage.
> >
> > Paul
> >
> >
> > -----Original Message-----
> > From: Joerg Barfurth [mailto:Joerg.Barfurth at Sun.COM]
> > Sent: Fri 10/9/2009 3:18 AM
> > To: SunRay-Users mailing list
> > Cc: Talley, Paul
> > Subject: Re: [SunRay-Users] Firefox Kiosk Mode problem
> >
> > Talley, Paul schrieb:
> >
> >  > Below is the output of /var/opt/SUNWut/log/messsages. It  
> behaves the
> >  > same when I have JDS as kiosk mode with no applications. I have  
> seen
> >  > something similiar to this when the Sun Recommended patch  
> cluster was
> >  > not installed but it is installed on this system.
> >  >
> >
> > The problem is that despite of this:
> >
> >  > Oct  8 11:21:36 ma06ray01 kiosk:initsession[13977]: [ID 702911
> >  > user.debug] Success: created directory
> >  > '/var/run/opt/SUNWkio/sessions/utku32'
> > ...
> >  > Oct  8 11:21:36 ma06ray01 kiosk:initsession[13989]: [ID 702911
> >  > user.debug] Staging Session Configuration of display ':2' for  
> utku32
> > ...
> >  > Oct  8 11:21:36 ma06ray01 kiosk:initsession[13992]: [ID 702911
> >  > user.debug] loading Session Configuration from file
> >  > '/var/run/opt/SUNWkio/sessions/utku32/session.conf'
> >  > Oct  8 11:21:36 ma06ray01 kiosk:initsession[13994]: [ID 702911
> >  > user.debug] reading value from config file
> >  > '/var/run/opt/SUNWkio/sessions/utku32/session.conf'
> >  > Oct  8 11:21:36 ma06ray01 kiosk:initsession[13996]: [ID 702911
> >  > user.debug] Success: read config file
> >  > '/var/run/opt/SUNWkio/sessions/utku32/session.conf'
> > ...
> >  > Oct  8 11:21:37 ma06ray01 Xstartup[14082]: [ID 702911 user.debug]
> >  > loading Session Configuration from file
> >  > '/var/run/opt/SUNWkio/sessions/utku32/session.conf'
> >  > Oct  8 11:21:37 ma06ray01 Xstartup[14084]: [ID 702911 user.debug]
> >  > reading value from config file
> >  > '/var/run/opt/SUNWkio/sessions/utku32/session.conf'
> >  > Oct  8 11:21:37 ma06ray01 Xstartup[14086]: [ID 702911 user.debug]
> >  > Success: read config file
> >  > '/var/run/opt/SUNWkio/sessions/utku32/session.conf'
> >
> >
> > ... we later see this failure:
> >
> >  > Oct  8 11:21:37 ma06ray01 kiosk:Xsession[14105]: [ID 702911  
> user.debug]
> >  > starting Kiosk session
> >  > Oct  8 11:21:37 ma06ray01 kiosk:Xsession[14106]: [ID 702911  
> user.debug]
> >  > Cannot load kiosk session configuration: No session activated -  
> missing
> >  > file /var/run/opt/SUNWkio/sessions/utku32/session.conf
> >  > Oct  8 11:21:37 ma06ray01 kiosk:Xsession[14107]: [ID 702911  
> user.debug]
> >  > Error: $KIOSK_SESSION_EXEC not specified
> >
> > This might be CR 6831388. Can you check if you see:
> >     $ grep ^CMASK /etc/default/init
> >     CMASK=077
> >
> > - Jörg
> >
> > --
> > Joerg Barfurth           phone: +49 40 23646662 / x66662
> > Software Engineer        mailto:joerg.barfurth at sun.com
> > Desktop Technology       http://reserv.ireland/twiki/bin/view/Argus/
> > Thin Client Software     http://www.sun.com/software/sunray/
> > Sun Microsystems GmbH    http://www.sun.com/software/javadesktopsystem/
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
> --
> Joerg Barfurth           Phone: +49 40 23646662
> Software Engineer        mailto:joerg.barfurth at sun.com
> Desktop Technology
> Thin Client Software     http://www.sun.com/software/sunray/
> Sun Microsystems GmbH    http://www.sun.com/software/ 
> javadesktopsystem/
>
> Sitz der Gesellschaft:
> Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
> Amtsgericht Muenchen: HRB 161028
> Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Wolf Frenkel
> Vorsitzender des Aufsichtsrates: Martin Haering
>
>
>
> _______________________________________________
> SunRay-Users mailing list
> SunRay-Users at filibeto.org
> http://www.filibeto.org/mailman/listinfo/sunray-users


Brad Lackey
Datacenter Desktop - Technology Lead
North America
(720) 548-3339

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Brad Lackey.vcf
Type: text/directory
Size: 483 bytes
Desc: not available
URL: <http://www.filibeto.org/pipermail/sunray-users/attachments/20091009/a03f57d8/attachment-0001.bin>
-------------- next part --------------




More information about the SunRay-Users mailing list