I'm having an issue with my Debian 13 system running on X11. Whenever I try to shut down, the gpu-screen-recorder doesn't close properly and prevents the shutdown process for about a minute and a half. I see a message indicating a user job stop with a timer that counts down until the system finally kills the process. Interestingly, this problem doesn't occur when I'm on Wayland. Does anyone know why this happens and how I can fix it? I'm also thinking about writing a logout script as a temporary solution while I figure out the underlying issue.
2 Answers
I can't tell you exactly why it's happening, but I've found that using the command `sudo shutdown -h now` can force everything to close immediately. Just keep in mind that it's a bit harsh, and you might not want to rely on that every time.
Ah, flatpak can be a bit tricky! You might want to try using a native package instead. Sometimes that solves a lot of these issues since flatpak apps can behave differently in terms of system resources and shutdown hooks.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures