xhost

X server utilities

Debian Debian
RUN apt-get update && \ apt-get install -y x11-xserver-utils
Ubuntu
RUN apt-get update && \ apt-get install -y x11-xserver-utils
Arch Arch Linux
RUN pacman -S --noconfirm xorg-xhost
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y x11-xserver-utils
CentOS
RUN yum install -y xorg-x11-server-utils
Fedora
RUN dnf install -y xorg-x11-server-utils
Raspbian
RUN apt-get update && \ apt-get install -y x11-xserver-utils
click the source code to copy install xhost on any operating system with command-not-found.com