Unplugging external monitor hangs FreeBSD

I'm using KDE 6 on FreeBSD 14.4. I'm also using an external monitor via VGA port. When the external monitor cable unplugs, the entire system hangs - nothing works, even the USB keyboard's NumLock won't toggle. So I have to hard reset the computer to get it working again.

Interestingly, it seems to be a KDE issue because I can unplug and plug the external monitor back in before I load KDE without any issues.

Is this one of those things we have to live with (along with inability to put the computer to sleep, etc)? Anyone has this problem too?
 
Never heard of that one before, very unusual. Can you still ssh into the box from another machine? If so you could look at what is running, if any processes are hogging 100% cpu, or blocked waiting on i/o... of course if it's the kernel that is doing it you won't be able to ssh in. If you haven't got another machine handy, you can install termux on android and ssh from the termux shell, it's got an ssh client, openssh I believe.
 
Never heard of that one before, very unusual. Can you still ssh into the box from another machine? If so you could look at what is running, if any processes are hogging 100% cpu, or blocked waiting on i/o... of course if it's the kernel that is doing it you won't be able to ssh in. If you haven't got another machine handy, you can install termux on android and ssh from the termux shell, it's got an ssh client, openssh I believe.
I don't have another machine I can use to ssh, but I do have an Android with termux, so I might try that. I don't think it'll work because everything becomes frozen, even the keyboard won't toggle NumLock or the power button press won't initiate a shutdown!
 
I've never heard of this before. Does this still happen if you remove the display before disconnecting the monitor? That's the first thing I'd try and if so, it's always possible to set up a short cut to just do that if nothing else works.
 
I've never heard of this before. Does this still happen if you remove the display before disconnecting the monitor? That's the first thing I'd try and if so, it's always possible to set up a short cut to just do that if nothing else works.
Remove the display as in uncheck "Enabled" for the external monitor in KDE's Display Configuration? Still hangs.
Wayland or X?
Wayland.
 
Back
Top