我的 Ubuntu 20.04.1 突然重启,有时是在登录几秒钟后,有时是在我开始工作之后。我认为这与 GNOME 会话失败有关。我在var/sys/log
它发生之前发现了这一点:
Jan 13 20:28:18 localhost gnome-session[1810]: gnome-session-binary[1810]: WARNING: Application 'org.gnome.Shell.desktop' failed to register before timeout
Jan 13 20:28:18 localhost gnome-session-binary[1810]: WARNING: Application 'org.gnome.Shell.desktop' failed to register before timeout
Jan 13 20:28:18 localhost gnome-session-binary[1810]: Unrecoverable failure in required component org.gnome.Shell.desktop
Jan 13 20:28:18 localhost gnome-session[1810]: gnome-session-binary[1810]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Jan 13 20:28:18 localhost gnome-session-binary[1810]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Jan 13 20:28:18 localhost gnome-shell[1942]: gnome-shell: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Jan 13 20:28:18 localhost /usr/lib/gdm3/gdm-x-session[2125]: X connection to :0 broken (explicit kill or server shutdown).
### Starts to kill, stop and close services ###
Jan 13 20:28:28 localhost systemd[1596]: Reached target Shutdown.
Jan 13 20:28:28 localhost systemd[1596]: systemd-exit.service: Succeeded.
Jan 13 20:28:28 localhost systemd[1596]: Finished Exit the Session.
Jan 13 20:28:28 localhost systemd[1596]: Reached target Exit the Session.
Jan 13 20:28:28 localhost systemd[1]: [email protected]: Succeeded.
Jan 13 20:28:28 localhost systemd[1]: Stopped User Manager for UID 121.
Jan 13 20:28:28 localhost systemd[1]: Stopping User Runtime Directory /run/user/121...
Jan 13 20:28:28 localhost systemd[2373]: run-user-121.mount: Succeeded.
Jan 13 20:28:28 localhost systemd[1]: run-user-121.mount: Succeeded.
Jan 13 20:28:28 localhost systemd[1]: [email protected]: Succeeded.
Jan 13 20:28:28 localhost systemd[1]: Stopped User Runtime Directory /run/user/121.
Jan 13 20:28:28 localhost systemd[1]: Removed slice User Slice of UID 121.
Jan 13 20:28:32 localhost systemd[1]: systemd-hostnamed.service: Succeeded.
Jan 13 20:28:46 localhost systemd[1]: Received SIGINT.
Jan 13 20:28:46 localhost systemd[1]: Stopping Session 2 of user @#$%.
Jan 13 20:28:46 localhost gnome-shell[2733]: gnome-shell: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
我说得对吗?我试过重新安装 gnome-shell,但没用。除了重新安装操作系统外,还有其他方法可以修复它吗?