One word: Docker (+ X11)!
Recently released Dockerfile by Tukiyo runs flawlessly using Docker, on any OS.
https://github.com/tukiyo/docker-teamviewer15
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix tukiyo3/teamviewer15
Just in case his work doesn’t stay on Github forever, here is a copy of Tukiyo’s Dockerfile
FROM ubuntu:20.04 MAINTAINER tukiyo3# install Teamviewer 15 RUN apt update \ && apt install --no-install-recommends -y sudo busybox \ && busybox --install \ && wget "https://dl.teamviewer.com/download/linux/version_15x/teamviewer_15.5.3_amd64.deb" \ && dpkg -i teamviewer_15.5.3_amd64.deb || apt install -y -f --no-install-recommends \ && rm -f teamviewer_15.5.3_amd64.deb \ && apt clean \ && rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* # teamviewer daemon RUN echo "docker ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers.d/nopasswd \ && echo "Set disable_coredump false" >> /etc/sudo.conf # Teamviewer RUN adduser --disabled-password --gecos sudo docker ENV DISPLAY :0.0 ENV USER docker USER docker VOLUME ["/tmp/.X11-unix"] CMD sudo /usr/bin/teamviewer --daemon start && /usr/bin/teamviewer
It is not working..
same problem as described here
https://community.teamviewer.com/English/discussion/48986/teamviewer-14-in-debian-9-docker-container
Teamviewer sucks on Linux now. I use Anydesk.