Configuration
VADAAR Viewer requires a minor amount of configuration before launching to ensure your VADAAR environment remains secure. To continue with the configuration you will need:
- The address of the VADAAR (e.g.
http://serverHost:8442
). - An Application Token retrieved from VADAAR. This can be retrieved from the VADAAR user interface by navigating to
Settings > Resources
.
If you login to VADAAR from the system you are configuring VADAAR Viewer on, you can find all the information by navigating to Settings > Resources
and selecting Viewer in the Add Resource section.
- Windows
- Linux
Configure the values using one of the following methods:
Method Steps Environment Variables Refer to your distribution's documentation for setting environment variables. Command Line Arguments Edit the shortcut properties and append the following to the "Target:": --server-url <server-url> --application-token <application-token>
.Where<server-url>
and<application-token>
are the values of the server address and Application Token, respectively. The text box should look something like the following:"C:\Program Files\VADAAR Viewer\viewer.exe" --server-url https://vadaar.com:8442 --application-token abcd1234
. The following argument is optional:--device-identifier <device-name>
. Where<device-name>
is a unique name to identify the Viewer.Launch VADAAR Viewer from the shortcut in the Start menu.
Result: Viewer is running in the background and connected to Server.
Configure the values using one of the following methods:
Method Steps Environment Variables Refer to your distribution's documentation for setting environment variables. Command Line Arguments Edit /usr/share/applications/vadaar-viewer.desktop
and append the following to the Exec= line:--server-url <server-url> --application-token <application-token>
. Where<server-url>
and<application-token>
are the values of the server address and Application Token, respectively. The line should look something like the following:Exec=/opt/vadaar-viewer/viewer --server-url https://vadaar.com:8442 --application-token abcd1234
. The following argument is optional:--device-identifier <device-name>
. Where<device-name>
is a unique name to identify the Viewer.Configure any firewalls on the system.
Launch VADAAR Viewer from the "Applications" menu under "Other".
Result: Viewer is running in the background and connected to Server.
Required Configuration
Command Line Argument | Environment Variable | Description |
---|---|---|
--server-url | VIEWER_SERVER_URL | The VADAAR Server URL. |
--application-token | VIEWER_APPLICATION_TOKEN | The application to authenticate with VADAAR Server. |
Optional Configuration
Command Line Argument | Environment Variable | Description |
---|---|---|
--device-identifier | VIEWER_DEVICE_IDENTIFIER | A unique name used by VADAAR to identify the Viewer. By default, this is the computer name. |
--window-rect | VIEWER_WINDOW_RECT | A list of numbers separated by commas, representing the window area in the format x,y,width,height , where x and y represents the top left of the window. Example: VIEWER_WINDOW_RECT=0,0,1280,720 . |
--window-flags | VIEWER_WINDOW_FLAGS | A list of list of the following flags, separated by commas, :fullscreen : Starts a Viewer fullscreen.show-decorations : A border will surround the Viewer window.allow-resize : The Viewer window will support resizing.Example: --window-flags show-decorations,allow-resize |
--font-point-size | VIEWER_FONT_POINT_SIZE | Linux Only - Set the font size of text labels (16 by default). |