Ok so I downloaded the script - installed - option 1
added
-r disk:USBDRVS=$HOME/USBDRVS
to MAIN function within
/etc/opt/SUNWkio/sessions/demo/skrypt.sh
I can see the option getting passed when I RDP to the windows
workstation
I see the USBDRVS and can view the readme file - but when I connect the
USB stick - after logging in - before logging in - nothing
Here's the ptree / pargs for the session
ptree 9200
1047 /usr/dt/bin/dtlogin -daemon
8833 /usr/dt/bin/dtlogin -daemon
9056 /bin/ksh /opt/SUNWkio/lib/Xsession
9135 /opt/SUNWkio/lib/kioskcrit
/var/run/opt/SUNWkio/sessions/utku6/kioskcritd /etc/
9136 /usr/bin/bash /etc/opt/SUNWkio/sessions/demo/skrypt.sh
9200 /bin/ksh -p /opt/SUNWuttsc/bin/uttsc -m -b -O -u teste1
-d AD-ENT -n 420 Mont
9216 /opt/SUNWuttsc/lib/uttsc-bin -m -b -O -u tester1 -d
AD-ENT -n Texas
pargs 9200
9200: /bin/ksh -p /opt/SUNWuttsc/bin/uttsc -m -b -O -u tester1 -d
AD-ENT -n 420 Mont
argv[0]: /bin/ksh
argv[1]: /bin/ksh
argv[2]: /opt/SUNWuttsc/bin/uttsc
argv[3]: -m
argv[4]: -b
argv[5]: -O
argv[6]: -u
argv[7]: tester1
argv[8]: -d
argv[9]: AD-ENT
argv[10]: -n
argv[11]: Texas
argv[12]: -r
argv[13]: disk:USBDRVS=/var/opt/SUNWkio/home/utku6/USBDRVS
argv[14]: sfs-d90244.ent.wfb.bank.corp
John Hallman
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Craig Bender
Sent: Wednesday, February 11, 2009 6:32 PM
To: SunRay-Users mailing list
Subject: Re: [SunRay-Users] Connecting a USB thumb drive to the SUN DTU
andseeing it via RDP session
The "best" script is here:
http://blogs.sun.com/ThinkThin/entry/a_usb_drive_daemon_for
P.S.M.Swamiji wrote:
> [email protected] wrote:
>>
>> Ok so I have my users configured where their DTU's connect directly
to
>> a workstation running windows 2003 using the SunRay broker and the
Sun
>> connector for Windows.
>>
>> I'm also using the demo_kiosk package
>>
>> Now one of the users needs to connect a USB thumb drive and they are
>> not seeing the normal windows has detected your device messages.
>>
>> From the admin Advanced -> Security tab - I see Devices USB port is
>> enabled.
>>
>> so I imagine the Sun Box (running the SunRay Server) has mounted the
>> USB stick someplace and now I need to tell the uttsc connector about
>> it. Let's say I want them to see it as the U drive.
>>
>> The MAC address of the DTU is - 00144fd15c14 so I see on the sunray
>> server
>>
>> /tmp/SUNWut/units/IEEE802.00144fd15c14/dev/dsk
>>
>> so what would the uttsc command need to be?
>>
> uttsc -r disk:U=/tmp/SUNWut/mnt/$USER..
>>
>> and can I add it to the other field?
>>
> What other field?.
>>
>> -r disk:<drive name>=<path>,...
>>
>> Redirects a path to the share \\tsclient\<drive name> on the server.
>>
>> Then - I'm guessing the user will see it as a drive via windows
explorer?
>>
> Yes.
>>
>> Is there a cleanup script to detect when the users has disconnected
>> the USB device?
>>
> No official one AFAICT.
>
> Thanks
> P.S.M.Swamiji
>
> Note:These are my personal opinions, nothing bto do with my employer
>
>> Thanks
>>
>>
------------------------------------------------------------------------
>>
>> _______________________________________________
>> SunRay-Users mailing list
>> [email protected]
>> http://www.filibeto.org/mailman/listinfo/sunray-users
>>
>
> _______________________________________________
> SunRay-Users mailing list
> [email protected]
> http://www.filibeto.org/mailman/listinfo/sunray-users
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users