How To: Silently authorize ArcGIS License Manager 10.x on Linux
A silent authorization on Solaris/Linux needs a valid X Windows environment to operate.
Although the silent authorization process does not generate any GUI output, the DISPLAY environment variable must still be set to a valid X Display. This requirement arises from the third-party, MainWin software used internally during the authorization process.
The instructions provided describe how to create a virtual display server and perform a silent authorization process in an environment where no physical X Display is available. The following steps review how this can be done using a program called 'Xvfb'.
- Start a virtual display server. The following command is typical for a basic service.
Xvfb :500 -screen 0 1280x1024x24 &The following folders are the usual install locations where Xvfb can be found:
This example uses '500' as the display number. This can be changed as needed if a conflict arises.Linux
- Set the DISPLAY to the virtual display server.C Shell
setenv DISPLAY :500.0
Bourne, Bash shell
DISPLAY=”:500.0”; export DISPLAY
- Run the silent authorization procedure by running the following command.
SoftwareAuthorizationLS –s –lif <prvs file>
A Provisioning File (*.prvs) file can be obtained through the Customer Care Portal.
- Stop the virtual display server by using the 'ps' command to identify its process number and then using the kill command to stop it. On Solaris, the process name started by the Xvfb command is actually 'XSun'.
ps –ef | grep –i xvfb
ps –ef | grep –i xsun
kill -9 process_id