将 Ubuntu 20.04 升级到 22.04 后,我发现我的桌面图标以 1 秒的间隔不断弹出和消失,导致桌面无法使用。
查看进程监视器,发现该进程正在重复启动和关闭(伴随apport
):
使用 追踪错误journalctl -f _UID=1002
,我反复看到以下错误:
Dez 26 00:31:28 DesktopPC dbus-daemon[1693]: [session uid=1002 pid=1693] Activating service name='org.gnome.Nautilus' requested by ':1.1516' (uid=1002 pid=16010 comm="gjs /usr/share/gnome-shell/extensions/ding@rasters" label="unconfined")
Dez 26 00:31:28 DesktopPC dbus-daemon[1693]: [session uid=1002 pid=1693] Successfully activated service 'org.gnome.Nautilus'
Dez 26 00:31:28 DesktopPC gnome-shell[1844]: DING: Detected async api for thumbnails
Dez 26 00:31:28 DesktopPC gnome-shell[1844]: DING: GNOME nautilus 42.2
Dez 26 00:31:30 DesktopPC gnome-shell[1844]: DING: (gjs:16010): GLib-ERROR **: 23:31:30.195: Creating pipes for GWakeup: Zu viele offene Dateien
Dez 26 00:31:32 DesktopPC dbus-daemon[1693]: [session uid=1002 pid=1693] Activating service name='org.gnome.ArchiveManager1' requested by ':1.1522' (uid=1002 pid=16049 comm="gjs /usr/share/gnome-shell/extensions/ding@rasters" label="unconfined")
Dez 26 00:31:32 DesktopPC dbus-daemon[1693]: [session uid=1002 pid=1693] Successfully activated service 'org.gnome.ArchiveManager1'
Dez 26 00:31:32 DesktopPC gnome-shell[1844]: DING: Detected async api for thumbnails
Dez 26 00:31:32 DesktopPC gnome-shell[1844]: DING: GNOME nautilus 42.2
Dez 26 00:31:33 DesktopPC gnome-shell[1844]: DING: (gjs:16049): GLib-ERROR **: 23:31:33.648: Creating pipes for GWakeup: Zu viele offene Dateien
Dez 26 00:31:35 DesktopPC gnome-shell[1844]: DING: Detected async api for thumbnails
Dez 26 00:31:35 DesktopPC gnome-shell[1844]: DING: GNOME nautilus 42.2
Dez 26 00:31:36 DesktopPC gnome-shell[1844]: DING: (gjs:16086): GLib-ERROR **: 23:31:36.968: Creating pipes for GWakeup: Zu viele offene Dateien
Dez 26 00:31:38 DesktopPC nautilus[16024]: Could not delete '.meta.isrunning': Datei oder Verzeichnis nicht gefunden
Dez 26 00:31:39 DesktopPC dbus-daemon[1693]: [session uid=1002 pid=1693] Activating service name='org.gnome.Nautilus' requested by ':1.1532' (uid=1002 pid=16119 comm="gjs /usr/share/gnome-shell/extensions/ding@rasters" label="unconfined")
Dez 26 00:31:39 DesktopPC dbus-daemon[1693]: [session uid=1002 pid=1693] Successfully activated service 'org.gnome.Nautilus'
Dez 26 00:31:39 DesktopPC gnome-shell[1844]: DING: Detected async api for thumbnails
Dez 26 00:31:39 DesktopPC gnome-shell[1844]: DING: GNOME nautilus 42.2
Dez 26 00:31:40 DesktopPC gnome-shell[1844]: DING: (gjs:16119): GLib-ERROR **: 23:31:40.446: Creating pipes for GWakeup: Zu viele offene Dateien
Dez 26 00:31:42 DesktopPC gnome-shell[1844]: DING: Detected async api for thumbnails
Dez 26 00:31:42 DesktopPC gnome-shell[1844]: DING: GNOME nautilus 42.2
Dez 26 00:31:44 DesktopPC gnome-shell[1844]: DING: (gjs:16155): GLib-ERROR **: 23:31:44.197: Creating pipes for GWakeup: Zu viele offene Dateien
Dez 26 00:31:46 DesktopPC dbus-daemon[1693]: [session uid=1002 pid=1693] Activating service name='org.gnome.ArchiveManager1' requested by ':1.1542' (uid=1002 pid=16186 comm="gjs /usr/share/gnome-shell/extensions/ding@rasters" label="unconfined")
Dez 26 00:31:46 DesktopPC dbus-daemon[1693]: [session uid=1002 pid=1693] Successfully activated service 'org.gnome.ArchiveManager1'
Dez 26 00:31:46 DesktopPC gnome-shell[1844]: DING: Detected async api for thumbnails
Dez 26 00:31:46 DesktopPC gnome-shell[1844]: DING: GNOME nautilus 42.2
Dez 26 00:31:47 DesktopPC gnome-shell[1844]: DING: (gjs:16186): GLib-ERROR **: 23:31:47.649: Creating pipes for GWakeup: Zu viele offene Dateien
Dez 26 00:31:49 DesktopPC nautilus[16132]: Could not delete '.meta.isrunning': Datei oder Verzeichnis nicht gefunden
这种情况会一直循环下去,直到我通过 禁用扩展程序。值得注意的是,这种情况只会发生在非管理员用户帐户上。gnome-extensions disable [email protected]