canonical / lightdm

Display Manager
GNU General Public License v3.0
813 stars 137 forks source link

Monitor hotplug events are not handled #305

Open darksylinc opened 1 year ago

darksylinc commented 1 year ago

LightDM (Xorg) does not handle monitor hotplug events.

Which means that if a monitor is unplugged lightdm still thinks it's on; and if a new monitor is plugged lightdm thinks it's off.

This is problematic because some monitors report themselves as unplugged when they're turned off.

Thus if lightdm starts before while the monitor is powered off (i.e. on startup or after resume from suspend) the screen will be black.

Shirkanesi commented 3 months ago

We've got a similar issue. A fix should be changing the tty with Ctrl+Alt+ and back again to lightdm. So we've currently deployed a hotfix using some udev-rules triggering chvt but I'm hoping for a proper fix :D