Secure Global Desktop 4.40 Administration Guide > Applications, Documents, and Application Servers > Applications Fail To Start When X Authorization Is Enabled
In a default SGD installation, X authorization is enabled. If there are any problems with X authorization, users cannot start applications. If applications fail to launch because of X authorization, the message "Failed to find xauth" or "Attempt to run xauth failed" displays in the application launch details dialog and in the log files.
Use the following checklist to establish why X authorization causes application launches to fail:
|Is X authorization installed on the application server?||
For SGD to be able to use X authorization, xauth must be installed on every application server.
If xauth is not installed, you must either install it or deselect the X Authorization for X Display checkbox on the Global Settings » Security tab in the SGD Administration Console.
Note This disables X authorization for the entire array.
|Can SGD find the xauth binary?||
If the message "Failed to find xauth" displays in the application launch dialog or log files, SGD cannot find the xauth binary. By default, SGD searches the following locations for the xauth binary:
Note If the xauth binary is only in one location, you can speed up application
launches by removing the unnecessary locations from the
|Does the user have a UNIX account on the application server?||
When the user starts an application, the SGD X Protocol
Engine generates a cookie and stores it in the
If the user does not have a home directory, the cookie cannot be stored in the
You can do any of the following:
The launch script you need to edit is
If the checklist above does not help you resolve problems with X authorization,
check the log file in
/opt/tarantella var/log. The log file is
If this does not help, you can increase the amount of information that is logged. To do this, you amend the log filter for the SGD array and enable debugging in the login script.
Yo amend the log filter you use the following command:
$ tarantella config edit --tarantella-config-execpeconfig-logfilter
In a default installation, the following filters are set:
Change the filters to:
To enable debugging in the login script, edit the
file and uncomment out the
Copyright © 1997-2007 Sun Microsystems, Inc. All rights reserved.