Try to configure headless access on Ubuntu 18.04, run "sudo teamviewer setup", it output following error:
The framebuffer console seems to be unavailable or has the wrong format. For connections to framebuffer consoles to work please make sure that /dev/fb0 is accessible and configured to at least 16-bit depth.
Could somebody help. Thanks!