Can xserver work without a tty device?
archlinuxarm aarch64 kernel version: 3.10.86 I'm running Xserver on my container-based device. And I noticed that it can't run without a tty0 device. I tried simply patch the xf86HWConsoleOpen(void) function to return without allocating a vt device(refer to https://aur.archlinux.org/packages/xorg-server-notty/), but it still fails. We know that most embedded device do not have a proper tty driver, but only a framebuffer device. So can xserver run without tty switch and allocate, for example, just run with a pty device to talk to kernel? If so, how should I patch the code? By the way, I tried wrote a fake tty driver for my board, but the kernel was configured to refuse a insmod. What a shame.