Starting Xserver in Docker Ubuntu container
I have minimal Ubuntu installation in my container and I want to have Xserver running. I need XServer, because my app requires meshlabserver, which itself needs Xserver. I installed xserver-xorg and all other packages, but when I try to start X in container via /usr/bin/X :0 it says: Fatal server error: (EE) xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory) What am I doing wrong? How do I start X server? UPDATE: related question: Host screen turns off when I start X server in docker container In my case it works nicely when I start container in privileged mode: docker run -