1- Download latest version of Robomotion Desktop for Linux from downloads.
2- After download completed, install the package via command line as in example below:
sudo dpkg -i ./robomotion_1.1.0_amd64.deb
3- You can connect your robot from the command line with robomotion-deskbot or you can start the Qt tray application called robomotion-tray from command line as below:
If you have Linux system that doesn't have an X Desktop or you want to run the robot just as a daemon service, you can do this by following these steps.
This first thing to setup is your credentials, because when a system reboots and the robot needs to connect to your workspace, it has to know the following:
The Workspace that robot will connect, ex: acme.robomotion.io
Username and password for the workspace
The Robot ID from your workspace
You also have to provide your Vault ID and Vault secret key since the Robot may not be able to reach to the your gnome-keyring, see Vault Secret Keys are not remembered on Linux
To provide these credentials you can create a credentials.json file under $HOME/.config/robomotion as follows;
The easisest way to create this file is just connecting your robot from command line and adding
--remember parameter as follows;
robomotion-deskbot connect --remember -i firstname.lastname@example.org -w acme.robomotion.io
When the credentials file is created you have to create a systemd file under /etc/systemd/system/robomotion.service
Replace the "User=robomotion" with your user on your Linux system that will run the robot.
Here is an example content:
[Unit] Description=Robomotion systemd service.
ExecStart=/bin/bash -c "/usr/bin/robomotion-deskbot connect"
After you created the systemd file run the below commands
$ systemctl daemon-reload
$ systemctl restart robomotion
You can check the service as follows
$ systemctl status robomotion
john.doe@acme:~$ systemctl status robomotion● robomotion.service - Robomotion systemd service.Loaded: loaded (/etc/systemd/system/robomotion.service; enabled; vendor preset: enabled)Active: active (running) since Mon 2020-08-24 18:11:35 UTC; 1 day 14h agoMain PID: 698 (robomotion-desk)Tasks: 19 (limit: 4683)Memory: 38.2MCGroup: /system.slice/robomotion.service├─698 /usr/bin/robomotion-deskbot connect└─862 robomotion-runner