Xfce display settings launches after resuming from sleep reddit / freebsd ---------------------------------------------------------------------- ImageJPEG · 2023-04-05 14:00 I have no idea why xfce4-display-settings keeps popping up after unlocking my laptop after resuming from sleep. I've verified that it has nothing to do with Xscreensaver as if I just lock it via the Xscreensaver locking utility, the display settings doesn't come up. Same with using xflock4, nothing pops up. It only seems to happen after the computer resumes from sleep and after unlocking the machine that this occurs. I just did some more troubleshooting and if I lock the screen first, then close my laptop's lid to cause it to sleep, the display settings window does NOT come up after resuming and unlocking. If I just close the lid, causing it to sleep, and resume/unlock that way, the display settings comes up. Could this be that FreeBSD "disconnects" the display in the process of sleeping and Xfce thinks it's being attached to a new monitor? ---------------------------------------------------------------------- knightjp · 2023-04-06 03:02 What are you using as a display manager? ---------------------------------------------------------------------- ImageJPEG · 2023-04-06 03:40 Slim. I’ve been wanting to use xdm but I’m unsure if polkit or whatever the system is that controls shutting down and rebooting in DEs isn’t working with xdm. ---------------------------------------------------------------------- knightjp · 2023-04-07 03:19 Maybe try a different display manager and see if that gives the same result. I’m new to this, so maybe try sddm or xdm and see what happens there. ---------------------------------------------------------------------- ImageJPEG · 2023-04-07 04:03 Tried lightdm and same behavior. ---------------------------------------------------------------------- grahamperrin · 2023-04-07 07:44 > … Could this be that FreeBSD "disconnects" the display in the process of sleeping … `grep -e drmn -e suspend /var/log/messages` You'll probably see `drmn`-related lines after resume. DRM here is *Direct Rendering Manager*. > … If I just close the lid, causing it to sleep, … It's also making the display unavailable. (Imagine having a second display attached. In this case, a person might prefer the computer to **not** sleep/suspend when the lid is closed.) ---------------------------------------------------------------------- knightjp · 2023-04-07 08:46 Hmm.. then it’s got nothing to do with the display manager.