From 13af452ed1d2ef31aac6b2b5f0bad712e969dfa8 Mon Sep 17 00:00:00 2001 From: ToivoS <38542384+ToivoS@users.noreply.github.com> Date: Tue, 13 Oct 2020 11:46:04 +0100 Subject: [PATCH] fix rqt crash (#284) --- .../tasks/create-container/no-setup-no-terminator.yml | 1 + .../tasks/create-container/no-setup-with-terminator.yml | 1 + .../tasks/create-container/nvidia-with-setup-with-terminator.yml | 1 + .../tasks/create-container/with-setup-no-terminator.yml | 1 + .../tasks/create-container/with-setup-with-terminator.yml | 1 + 5 files changed, 5 insertions(+) diff --git a/ansible/roles/products/common/docker-container/tasks/create-container/no-setup-no-terminator.yml b/ansible/roles/products/common/docker-container/tasks/create-container/no-setup-no-terminator.yml index a812f886f..0cb2e3688 100644 --- a/ansible/roles/products/common/docker-container/tasks/create-container/no-setup-no-terminator.yml +++ b/ansible/roles/products/common/docker-container/tasks/create-container/no-setup-no-terminator.yml @@ -25,6 +25,7 @@ DISPLAY: "{{ lookup('env','DISPLAY') }}" ROS_MASTER_URI: "http://{{ ros_master }}:11311" arm_ips: "{{ arm_ip_right }}_{{ arm_ip_left }}" + XDG_RUNTIME_DIR: "/run/user/1000" network_mode: "host" pid_mode: "host" privileged: yes diff --git a/ansible/roles/products/common/docker-container/tasks/create-container/no-setup-with-terminator.yml b/ansible/roles/products/common/docker-container/tasks/create-container/no-setup-with-terminator.yml index d97a488cf..fadd5197f 100644 --- a/ansible/roles/products/common/docker-container/tasks/create-container/no-setup-with-terminator.yml +++ b/ansible/roles/products/common/docker-container/tasks/create-container/no-setup-with-terminator.yml @@ -20,6 +20,7 @@ DISPLAY: "{{ lookup('env','DISPLAY') }}" ROS_MASTER_URI: "http://{{ ros_master }}:11311" arm_ips: "{{ arm_ip_right }}_{{ arm_ip_left }}" + XDG_RUNTIME_DIR: "/run/user/1000" network_mode: "host" pid_mode: "host" privileged: yes diff --git a/ansible/roles/products/common/docker-container/tasks/create-container/nvidia-with-setup-with-terminator.yml b/ansible/roles/products/common/docker-container/tasks/create-container/nvidia-with-setup-with-terminator.yml index c74712ced..15bf234d3 100644 --- a/ansible/roles/products/common/docker-container/tasks/create-container/nvidia-with-setup-with-terminator.yml +++ b/ansible/roles/products/common/docker-container/tasks/create-container/nvidia-with-setup-with-terminator.yml @@ -22,6 +22,7 @@ NVIDIA_VISIBLE_DEVICES: "all" NVIDIA_DRIVER_CAPABILITIES: "all" arm_ips: "{{ arm_ip_right }}_{{ arm_ip_left }}" + XDG_RUNTIME_DIR: "/run/user/1000" network_mode: "host" pid_mode: "host" privileged: yes diff --git a/ansible/roles/products/common/docker-container/tasks/create-container/with-setup-no-terminator.yml b/ansible/roles/products/common/docker-container/tasks/create-container/with-setup-no-terminator.yml index 385969e43..615575bc9 100644 --- a/ansible/roles/products/common/docker-container/tasks/create-container/with-setup-no-terminator.yml +++ b/ansible/roles/products/common/docker-container/tasks/create-container/with-setup-no-terminator.yml @@ -25,6 +25,7 @@ DISPLAY: "{{ lookup('env','DISPLAY') }}" ROS_MASTER_URI: "http://{{ ros_master }}:11311" arm_ips: "{{ arm_ip_right }}_{{ arm_ip_left }}" + XDG_RUNTIME_DIR: "/run/user/1000" network_mode: "host" pid_mode: "host" privileged: yes diff --git a/ansible/roles/products/common/docker-container/tasks/create-container/with-setup-with-terminator.yml b/ansible/roles/products/common/docker-container/tasks/create-container/with-setup-with-terminator.yml index 34c2be7f3..8e57217c8 100644 --- a/ansible/roles/products/common/docker-container/tasks/create-container/with-setup-with-terminator.yml +++ b/ansible/roles/products/common/docker-container/tasks/create-container/with-setup-with-terminator.yml @@ -20,6 +20,7 @@ DISPLAY: "{{ lookup('env','DISPLAY') }}" ROS_MASTER_URI: "http://{{ ros_master }}:11311" arm_ips: "{{ arm_ip_right }}_{{ arm_ip_left }}" + XDG_RUNTIME_DIR: "/run/user/1000" network_mode: "host" pid_mode: "host" privileged: yes