Linux – How to change which monitor the TTY shows up on

linuxmulti-monitortty

When I boot, or when I press CtrlAltF*, I am taken to a physical terminal/TTY. The problem is that the TTY shows up on my HDMI monitor, which is actually not even in the same room as me.

Is it possible to configure my PC to display the TTY on my DisplayPort monitor? To clarify, when I press CtrlAltF1, I want the TTY to show up on my DisplayPort monitor, not my HDMI monitor.


EDIT: After some more digging it looks like the bootloader might be involved here, so I should specify I'm using GRUB 2.02~beta2-20

Best Answer

Assuming the kernel is configured to support the frame buffer console, You can specify which fb driver to output the console on via fbcon in the kernel args. For example:

fbcon=map:1

You can find out which fb driver values are available using:

cat /proc/fb

In GRUB 2, the fbcon parameter can be appended to GRUB_CMDLINE_LINUX.

For more information, see: https://www.kernel.org/doc/Documentation/fb/fbcon.txt

Related Question