当 GNOME Shell Extensions 被激活时,Ubuntu 冻结,当我第一次升级时出现问题20.04
,并且在双启动中安装21.10
了最新版本时问题仍然存在。22.04
当系统冻结时,我必须重新启动登录并Xorg
停用扩展,然后再次使用 Ubuntu 登录。
sudo journalctl -b -1 -e
日志:
... gnome-shell[4088]: Device '/dev/dri/card1' prefers shadow buffer
... snapd-desktop-integration.snapd-desktop-integration[4304]: Unable to init server: Could not connect: Connection refused
... snapd-desktop-i[4304]: cannot open display:
... systemd[3802]: snap.snapd-desktop-integration.snapd-desktop-integration.service: Main process exited, code=exited, status=1/FAILURE
... systemd[3802]: snap.snapd-desktop-integration.snapd-desktop-integration.service: Failed with result 'exit-code'.
... gnome-shell[4088]: Added device '/dev/dri/card1' (i915) using atomic mode setting.
... gnome-shell[4088]: Created gbm renderer for '/dev/dri/card0'
... gnome-shell[4088]: Created gbm renderer for '/dev/dri/card1'
... gnome-shell[4088]: Boot VGA GPU /dev/dri/card1 selected as primary
... systemd[3802]: snap.snapd-desktop-integration.snapd-desktop-integration.service: Scheduled restart job, restart counter is at 5.
... systemd[3802]: Stopped Service for snap application snapd-desktop-integration.snapd-desktop-integration.
... systemd[3802]: Started Service for snap application snapd-desktop-integration.snapd-desktop-integration.
... snapd-desktop-integration.snapd-desktop-integration[4376]: Unable to init server: Could not connect: Connection refused
... snapd-desktop-i[4376]: cannot open display:
... systemd[3802]: snap.snapd-desktop-integration.snapd-desktop-integration.service: Main process exited, code=exited, status=1/FAILURE
... systemd[3802]: snap.snapd-desktop-integration.snapd-desktop-integration.service: Failed with result 'exit-code'.
... gnome-shell[4088]: Using public X11 display :0, (using :1 for managed services)
... gnome-shell[4088]: Using Wayland display name 'wayland-0'
... systemd[3802]: snap.snapd-desktop-integration.snapd-desktop-integration.service: Scheduled restart job, restart counter is at 6.
... systemd[3802]: Stopped Service for snap application snapd-desktop-integration.snapd-desktop-integration.
... systemd[3802]: snap.snapd-desktop-integration.snapd-desktop-integration.service: Start request repeated too quickly.
... systemd[3802]: snap.snapd-desktop-integration.snapd-desktop-integration.service: Failed with result 'exit-code'.
... systemd[3802]: Failed to start Service for snap application snapd-desktop-integration.snapd-desktop-integration.
禁用所有用户扩展,注销然后重新登录。如果问题仍然存在,请同时禁用系统扩展。然后启用扩展并测试运行系统。激活另一个扩展程序,这样您就可以识别导致问题的扩展程序。
这假设您确定它正在有效地激活导致问题的扩展程序,您指出了这一点。