Shadowing in the classroom

I am attempting to setup a classroom object in SGD 4.2. When I specify the "winclass.exp" for the login script I get the following error:

ErrEvalFileFailed

Script 1347 exited with code 44 and signal 0

When I look at the execpe error log, it gives me the following information.

2006/02/20 11:14:58.071 (pid 1347)execpe/script#0

Sun Secure Global Desktop Software(4.2) ERROR:

Error in script winclass.exp at line number 65. Details: can't read "env(TTABASEDATADIR)": no such element in array

while executing

"file readable $env(TTABASEDATADIR)..."

invoked from within

"if [file readable $env(TTABASEDATADIR)..."

(procedure "getClasses" line 3)

invoked from within

"getClasses"

(procedure "setXDisplayForClass" line 3)

invoked from within

"setXDisplayForClass $DISPLAY $xauthcookie"

invoked from within

"if { [info exists DISPLAY] } {

setXDisplayForClass $DISPLAY $xauthcookie

}"

(file "winclass.exp" line 65).

The launch has failed.

Review script and application object to identify problem.

2006/02/20 11:14:58.074 (pid 1345)execpe/process #0

Sun Secure Global Desktop Software(4.2) ERROR:

Script 1347 has exited. Exit code: 44. Signal: 0.

The launch may have failed.

Use exit code and signal to analyse problem.

2006/02/20 11:14:58.075 (pid 1345)execpe/launch#2

Sun Secure Global Desktop Software(4.2) ERROR:

Failed to launch .../_exec/servername.com:1140452095254:-3015087198106012361:Li4uL19lbnMvbz1UYXJ hbnRlbGxhIFN5c3RlbSBPYmplY3RzL2NuPUFkbWluaXN0cmF0b3I=. Error

: 44.

The launch has failed.

Review the log file for specific errors.

--

This worked fine in Tarantella 3.42. Any ideas on how to fix this for SGD 4.2?

[1856 byte] By [rssieber] at [2007-11-25 21:58:43]
# 1
Hi,I just ran into the same problem. Did you find any solution jet?Thanks Holger
inoxtech at 2007-7-5 1:22:29 > top of Java-index,Desktop,Sun Secure Global Desktop Software...
# 2

I figured it out. In case you installed SSGD on Linux, there's a bug in the tarantella start script. Change following lines in /opt/tarantella/bin/tarantella:

339 if [ $pkgres = 0 ]; then

340 TTABASEINSTDIR=`pkgparam $pkginst INSTDIR 2>/dev/null`

341 pkgres=$?

342 fi

343 if [ $pkgres = 0 ]; then

344 TTABASEDATADIR=`pkgparam $pkginst DATADIR 2>/dev/null`

345 pkgres=$?

346 fi

to:

TTABASEDATADIR=/opt/tarantella/var

TTABASEINSTDIR=/opt/tarantella

the above commands in line 340 and 344 "pkgparam" are working on solaris only!

cheers Holger

inoxtech at 2007-7-5 1:22:30 > top of Java-index,Desktop,Sun Secure Global Desktop Software...