See xf86OpenConsole at http://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/os-support/linux/lnx_init.c "the console" is /dev/ttyN, where N is the vt X runs on.
See xf86OpenConsole at http:// cgit.freedeskto p.org/xorg/ xserver/ tree/hw/ xfree86/ os-support/ linux/lnx_ init.c
"the console" is /dev/ttyN, where N is the vt X runs on.