Create Remote Desktops Application Definitions

Create your own Remote Desktops application definitions using the Desktop-Linux or Desktop-Windows starter template.

  1. Click .
  2. Select App Composer.
    The App Composer is displayed.
    Figure 1. App Composer


  3. Mouse hover the Server cluster that is displayed and click New App.
    Figure 2. App Composer - New App


    The App Composer Form is displayed.
    Figure 3. App Composer

    App Composer

    The App Composer UI is made up of three main areas. On the left panel, all your custom applications are listed. In the center panel build your own application definition and save it. The right panel provides a preview of our application definition in the Job Submission form.

  4. Select Input Template from the drop down list.
    To create remote desktop based application definitions, select either Desktops-Linux or Desktops-Windows starter template.
  5. Click to browse and select an icon for the application definition.
  6. Enter a name for the application definition.
  7. Enter all the input file type extensions that will be supported by the application definition.
    Access Web links a job input file to a specific application or solver via the file's extension. This set up will determine which solvers are available for a file extension.
  8. Enter the output file types that has to be associated with the application definition.
  9. Enter the executable command to run the job.
    The executable command can be a basic shell scripts and multi-line shell scripts.
    Tip: The command box provides the list of parameters when you enter the syntax $ which helps to write the executable command.
    Figure 4. Parameters List

    Parameters List
  10. Click Edit Pre-execution script to provide a python script to run before the job is executed.
    Tip: The editor supports syntax highlighting and code completion.
    Figure 5. Script Editor

    Script Editor
  11. Click Edit Post-execution script to provide a python script to run before the job is executed.
    Tip: The editor supports syntax highlighting and code completion.
  12. Choose the parameters required for the application definition that are provided by the selected starter template.
    You can specify if the parameters are optional or required field in the job submission form. You can also set the default values for the parameters.

  13. Click Manage Parameters to add or remove parameters.
    Figure 6. Manage Parameters

    Manage Parameters
    You can move the parameters from Available Parameters to Selected Parameters using and buttons. Rearrange the order of the parameters in the Selected Parameters column using and buttons. The Job Submission form will display the parameters in the same order.
  14. Verify if you have provided all the details required for the application definition.
    Figure 7. Application Definition Form

    Application Definition Form
  15. Click Save.
    The Preview & Test panel on the right displays the job submission form, Job Submission command and Solver Launch Command information for the application definition we have composed.
    Figure 8. Preview and Test Panel

    Preview and Test Panel
  16. Fill in the required application or profile arguments in the Job Submission form.
  17. Click Test and Submit.
    Tip: Click on the Job ID link provided in the notification to view the job status.
    The job is submitted and a Test Job Monitor window is displayed.
    Tip: From the files list on the left panel, you can select other files to view the desktops details.
  18. Click Connect.
    The desktops will be launched in a new tab.
    Figure 9. Remote Desktops

    Remote Desktops
    The application definition is added to the existing application definitions list.
    Figure 10. Application Definition List

    Application Definition List
    Note: The application definitions that you have created are in JSON format and is stored at /home/$USER/userapps. The System Administrator can configure the path so that you can edit it in the Text Viewer.