I built an lxc container to hold the VMware Horizon client. My main display is used for rendering. Refer to GUI From an LXC Container on the Host for how to build the container and how to obtain the COOKIE.
apt install libatk1.0-0 libgdk-pixbuf2.0-0 libgtk-3-0 libxss1 apt install apulse libpulse0 libv4l-0 libgstreamer1.0-0 libgstreamer-plugins-base1.0-0 libsane apt install python3 apt install wget apt install --no-install-recommends xserver-xorg-core xauth x11-apps x11-utils export XAUTHORITY=/root/.Xauthority touch ${XAUTHORITY} xauth add ${DISPLAY} MIT-MAGIC-COOKIE-1 <cookie> echo $LANG dpkg-reconfigure locales export LANGUAGE=en_US.UTF-8 export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 export NO_AT_BRIDGE=1 wget https://download3.vmware.com/software/view/viewclients/CART21FQ4/VMware-Horizon-Client-2012-8.1.0-17349998.x64.bundle sh ./VMware-Horizon-Client-2012-8.1.0-17349998.x64.bundle --console vmware-view
References:
- Fixing invalid locale settings in Debian 8 - fix a "invalid or unknown locale provided" status message when starting VMware Horizon.
- Couldn't connect to accessibility bus: Failed to connect to socket - source of the NO_AT_BRIDGE setting -
WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-uyN7DFK2Jm: Connection refused