I have a dual boot desktop at home running Ubuntu 24.04/Windows 11 w/Nvidia 4080. I’m trying to get the console in linux to show up on the KVM, but it only works if the computer reboots with only the KVM HDMI plugged in. I still use the desktop for gaming and some win specific apps I need for research so I’m trying to find a solution that doesn’t involve me rebooting to linux with the DP monitor unplugged ever morning.
I’ve also had problems where I couldn’t remotely log into linux because the network device was not working, even though the computer was powered on and ethernet cable connected, hence the KVM solution.
So is there a way to have grub still show up on the desktop monitor, then specifically route the console through the HDMI so I can get the console through the KVM device?
I’ve tried a few things like changing grub kernel params with
GRUB_CMDLINE_LINUX_DEFAULT with no luck.
regardless of if the DP or HDMI is plugged in this still outputs the same
~$ for p in /sys/class/drm/*/status; do con=${p%/status}; echo -n "${con#*/card?-}: "; cat $p; done
Unknown-1: connected
DP-1: disconnected
DP-2: disconnected
DP-3: disconnected
HDMI-A-1: disconnected
Writeback-1: unknown