我正在使用 Ubuntu Linux X40 6.2.0-33-generic #33~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC
,GNOME Shell 42.9
输出journalctl -xe | grep "gnome-session-binary"
:
set 27 07:26:35 X40 gnome-session[1074]: gnome-session-binary[1074]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
set 27 07:26:35 X40 gnome-session[1074]: gnome-session-binary[1074]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
set 27 07:26:35 X40 gnome-session-binary[1074]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
set 27 07:26:35 X40 gnome-session-binary[1074]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
set 27 07:26:52 X40 gnome-session-binary[1074]: Entering running state
set 27 07:27:18 X40 systemd[1507]: Failed to start Application launched by gnome-session-binary.
set 27 07:27:18 X40 systemd[1507]: Failed to start Application launched by gnome-session-binary.
set 27 07:27:18 X40 systemd[1507]: Failed to start Application launched by gnome-session-binary.
set 27 07:27:18 X40 systemd[1507]: Started Application launched by gnome-session-binary.
set 27 07:27:18 X40 systemd[1507]: Started Application launched by gnome-session-binary.
set 27 07:27:21 X40 gnome-session-binary[1664]: Entering running state
set 27 07:27:21 X40 gnome-session[1664]: gnome-session-binary[1664]: GnomeDesktop-WARNING: Could not create transient scope for PID 1853: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 1853 does not exist.
set 27 07:27:21 X40 gnome-session-binary[1664]: GnomeDesktop-WARNING: Could not create transient scope for PID 1853: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 1853 does not exist.
set 27 07:27:21 X40 gnome-session[1664]: gnome-session-binary[1664]: GnomeDesktop-WARNING: Could not create transient scope for PID 1912: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 1912 does not exist.
set 27 07:27:21 X40 gnome-session-binary[1664]: GnomeDesktop-WARNING: Could not create transient scope for PID 1912: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 1912 does not exist.
set 27 07:27:21 X40 gnome-session[1664]: gnome-session-binary[1664]: GnomeDesktop-WARNING: Could not create transient scope for PID 1916: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 1916 does not exist.
set 27 07:27:21 X40 gnome-session-binary[1664]: GnomeDesktop-WARNING: Could not create transient scope for PID 1916: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 1916 does not exist.
set 27 07:27:21 X40 systemd[1507]: Started Application launched by gnome-session-binary.
set 27 07:27:21 X40 systemd[1507]: Started Application launched by gnome-session-binary.
set 27 07:27:21 X40 systemd[1507]: Started Application launched by gnome-session-binary.
set 27 07:27:21 X40 systemd[1507]: Started Application launched by gnome-session-binary.
set 27 07:27:21 X40 systemd[1507]: Started Application launched by gnome-session-binary.
set 27 07:27:21 X40 systemd[1507]: Started Application launched by gnome-session-binary.
set 27 07:27:23 X40 gnome-session-binary[1074]: WARNING: Lost name on bus: org.gnome.SessionManager
set 27 07:27:23 X40 gnome-session[1074]: gnome-session-binary[1074]: WARNING: Lost name on bus: org.gnome.SessionManager
set 27 07:28:21 X40 systemd[1507]: Started Application launched by gnome-session-binary.
set 27 07:28:21 X40 systemd[1507]: Started Application launched by gnome-session-binary.
答案1
我重新启动并使用该命令sudo apt-get update && sudo apt-get upgrade
,问题就解决了。journalctl -xe | grep "gnome-canary-session"
此后该命令没有返回任何内容。