CAM Mass Storage Workaround
Editors Note: This Workaround is no longer necessary in SRSS 4.0 and Kiosk Mode.
One of the first things I noticed when we released our support for USB Mass Storage on Sun Ray is that it didn't work in Controlled Access Mode. It's a simple timing problem where processes responsible for Mass Storage run prior to the hand off of the session to the CAM user.
You can use this work-around to enable USB Mass Storage support for your favorite CAM application, including passing this storage up to Windows Terminal Server as a mapped drive.
On each server in your Fail Over Group:
Have fun!
One of the first things I noticed when we released our support for USB Mass Storage on Sun Ray is that it didn't work in Controlled Access Mode. It's a simple timing problem where processes responsible for Mass Storage run prior to the hand off of the session to the CAM user.
You can use this work-around to enable USB Mass Storage support for your favorite CAM application, including passing this storage up to Windows Terminal Server as a mapped drive.
On each server in your Fail Over Group:
- Create file called /usr/dt/config/Xsession.d/0200.SUNWut
- Make sure root owns and perms are 700
#!/bin/sh
# Work-around for CAM and Mass Storage
#set -x
for i in `/bin/cat /var/opt/SUNWbb/users.list`
do
echo $i
if [ ! -d /tmp/SUNWut/mnt/$i ];then
/bin/mkdir /tmp/SUNWut/mnt/$i
/bin/chown $i:other /tmp/SUNWut/mnt/$i
/bin/chmod 500 /tmp/SUNWut/mnt/$i
fi
done
#End of Script
Have fun!


Posted by S.M. Sabapathi on February 25, 2006 at 06:19 AM PST #
Posted by S.M. Sabapathi on February 27, 2006 at 12:03 AM PST #
What are you using to connect to the Windows Terminal Server?
You must use Windows 2003 as your Terminal Server.
From there you'd just pass an argument on to your RDP client such as this with Rdesktop:
./rdesktop -r disk:thumbdrive=/tmp/SUNWut/mnt/$USER servername Same syntax for the Sun RDP client as well.
Posted by ThinGuy on February 27, 2006 at 09:04 AM PST #
Posted by S.M. Sabapathi on March 01, 2006 at 02:02 AM PST #
Always happy to help.
Posted by ThinGuy on March 01, 2006 at 07:59 AM PST #