Sun Ray has three application attributes for Controlled Access Mode (aka Kiosk/CAM).

They are Critical, Menu, Default.

Critical means that application automatically launches and to restart the session should the application exit.

Menu means that the application will only start if the user right clicks on the desktop and chooses the application from the workspace menu.

Default means that the application will automatically launch, but the session will not restart if the application exits. The user can also restart the application from the workspace menu.

Both Menu and Default mode rely on the included CAM application called dtsession, which is a locked down instance of CDE to give you a window manager and provide the workspace menu.

If you have any application defined as either Menu or Default and then remove dtsession as an "Application To Launch", your Sun Ray will continuously cycle. This is due to the fact that there is a requirement for one application to be set to critical, and even though the user cannot view or change the attribute of dtsession, it is set to critical. Trouble can occur because we allow you to remove dtsession and no matter how much debugging that you turn on, you'll never see any errors.

The only CAM application that can run without dtsession are those that are created with the attribute Critical. If any of the "Applications To Launch" are set to Menu or Default, you should leave dtsession enabled, otherwise you must have at least one other application set to the Critical attribute. Of course those applications with the attribute of menu won't work if you remove dtsession since you won't have the workspace menu to launch them from.

Since this just bit me in the you know what trying to troubleshoot a customer problem remotely (someone removed dtsession and failed to mention it and the only remaning app was set to Default), I think I'll file an RFE to introduce some logic that won't let you remove dtsession if your applications require it or you don't have any apps set to Critical.
Comments:

Please make sure we can still remove dtsession... The standard Sun CAM mode got a very poor reception when we demo'ed Sun Rays, and as a result I built the kiosk mode for our Sun Rays around gnome-session and a modified gnome environment. I think Sun should build a new CAM environment around a restricted-access gnome, with icons on the desktop and a proper gnome-panel and menus...

Posted by Walter R. Moore on February 15, 2006 at 06:21 PM PST #

Hi Walter, Curious as to if you came up with the Gnome CAM on your own or if my internal/unsupported how to guide somehow made it into your hands. :) We are working on a huge CAM make over.

Posted by ThinGuy on February 15, 2006 at 07:33 PM PST #

Did it all on my own. That was fun to figure out but once I realized I could have the CAM go to a failsafe text terminal I was able to debug the launch of my gnome config. I'm eager to test out Sun's solution when it makes it out into the light of day. Thanks, -Walter PS: for some reason there's no way to do linefeeds in the comments. Is there a setting for returns and P tags?

Posted by Walter R. Moore on February 16, 2006 at 02:48 PM PST #

Post a Comment:
  • HTML Syntax: NOT allowed

This blog copyright 2009 by ThinGuy