So, part of my custom uttsc script from line 107 to line 109 is:



  echo "1" |

  $theUTTSCExec -i -u "autowin" $theUTTSCDefaultArgs "$@" 2>&1 ||

        echo $? > $theUTTSCFailure




where "autowin" is a windows user with password "1". 

Dont forget to add windows user to "Remote desktop users" group on a win terminal server.




>

i tried but it is not working Can you send me exact script uttsc which you changed?

Thanks

Asif

- Add whatever code you need to get the username to use and the 

> associated password and then modify the line that reads:

>    $theUTTSCExec $theUTTSCDefaultArgs "$@" 2>&1 ||

> to

>    echo "$THE_PASSWORD" |

>    $theUTTSCExec -i -u "$THE_USER" $theUTTSCDefaultArgs "$@" 2>&1 ||

> HTH


sportedu sportedu <[EMAIL PROTECTED]> wrote:



Great, it works!! Thanks!



-----Original Message-----

From: J?rg Barfurth 

To: sportedu sportedu ,SunRay-Users mailing list 

Date: Fri, 06 Jun 2008 17:37:53 +0200

Subject: Re: [SunRay-Users] Sun Ray autologon


> sportedu sportedu schrieb:

> > Hi all.

> > How can I set up autologon to Windows terminal server in Sun Ray kiosk session?

> > -u argument provides username for authentication, and how to insert password? 

> > 

> This is not supported in the preconfigured Sun Ray Windows Connector 

> kiosk session. You need to create a customized version of the session 

> that does this.

> To create a custom version of the session, you should first create an 

> extra copy which you can modify to your liking as follows:

> # cd /etc/opt/SUNWkio/sessions

> # cp -R uttsc uttsc-custom

> # sed 's/\(KIOSK_SESSION_LABEL=\).*$/\1"MS Windows Autologon"/' \

> uttsc.conf > uttsc-custom.conf

> Now edit the /etc/opt/SUNWkio/sessions/uttsc-custom/uttsc script to 

> implement what you need:

> - Add whatever code you need to get the username to use and the 

> associated password and then modify the line that reads:

> $theUTTSCExec $theUTTSCDefaultArgs "$@" 2>&1 ||

> to

> echo "$THE_PASSWORD" |

> $theUTTSCExec -i -u "$THE_USER" $theUTTSCDefaultArgs "$@" 2>&1 ||

> HTH

> - Jörg

> -- 

> Joerg Barfurth

> Software Engineer mailto:[EMAIL PROTECTED]

> Desktop Technology

> Thin Client Software http://www.sun.com/software/sunray/

> Sun Microsystems GmbH http://www.sun.com/software/javadesktopsystem/

> Sitz der Gesellschaft:

> Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten

> Amtsgericht Muenchen: HRB 161028

> Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer

> Vorsitzender des Aufsichtsrates: Martin Haering

_______________________________________________

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

Reply via email to