Team,
I have a health care customer that's got about 500 Sun Rays and they've
just implemented SGD to support about 500 concurrent users. The Sun
Rays use a Firefox browser hosted on a kiosk-mode Java Desktop (JD3)
implemented according to Brad's posting here:
http://blogs.sun.com/ThinkThin/entry/kiosk_mode_browser. Our customer
requested an enhancement from the SGD team to allow them to grab the Sun
Ray desktop "Location" value from the SR Datastore and pass this to the
SGD client ... this would then be passed to the Windows Terminal
Services session when its opened. The customers HIS system, Eclipsys
SCM, requires this TS Client Name name to be maintained in its own
datastore, otherwise the session is rejected. The SGD team has given us
the fix and some of the details of how to implement, including new
client bits, but I'm not quite sure how to best set this variable for
each kiosk session (each kiosk user); SUN_SGD_CLIENTNAME.
I believe this is the logic I need - but where do I put it so this value
gets set when a session starts??
MYDISP=`echo $DISPLAY | awk -F: '{print $2}' | awk -F. '{print $1}'`
MYMAC=`grep TERMINAL /tmp/SUNWut/config/dispinfo/$MYDISP | awk -F.
'{print $2}'`
# grab the value from Location field for this specific MAC
SUN_SGD_CLIENTNAME=`/opt/SUNWut/sbin/utdesktop -l | grep $MYMAC | awk
'{print $2}'`
export SUN_SGD_CLIENTNAME
Should I put this in /etc/profile or some other place where each kiosk
user (utku*) can pick this up? I tried /etc/profile without success,
actually, it worked for some users but not the kiosk users - maybe
they're using different shells. Where does SUN_SUNRAY_TOKEN get set?
Thanks!
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users