Hello, I have been presenting this same issue and after doing some modifications now I have been working with no problems. On my experience I identified some factors that could lead to this behavior, although they might be or not involved:
1.- Using snap to service to download firefox, chromium, vlc, etc. I started notice some issues after installing some apps via snap, so for example in the logs there are reference to some orphan process or lost dependencies packages. 2.- Using wayland as the communication protocol. On my work I make a lot of screenshots and capture video, I did notice that after disable wayland I have no more problems with this error message. but i have only test for one day so, lets hope we keep working without this blackout I am uploading the logs and please notice that September 14th around 6:00 p.m. I disable wayland and then the logs send different logs error messages regarding the gnome-session. ** Attachment added: "Log events for the GLib-GIO-CRITICAL issue" https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1968907/+attachment/5701366/+files/GLib-GIO-CRITICAL.png -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-session in Ubuntu. https://bugs.launchpad.net/bugs/1968907 Title: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed Status in gnome-session: Fix Released Status in gnome-session package in Ubuntu: Fix Released Bug description: Hi, I see the following errors in the system logs: # journalctl | grep gnome-session-binary Apr 13 18:22:54 vougeot gnome-session[3453]: gnome-session-binary[3453]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed Apr 13 18:22:54 vougeot gnome-session[3453]: gnome-session-binary[3453]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed Apr 13 18:22:54 vougeot gnome-session-binary[3453]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed Apr 13 18:22:54 vougeot gnome-session-binary[3453]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: gnome-session-bin 42.0-1ubuntu2 Uname: Linux 5.17.2-051702-generic x86_64 ApportVersion: 2.20.11-0ubuntu81 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: KDE Date: Wed Apr 13 19:48:49 2022 RebootRequiredPkgs: Error: path contained symlinks. SourcePackage: gnome-session UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-session/+bug/1968907/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

