Hi all,

I'm having problems getting multiple kiosk session configurations working. My 
default session uses 'uttsc' and works fine. I'm trying to create a second, 
'browser only' session descriptor but the kiosk session is not being created 
properly. It appears to be generating a blank session configuration file 
without the necessary options, rather than sourcing what I've written. I'm 
using SRSS 4.1 on Centos 5.2.

The broken session descriptor is 'browser':

[r...@sunserver6:~]# utkiosk -l
browser
session

It's configuration, copied from the working 'session' configuration. I've tried 
putting in KIOSK_SESSION_EXEC, same result:

[r...@sunserver6:~]# utkiosk -e browser
KIOSK_SESSION=browser
KIOSK_SESSION_TIMEOUT_DETACHED=12000
KIOSK_ENABLED=yes

The session descriptor file, for the moment executing the same perl script my 
default kiosk session does (so I know it works):

[r...@sunserver6:~]# cat /etc/opt/SUNWkio/sessions/browser.conf
KIOSK_SESSION_EXEC=/usr/local/sbin/sunserver-balancer.pl
KIOSK_SESSION_LABEL="iseek Sun Ray Connector for Browser only sessions"

I've changed one Token to use the configuration name 'browser' with 
utkioskoverride. When trying to launch this Token's session, you see this error 
in /var/log/messages:

Jan 28 08:32:48 sunserver6 gdm[14846]: pam_kiosk: pam_sm_authenticate: 
Initiating Kiosk session with user utku7
Jan 28 08:32:50 sunserver6 kiosk:initsession[14987]: Error: $KIOSK_SESSION not 
specified
Jan 28 08:32:50 sunserver6 kiosk:initsession[14988]: Error: failed to load 
Session Descriptor
Jan 28 08:32:50 sunserver6 gdm[14846]: pam_kiosk: pam_sm_setcred: Child process 
/opt/SUNWkio/lib/initsession failed with exit code 1.

By hacking in some syslog calls, I've traced this error message through 
SUNWkio's 'initsession' and 'util.sh' scripts, it comes from trying to read 
what looks like a run time generated session configuration file for the kiosk 
user, but it doesn't have any necessary content let alone KIOSK_SESSION:

[r...@sunserver6:~]# cat /var/run/opt/SUNWkio/sessions/utku7/session.conf
KIOSK_ENABLED=yes

I've deleted everything under /var/run/opt/SUNWkio/sessions/{user} to start 
fresh, same problem.

How/why does this temporary session configuration file get generated and why is 
not a copy of /etc/opt/SUNWkio/sessions/browser.conf as you'd expect? Can 
anyone spot something wrong with my configuration?

Thanks,

-Luke

Luke Bigum
Systems Administrator
 (p) 1300 661 668
 (f)  1300 661 540
(e)  [email protected]<mailto:[email protected]>
http://www.iseek.com.au<http://www.iseek.com.au/>
Level 1, 100 Ipswich Road Woolloongabba QLD 4102

[cid:[email protected]]

This e-mail and any files transmitted with it may contain confidential and 
privileged material for the sole use of the intended recipient. Any review, 
use, distribution or disclosure by others is strictly prohibited. If you are 
not the intended recipient (or authorised to receive for the recipient), please 
contact the sender by reply e-mail and delete all copies of this message.


<<inline: image001.jpg>>

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

Reply via email to