Skip to content

xhost: unable open display. Authorization required, but no authorization protocol specified. (running the AVP demo on Local Hardware) #24

@ota-ri

Description

@ota-ri

We trialled running the AVP demo on Local Hardware.
The following error occurs in blueprint configure command.

Image

What is the correct way to handle this issue?
Is it possible to define it as a variable rather than a fixed value?
(the following workaround is procedure by a fixed value)

Workaround:
Configure the value of the confirmed DISPLAY variable

- name: Set fact display
  ansible.builtin.set_fact:
  #display: "{{ _dcv_display.stdout | default(ansible_env.DISPLAY) | default(':0') }}"
  display: "{{ _dcv_display.stdout | default(ansible_env.DISPLAY) | default(':1') }}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions