[SunRay-Users] How to add a command when a session reconnects

Dark Bass darkobas at gmail.com
Fri Oct 16 11:41:43 EEST 2009


Hi!
i put the following for test.

/opt/SUNWut/bin/utaction -i -c '/usr/openwin/bin/xset dpms 5 6 7' &

in /etc/opt/SUNWkio/sessions/uttsc/uttsc

and it doesnt work. (it works when first establishing the session. but not
on  reconnecting to existing session)
i dont see a option in utaction for reconnecting.

regards
DB

2009/10/16 P.S.M.Swamiji <Psm.Swamiji at sun.com>

> Dark Bass wrote:
>
>>
>> Hi
>>
>>
>> I have the following situation. I need to turn off dpms and screen
>> blanking on some DTUs.
>>
>> Google told me a way to do this is to put xset in the CAM script. It turns
>> off dpms for all users which use that CAM / Kiosk. (if anyone would know how
>> to do that per DTU?)
>>
>>
>> Well anyway.. This seems to be working....until... You put a card in that
>> DTU for another CAM session which doesnt have dpms off. After this, if you
>> reconnect to the NO DPMS session it doesnt work anymore. It seems the xset
>> command runs only when creating a new sunray session. When you connect or
>> hotdesk to an existing session the xset doesnt work.
>>
>>
>> Anyone have an idea how to fix this ?
>>
>>  Call xset when ever session reconnect. Pls see utaction man page for more
> details.
>
> Thanks
> P.S.M.Swamiji
>
> Note: These are my personal opinions, nothing to do with my employer
>
>>
>>
>> Regards
>>
>> Marko
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> SunRay-Users mailing list
>> SunRay-Users at filibeto.org
>> http://www.filibeto.org/mailman/listinfo/sunray-users
>>
>>
>
> _______________________________________________
> SunRay-Users mailing list
> SunRay-Users at filibeto.org
> http://www.filibeto.org/mailman/listinfo/sunray-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.filibeto.org/pipermail/sunray-users/attachments/20091016/94807e3f/attachment.html>


More information about the SunRay-Users mailing list