tarantella exitcodes

    ErrApplicationServerConnectionFailed=<8> 
    ErrApplicationServerEndOfFileOnConnection=<9> 
    ErrApplicationServerLoginFailed=<4> 
    ErrApplicationServerLoginIncorrect=<5> 
    ErrApplicationServerNoDisplay=<76> 
    ErrApplicationServerNoLicenseAvailable=<2> 
    ErrApplicationServerNoSecureConnection=<13> 
    ErrApplicationServerPasswordAged=<6> 
    ErrApplicationServerResourceFailure=<1> 
    ErrApplicationServerTimeout=<10> 
    ErrAttributeNotFound=<60> 
    ErrBadLength=<56> 
    ErrBadLoginPasswordPair=<36> 
    ErrBadMagic=<50> 
    ErrBadMessage=<51> 
    ErrCannotDoBackgroundCommands=<39> 
    ErrCantDoBackgroundCommands=<20> 
    ErrChdirFailed=<46> 
    ErrCircuitNotFound=<61> 
    ErrClientEndOfFileOnConnection=<67> 
    ErrCommandExecutionFailed=<7> 
    ErrComplete=<63> 
    ErrCouldNotFork=<15> 
    ErrCouldNotPipe=<14> 
    ErrCreateFailed=<62> 
    ErrCreateInterpreterFailed=<45> 
    ErrDeleted=<75> 
    ErrDialogNotSupported=<74> 
    ErrDifferentCookie=<54> 
    ErrEatenCookie=<53> 
    ErrEndOfFile=<49> 
    ErrEof=<72> 
    ErrEvalFileFailed=<44> 
    ErrExecutionCircuitNotFound=<59> 
    ErrExpectInitialisationFailed=<43> 
    ErrFaultInExecutionScript=<3> 
    ErrInternalError=<34> 
    ErrInvalidConfigObject=<57> 
    ErrInvalidDesktopSize=<12> 
    ErrIoError=<71> 
    ErrLaunchPolicyNotFound=<55> 
    ErrLogFileError=<22> 
    ErrLoginHostDoesNotExist=<28> 
    ErrLoginPasswordNotAvailable=<30> 
    ErrLoginScriptNotAvailable=<35> 
    ErrLoginTransportNotAvailable=<29> 
    ErrNoDisplayPortAvailableForUser=<41> 
    ErrNoHostSpecified=<42> 
    ErrNoLicense=<64> 
    ErrNonZeroConnectresult=<65> 
    ErrNothingToDo=<68> 
    ErrOK=<0> 
    ErrProtocolEngineDied=<37> 
    ErrProtocolEngineExecFailed=<70> 
    ErrReadError=<47> 
    ErrRequestNotImplemented=<32> 
    ErrRequestNotSupported=<31> 
    ErrRequiresThirdTierConnection=<40> 
    ErrScriptFileNotFound=<69> 
    ErrScriptRead=<16> 
    ErrScriptWrite=<17> 
    ErrSessionCircuitNotFound=<58> 
    ErrSessionDoesNotExist=<23> 
    ErrSessionManagerTimeout=<38> 
    ErrSessionNotSuspended=<25> 
    ErrSessionRunning=<26> 
    ErrSessionSuspended=<24> 
    ErrStaleCookie=<52> 
    ErrThirdTierFailure=<27> 
    ErrThirdTierRead=<19> 
    ErrThirdTierWrite=<18> 
    ErrTransportNotAvailable=<21> 
    ErrTscLicenseError=<73> 
    ErrUnknown=<33> 
    ErrUserAbort=<66> 
    ErrWindowsManagerExists=<11> 
    ErrWriteError=<48> 
    EvalFileFailed=<44> 

   Each error closes the Session in the Webtop, expands the connection dialog gui
   and writes a header with "Session failed: <reason>"

   ErrUserAbort = closes the connection dialog immiditly
   ErrComplete  = strange

TCL Tarantella Command (DOC not correct on this.
    there are no  options like "-showpasswd 0|1". Args has to be listed
    behaviour of -changed unclear

    authrequest $type $showuser $showpasswd \
        $title $message \
        $customuserlabel $userlabel $custompasswdlabel $passwdlabel \
        $showpasscache $showsmartcard $isuserdialog


  # showuser/showpassword no effect
  # lines which worked
  authrequest -normal  0 0 "MY TITLE" "MY TEXT LINES"
  authrequest -normal  0 0 "MY TITLE" "MY TEXT LINES" 0 0 0 0 $showpasscache 0 0


  send_error writes into /opt/tarantella/var/log/error.log
  progress write into text area of the diaog

