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

Reply via email to