如何找出 GNOME/Openbox 会话在 22.04 LTS 上不起作用的原因

如何找出 GNOME/Openbox 会话在 22.04 LTS 上不起作用的原因

我全新安装了 Ubuntu 22.04.02,我想将 Openbox 与 GNOME 一起使用。

但是,如果我在登录时选择 GNOME/Openbox 选项,我就会看到糟糕的监视器图像和消息“哦不!出了点问题。”以及一个“注销”按钮。

默认安装后我安装了开箱openbox-gnome-session包。也许这还不够?

我查看了 syslog 和/home/$user/.local/share/xorg/Xorg.*log,但没有什么突出的东西,尽管有很多可能相关的警告,例如下面显示的。

中不存在任何文件/var/crash

请注意,登录时可以选择的所有其他选项(Ubuntu、Xorg 上的 Ubuntu、GNOME、Xorg 上的 GNOME 甚至 Openbox 均可使用)。

我也尝试使用新创建的测试用户登录,结果是一样的。

感谢您指点在哪里寻找解决方案!我读到过,从文本控制台而不是图形登录屏幕启动会话可能会很有用,但我(还)不知道该怎么做。

May  3 20:16:15 spork systemd[53894]: Starting GNOME Session Manager (session: openbox-gnome)...
May  3 20:16:15 spork gnome-session[54263]: gnome-session-binary[54263]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.Clipboard'
May  3 20:16:15 spork gnome-session-binary[54263]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.Clipboard'
May  3 20:16:15 spork gnome-session[54263]: gnome-session-binary[54263]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.Mouse'
May  3 20:16:15 spork gnome-session-binary[54263]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.Mouse'
May  3 20:16:15 spork gnome-session[54263]: gnome-session-binary[54263]: WARNING: Unable to find required component 'gnome-panel'
May  3 20:16:15 spork gnome-session-binary[54263]: WARNING: Unable to find required component 'gnome-panel'
May  3 20:16:15 spork gnome-session[54263]: gnome-session-binary[54263]: WARNING: Unable to find required component 'nautilus-classic'
May  3 20:16:15 spork gnome-session-binary[54263]: WARNING: Unable to find required component 'nautilus-classic'
May  3 20:16:15 spork gnome-session[54263]: gnome-session-binary[54263]: WARNING: Unable to find required component 'gnome-flashback-services'
May  3 20:16:15 spork gnome-session-binary[54263]: WARNING: Unable to find required component 'gnome-flashback-services'
May  3 20:16:15 spork systemd[53894]: Starting IBus Daemon for GNOME...
May  3 20:16:15 spork systemd[53894]: Starting GNOME XSettings service...
May  3 20:16:15 spork gnome-session-binary[54263]: Entering running state
May  3 20:16:15 spork systemd[53894]: Finished Signal initialization done to GNOME Session Manager.
May  3 20:16:15 spork sh[54284]: current session already has an ibus-daemon.
May  3 20:16:15 spork systemd[53894]: org.freedesktop.IBus.session.GNOME.service: Main process exited, code=exited, status=255/EXCEPTION
May  3 20:16:15 spork systemd[53894]: org.freedesktop.IBus.session.GNOME.service: Failed with result 'exit-code'.
May  3 20:16:15 spork systemd[53894]: Failed to start IBus Daemon for GNOME.
May  3 20:16:15 spork gsd-xsettings[54282]: Failed to get current display configuration state: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.Mutter.DisplayConfig" does not exist
May  3 20:16:15 spork systemd[53894]: Started GPaste daemon.
May  3 20:16:15 spork gpaste-daemon[54297]: Couldn't grab keybindings with gnome-shell: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Shell was not provided by any .service files
May  3 20:16:15 spork dbus-daemon[53917]: [session uid=1001 pid=53917] Successfully activated service 'org.gnome.ScreenSaver'
May  3 20:16:15 spork gnome-session[54263]: gnome-session-binary[54263]: WARNING: Could not retrieve current screensaver active state: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
May  3 20:16:15 spork gnome-session-binary[54263]: WARNING: Could not retrieve current screensaver active state: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying

最值得注意的是:

May  3 20:16:25 spork gnome-shell[53265]: Connection to xwayland lost
May  3 20:16:25 spork gdm-launch-environment]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May  3 20:16:25 spork gdm3: Gdm: Child process -53200 was already dead.

相关内容