Secure Global Desktop 4.31 Administration Guide > Users and authentication > Login script Tcl commands
As well as using Expect, the login scripts supplied with Secure Global Desktop make use of several Tcl commands. For example, the tarantella command connects to the application server instead of Expect and provides greater control over the connection. In addition, other Tcl commands are used, described here.
You can use these Tcl commands in your own login scripts.
authrequest [ -normal | -changed ]
Displays a dialog box that indicates a problem with the username or password.
Argument | Description |
---|---|
-normal |
Specifies that the password is incorrect. |
-changed |
Specifies that the password has expired. |
authrequest -normal
setbuffer [ -buffer num ] [ -output 0|1 ]
Defines the number of bytes to read from the application server.
Argument | Description |
---|---|
-buffer num |
Specifies the number of bytes. Default is 1. |
-output 0|1 |
Turns output on (1) or off (0). Default is 1. |
setbuffer -buffer 1000
clienttimer [ time ] [ message ] [ timers ]
Displays message in the progress dialog box for the specified time. The progress bar has timers sections in total.
clienttimer 10 "Launching the application" 4
canceltimer
Cancels the clienttimer
command. Takes no arguments.
progress [ message ]
Displays message in the progress dialog box.
progress "Initializing..."
locallaunch [ -start ] [ -abort ] [ -user launchspec -root launchspec ]
Optimizes launch in the situation where the application server is also the Secure Global Desktop server.
Argument | Description |
---|---|
-start |
Starts an optimized launch. |
-abort |
Aborts the optimized launch and reverts to the standard connection method. |
-user launchspec |
Defines the connection methods to use for launching applications
on the Secure Global Desktop server when the user is
not root. You can specify different behavior for applications
that are detached on launch (background applications) and those that
aren't (foreground applications).
The launchspec can be one of the following:
|
-root launchspec |
Defines the connection methods to use for launching applications
on the Secure Global Desktop server when the user is
root. You can specify different behavior for applications that are
detached on launch (background applications) and those that aren't
(foreground applications).
The launchspec can be one of the following:
|
The default is -user 1 -root 3
.
locallaunch -abort
Copyright © 1997-2007 Sun Microsystems, Inc. All rights reserved.