Skip to content

About

Install LG SVL Simulator for use in local or remote environments.

Resources

Stars

0 stars

Watchers

3 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Provision a host with LG SVL Simulator

Features

  • Installs final release of LG SVL Simulator
  • Configures an optional systemd user service to start/stop
  • Creates a user port assignment for LG SVL Simulator API, allowing multiple users to use at the same time
  • Tested with remote desktop using NICE-DCV as well as on-premise machines

OS support

  • Ubuntu 22.04
  • Ubuntu 24.04

Platforms supported:

  • linux/amd64

Prerequisites

  • Ansible 2.15

Example playbook

roles:
  - name: xronos_lgsvl_simulator_ansible
    role: xronos_lgsvl_simulator_ansible

Using

Open /opt/svlsimulator/simulator to start LG SVL Simulator.

systemd service

A systemd user service is configured to assist with automated environments such as cloud-hosted simulations or for multi-user environments. The service requries that the appropriate DISPLAY and XAUTHORITY environment variables are set -- keep in mind that user services do not start from a shell and do not automatically in herit these values.

systemctl --user start svlsimulator

This service will automatically apply any environment variable set in ~/.local/svlsimulator/env-lgsvl.

The default values are as follows:

LGSVL__SIMULATOR_PORT=8181
DISPLAY=:0   # only set if lgsvl_service_use_local_display is 'true'
XAUTHORITY=~/.Xauthority

Variables

  • lgsvl_install_root_directory installation directory. Will create the subdirectory svlsimulator. Defaults to /opt
  • lgsvl_service_use_local_display will use the default value DISPLAY=:0 when the service starts. This may be overridden by the environment file.
  • lgsvl_service_port_map will allocate user ports, starting at 8182, for each user who runs this script. The port map is stored in the installation root directory, and the user's environment file is configured to use this port. If false, no port map is created. Defaults to true.
  • lgsvl_env_xauthority: the path to the .Xauthority file for this user to write to their environment file. Defaults to ~/.Xauthority.

About

Install LG SVL Simulator for use in local or remote environments.

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages