[EMAIL PROTECTED] wrote:

Send SunRay-Users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.filibeto.org/mailman/listinfo/sunray-users
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of SunRay-Users digest..."


Today's Topics:

  1. Re: Unable to lauch Windows applications via Sunray        Connector
     (Paul Shore)
  2. RE: xset in CAMmodes (Patrick Blaas)


----------------------------------------------------------------------

Message: 1
Date: Thu, 9 Mar 2006 05:33:40 +0000
From: "Paul Shore" <[EMAIL PROTECTED]>
Subject: Re: [SunRay-Users] Unable to lauch Windows applications via
        Sunray  Connector
To: "SunRay-Users mailing list" <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Zainab,

Put the command you need to run into a shell script and then run the shell
script from CAM. I suspect that something in CAM is not liking either the
quotes or backslashes.

This will also have the benefit that you can change the script without the
need to reconfigue CAM and restart the Sun Ray services.

Paul

On 09/03/06, Zainab Batool <[EMAIL PROTECTED]> wrote:
Hi,
I am trying to launch Windows applications via Sunray Connector in CAM
mode. Unfortunately every time while trying to launch an application I
give its path, for example:
/opt/SUNWuttsc/bin/uttsc -a "C:\Program Files\Microsoft
Office\OFFICE11\WINWORD.EXE" <servername>
and hit the "Add New" button; the path is partially erased and what is
saved is:
/opt/SUNWuttsc/bin/uttsc -a
How did u launch applications?
Zainab
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.filibeto.org/pipermail/sunray-users/attachments/20060309/46aac6b0/attachment-0001.htm

------------------------------

Message: 2
Date: Thu, 9 Mar 2006 09:00:01 +0100
From: "Patrick Blaas" <[EMAIL PROTECTED]>
Subject: RE: [SunRay-Users] xset in CAMmodes
To: "SunRay-Users mailing list" <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset="us-ascii"

Thanks all for comments on this issue.
I'm sorry if I wasn't clear about things I tested to make this happen,
so just for the record I did insert the wrapper on both, utstartkiosk
and in the CAM script and made it available as a default application
which should restart (which it does) on CAM start.

The true problem is timing! God, why didn't I think of that. A 'sleep 1'
on top of the script proves to be sufficient to get the xset executed on
the proper time.
Best regards,

Patrick


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Doolittle
Sent: Wednesday, March 08, 2006 5:56 PM
To: SunRay-Users mailing list
Subject: Re: [SunRay-Users] xset in CAMmodes

Patrick,

I think I was not clear. Try adding your wrapper to the kiosk session directly, through the admin browser tool (or utkiosk if you are brave :-)), like any other application in the custom kiosk desktop. If that's insufficient perhaps there's a race case in dtsession starting up and the xset executing. If so, put a small sleep at the beginning of your wrapper (blech). Perhaps dtsession itself has a startup hook you can use? I strongly suspect that your problem is timing, relative to dtsession startup.

-Bob

Patrick Blaas wrote:

Hi Bob,

Yes, I did create a wrapper for the xset and I was supprised
to see it
not having any effect on the screensaver settings when I
verified with
a 'xset q'.

I even tried to give it it's own utaction!, which worked nicely, but not the first time. So something is exectuted after the
utstartkiosk,
but not restarted once a CAM GUI is started. Problem is I
seem unable
to find the spot marked x.


Patrick




-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob
Doolittle
Sent: Wednesday, March 08, 2006 4:39 PM
To: SunRay-Users mailing list
Subject: Re: [SunRay-Users] xset in CAMmodes

There's a lot of stuff that gets executed along the way.

If utstartkiosk gets executed *before* dtsession (I'm
pretty sure it
does) I could easily believe that xset has no effect there, or gets reset when dtsession starts up.

Did you try making a wrapper for the xset command and
adding it to the
actual kiosk session? That happens late enough that it ought to work... Obviously you don't want to make it "critical" :-)

-Bob

Patrick Blaas wrote:

Hi list,

Anyone ever tried adjusting the screensaver settings for an
anonymous
cam user?
I went through some configuration files:

/var/opt/SUNWut/kiosk/kiosk.conf
/etc/opt/SUNWut/kiosk.start

I did found something interesting: screenBlank=900 which seem to correspond with a 'xset q|grep timeout' setting screenBlank=0 didn't seem to change behaviour though. So I tried scripting it, hacking a /usr/openwin/bin/xset s 0 in
the utstartkiosk.
Unfortunaly no succes, after opening a terminal in the CAM
modes and
entering a 'xset q|grep timeout' value was still showing
900, thus
blanking after 15 minutes.

It seems my values get overwritten by something executed
after I set it.
So what's the last task executed in CAM modes before it shows gui?


Best regards,

Patrick Blaas



-------------------------------------------------------------
----------
-

_______________________________________________
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


------------------------------

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


End of SunRay-Users Digest, Vol 26, Issue 21
********************************************
I tried what u suggested. I wrote the script launched it on Sunray but that didn't work. There was no application launched.

On the other hand if I ran the script via a consule on the same machine it worked.

This is the path I gave for launching the script:
/root/script.sh
'script.sh' is the name of the script I wrote.

I also tried launching the script as a default application and as a critical application niether worked.
Zainab
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to