Hello,

With SRSS 2.0, I used utxset to switch on and off all displays in CAM mode environnement with about 70 DTUs. In the crontab, I add a little script to activate/desactivate all DTUs:

#!/bin/sh
DURATION=$1

UTDISPLAY=`/opt/SUNWut/sbin/utsession -p |grep pseudo |awk '{print $4}'`

for i in $UTDISPLAY
        do
/opt/SUNWut/lib/utxset -b $DURATION -f /var/opt/SUNWut/ displays/$i
        done

In SRSS 3.x this command is gone. I try with a xset, but I don't have the permissions/cookie to connect to the display:

.
.
.
+ /usr/openwin/bin/xset -display :9 s 5
Xlib: connection to ":9.0" refused by server
Xlib: Client is not authorized to connect to Server
/usr/openwin/bin/xset:  unable to open display ":9"
+ /usr/openwin/bin/xset -display :26 s 5
Xlib: connection to ":26.0" refused by server
Xlib: Client is not authorized to connect to Server
/usr/openwin/bin/xset:  unable to open display ":26"
.
.
.

This problem doesn't appears with utxset in SRSS 2. Does someone has solve this problem in SRSS 3? Does utxset has been integrated in another tool?

Kind regards,

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

Reply via email to