FS#72202 - glib2 is not working with GDM or GNOME
Attached to Project:
Arch Linux
Opened by Gerardo Gonzalez (gerardogc2378) - Tuesday, 21 September 2021, 21:37 GMT
Last edited by Toolybird (Toolybird) - Friday, 02 June 2023, 21:44 GMT
Opened by Gerardo Gonzalez (gerardogc2378) - Tuesday, 21 September 2021, 21:37 GMT
Last edited by Toolybird (Toolybird) - Friday, 02 June 2023, 21:44 GMT
|
Details
Description:
When I did my update today I noticed that these packages were installed [2021-09-21T14:42:22-0500] [ALPM] upgraded tracker3-miners (3.1.2-2 -> 3.2.0+6+gfffef2772-1) [2021-09-21T14:42:22-0500] [ALPM] upgraded sdl (1.2.15-14 -> 1.2.15+387+gfbfcca32-1) [2021-09-21T14:42:22-0500] [ALPM] upgraded harfbuzz-icu (2.9.1-1 -> 3.0.0-1) [2021-09-21T14:42:22-0500] [ALPM] upgraded gtk3 (1:3.24.30-2 -> 1:3.24.30+62+g8d04980f38-2) [2021-09-21T14:42:22-0500] [ALPM] upgraded harfbuzz (2.9.1-1 -> 3.0.0-1) [2021-09-21T14:42:22-0500] [ALPM] upgraded tracker3 (3.1.2-1 -> 3.2.0-1) [2021-09-21T14:42:16-0500] [ALPM] upgraded gobject-introspection-runtime (1.68.0-1 -> 1.70.0-1) [2021-09-21T14:42:16-0500] [ALPM] upgraded glib2 (2.68.4-1 -> 2.70.0-1) [2021-09-21T14:42:16-0500] [ALPM] upgraded cantarell-fonts (1:0.301-1 -> 1:0.303-1) Steps to reproduce: As a root I did: # pacman -Syu I got a problem when I restarted my machine, GDM was not running again, I started my X window into a terminal using the startx command. The solution for me was restore a previous version of glib2 2.68.4-1 and that is the reason for this ticket. I am using a Lenovo machine. I am curious, my Dell latop was updated but there is no problem in that machine. So anyone has this problem with glib2? |
This task depends upon
Closed by Toolybird (Toolybird)
Friday, 02 June 2023, 21:44 GMT
Reason for closing: No response
Additional comments about closing: Plus it's old and stale. If there are still related problems, please report upstream.
Friday, 02 June 2023, 21:44 GMT
Reason for closing: No response
Additional comments about closing: Plus it's old and stale. If there are still related problems, please report upstream.
Sep 22 11:42:00 wallcreeper /usr/lib/gdm-x-session[717]: dbus-daemon[717]: [session uid=120 pid=717] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=120 pid=707 comm="/usr/lib/gdm-x-session dbus-run-session -- gnome-s")
Sep 22 11:42:00 wallcreeper /usr/lib/gdm-x-session[717]: dbus-daemon[717]: [session uid=120 pid=717] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Sep 22 11:42:00 wallcreeper /usr/lib/gdm-x-session[722]: dbus-daemon[722]: [session uid=120 pid=722] Activating service name='org.a11y.Bus' requested by ':1.0' (uid=120 pid=727 comm="/usr/lib/gnome-session-check-accelerated ")
Sep 22 11:42:00 wallcreeper /usr/lib/gdm-x-session[722]: dbus-daemon[722]: [session uid=120 pid=722] Successfully activated service 'org.a11y.Bus'
Sep 22 11:42:00 wallcreeper gnome-session[723]: gnome-session-binary[723]: WARNING: Failed to upload environment to systemd: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
Sep 22 11:42:00 wallcreeper gnome-session-binary[723]: WARNING: Failed to upload environment to systemd: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
Sep 22 11:42:00 wallcreeper gnome-session[723]: gnome-session-binary[723]: WARNING: Failed to reset failed state of units: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
Sep 22 11:42:00 wallcreeper gnome-session-binary[723]: WARNING: Failed to reset failed state of units: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
Sep 22 11:42:00 wallcreeper gnome-session[723]: gnome-session-binary[723]: WARNING: Falling back to non-systemd startup procedure due to error: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
Sep 22 11:42:00 wallcreeper gnome-session-binary[723]: WARNING: Falling back to non-systemd startup procedure due to error: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
Sep 22 11:42:00 wallcreeper /usr/lib/gdm-x-session[709]: (II) intel(0): EDID vendor "SHP", prod id 5203
Sep 22 11:42:00 wallcreeper /usr/lib/gdm-x-session[709]: (II) intel(0): Printing DDC gathered Modelines:
Sep 22 11:42:00 wallcreeper /usr/lib/gdm-x-session[709]: (II) intel(0): Modeline "1920x1080"x0.0 138.50 1920 1968 2000 2080 1080 1083 1088 1111 -hsync -vsync (66.6 kHz eP)
Sep 22 11:42:00 wallcreeper org.gnome.Shell.desktop[743]: Failed to connect to session bus: Cannot spawn a message bus when setuid
Sep 22 11:42:00 wallcreeper gnome-session-binary[723]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Sep 22 11:42:00 wallcreeper gnome-session[723]: gnome-session-binary[723]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Sep 22 11:42:00 wallcreeper org.gnome.Shell.desktop[753]: Failed to connect to session bus: Cannot spawn a message bus when setuid
Sep 22 11:42:00 wallcreeper gnome-session-binary[723]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Sep 22 11:42:00 wallcreeper gnome-session[723]: gnome-session-binary[723]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Sep 22 11:42:00 wallcreeper gnome-session[723]: gnome-session-binary[723]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
Sep 22 11:42:00 wallcreeper gnome-session-binary[723]: Unrecoverable failure in required component org.gnome.Shell.desktop
Sep 22 11:42:00 wallcreeper gnome-session-binary[723]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
What's your /etc/nsswitch.conf? What's the gdm line in /etc/passwd? Does pwck report any errors?
I have the exact same problem, but typing "sudo pcwk" return nothing and the problem is still here.
One difference is I don't use GDM but an autologin service and launch gnome via .bash_profile.
I would be happy to do anything to help solving this bug, so feel free to ask for any log or other files.
Thanks you!
EDIT : problem is solved by installing GDM, but I would like to go back to my old way of doing if possible.
https://www.reddit.com/r/archlinux/comments/pt3qtd/gnomekeyring_daemon_suddenly_broke/
If I understand this https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2284 right CAP_SYS_NICE in gnome-shell(gs) to protect the system from being DoS, essentially locked up completely by gs itself. Therefore I'm not a fan of removing it. However fedora dropped it 2 weeks ago with https://bodhi.fedoraproject.org/updates/FEDORA-2021-d0b0be7c4e in fc35, Debian never had it to begin with. As I believe(no proof) Arch+GNOME is mostly used as single-user-system, where you can only DoS yourself, I don't know what would be the real impact by removing the extra capabilities for gs.
Also because it's related for reading purposes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1934