Hi,
I have my monitor, keyboard and mouse shared through a KVM switch.
One host is Linux Debian bookworm 12.5 and another is laptop running
Windows 11. When I leave KVM on the laptop side for extended period I
have issues switching back to Debian side. When I switch, the screen is
blank and KB does not respond as if Debian is running headless. I had to remote login and reboot Debian side with KVM locked on this side to get
back the monitor/KB. This happens regardless of whether I am in Xorg or
VT. I do not know how to force Debian/Linux to check for monitor/KB
again after extended period of disconnect when it has assumed it is
running headless. Any solutions?
Regards
Ramesh
Power Manager -> Display -> Display power management -> Off.
I have my monitor, keyboard and mouse shared through a KVM switch.
One host is Linux Debian bookworm 12.5 and another is laptop running
Windows 11. When I leave KVM on the laptop side for extended period I
have issues switching back to Debian side. When I switch, the screen is
blank and KB does not respond as if Debian is running headless. I had to remote login and reboot Debian side with KVM locked on this side to get
back the monitor/KB. This happens regardless of whether I am in Xorg or
VT. I do not know how to force Debian/Linux to check for monitor/KB
again after extended period of disconnect when it has assumed it is
running headless. Any solutions?
Not to recover, but to perhaps prevent, via kernel cmdline, one can direct the
kernel which framebuffer mode to force-enable with video=, e.g.:
video=2560x1440@60e
https://www.kernel.org/doc/Documentation/fb/modedb.txt
I think kernel thinks that no monitor is attached or KB is present. I
want to remote login and tell it to look again and find them.
It appears like there is no magic incantation exists for that. I was
hoping a write to /sys or /proc file will do the trick, but no such
thing seem to exists.
Did you try 'e' as I suggested, or read that page? From there:
[quote]
'e' will force the display to be enabled, i.e. it will override the detection
if a display is connected.
[/quote]
Ok, I will try it, but that is a reboot. I guess if I booted with that switch, it will always be on and I would not reach a point of blank
screen. Make sense.
I just do not like forcing resolution, but better than broken display.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 169:18:27 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,551 |