GDM 无法在搭载 Ubuntu Server 22.04 的 RaspberryPi 4 上启动

GDM 无法在搭载 Ubuntu Server 22.04 的 RaspberryPi 4 上启动

我正在尝试在 Raspberry Pi 4 上使用 Ubuntu Server 22.04。我已经安装了 ubuntu-desktop-minimal 软件包并重新启动,但 Pi 上没有登录屏幕,只有一个闪烁的破折号。

我也尝试过 ubuntu-desktop-raspi 和 ubuntu-desktop 包,但没有成功。

我也尝试过编辑 /etc/gdm3/custom.conf 并取消注释WaylandEnable=false以尝试不使用 Wayland,但结果是一样的。

在启动期间,屏幕似乎工作正常,我的显示器上出现了启动日志等。

GDM 似乎正在运行,但在日志中显示以下内容:

Jun 20 16:58:18 SYKIOSKPI gdm-launch-environment][1232]: pam_unix(gdm-launch-environment:session): session closed for user gdm
Jun 20 16:58:17 SYKIOSKPI gdm-launch-environment][1232]: pam_unix(gdm-launch-environment:session): session opened for user gdm(uid=116) by (uid=0)
Jun 20 16:58:17 SYKIOSKPI gdm3[1086]: Gdm: Child process -1227 was already dead.
Jun 20 16:58:17 SYKIOSKPI gdm3[1086]: Gdm: GdmDisplay: Session never registered, failing
Jun 20 16:58:17 SYKIOSKPI gdm3[1086]: Gdm: Child process -1227 was already dead.
Jun 20 16:58:17 SYKIOSKPI gdm-launch-environment][1221]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jun 20 16:58:17 SYKIOSKPI gdm3[1086]: Gdm: GdmDisplay: Session never registered, failing
Jun 20 16:58:17 SYKIOSKPI gdm-launch-environment][1221]: pam_unix(gdm-launch-environment:session): session closed for user gdm
Jun 20 16:58:17 SYKIOSKPI gdm-launch-environment][1221]: pam_unix(gdm-launch-environment:session): session opened for user gdm(uid=116) by (uid=0)
Jun 20 16:58:17 SYKIOSKPI gdm3[1086]: Gdm: Child process -1217 was already dead.
Jun 20 16:58:17 SYKIOSKPI gdm3[1086]: Gdm: GdmDisplay: Session never registered, failing
Jun 20 16:58:17 SYKIOSKPI gdm3[1086]: Gdm: Child process -1217 was already dead.
Jun 20 16:58:17 SYKIOSKPI gdm-launch-environment][1211]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jun 20 16:58:17 SYKIOSKPI gdm3[1086]: Gdm: GdmDisplay: Session never registered, failing
Jun 20 16:58:17 SYKIOSKPI gdm-launch-environment][1211]: pam_unix(gdm-launch-environment:session): session closed for user gdm
Jun 20 16:58:17 SYKIOSKPI gdm-launch-environment][1211]: pam_unix(gdm-launch-environment:session): session opened for user gdm(uid=116) by (uid=0)
Jun 20 16:58:17 SYKIOSKPI gdm3[1086]: Gdm: Child process -1207 was already dead.
Jun 20 16:58:17 SYKIOSKPI gdm3[1086]: Gdm: GdmDisplay: Session never registered, failing
Jun 20 16:58:17 SYKIOSKPI gdm3[1086]: Gdm: Child process -1207 was already dead.
Jun 20 16:58:17 SYKIOSKPI gdm-launch-environment][1200]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jun 20 16:58:17 SYKIOSKPI gdm3[1086]: Gdm: GdmDisplay: Session never registered, failing
Jun 20 16:58:17 SYKIOSKPI gdm-launch-environment][1200]: pam_unix(gdm-launch-environment:session): session closed for user gdm
Jun 20 16:58:17 SYKIOSKPI gdm-launch-environment][1200]: pam_unix(gdm-launch-environment:session): session opened for user gdm(uid=116) by (uid=0)
Jun 20 16:58:17 SYKIOSKPI gdm3[1086]: Gdm: Child process -1187 was already dead.
Jun 20 16:58:17 SYKIOSKPI gdm3[1086]: Gdm: GdmDisplay: Session never registered, failing
Jun 20 16:58:17 SYKIOSKPI gdm3[1086]: Gdm: Child process -1187 was already dead.
Jun 20 16:58:17 SYKIOSKPI gdm-launch-environment][1177]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jun 20 16:58:17 SYKIOSKPI gdm3[1086]: Gdm: GdmDisplay: Session never registered, failing
Jun 20 16:58:17 SYKIOSKPI gdm-launch-environment][1177]: pam_unix(gdm-launch-environment:session): session closed for user gdm
Jun 20 16:58:16 SYKIOSKPI gdm-launch-environment][1177]: pam_unix(gdm-launch-environment:session): session opened for user gdm(uid=116) by (uid=0)
Jun 20 16:58:16 SYKIOSKPI gdm3[1086]: Gdm: Child process -1165 was already dead.
Jun 20 16:58:16 SYKIOSKPI gdm3[1086]: Gdm: GdmDisplay: Session never registered, failing
Jun 20 16:58:16 SYKIOSKPI gdm3[1086]: Gdm: Child process -1165 was already dead.
Jun 20 16:58:16 SYKIOSKPI gdm3[1086]: Gdm: GdmDisplay: Session never registered, failing
Jun 20 16:57:43 SYKIOSKPI gdm-launch-environment][1149]: pam_unix(gdm-launch-environment:session): session opened for user gdm(uid=116) by (uid=0)
Jun 20 16:57:33 SYKIOSKPI systemd[1]: Started GNOME Display Manager.
Jun 20 16:57:33 SYKIOSKPI systemd[1]: Starting GNOME Display Manager...

我已经在 GDM 中启用了调试并再次运行它,日志可以在这里找到:https://pastebin.com/ze8PWHEd

这是 GDM X 服务器日志:https://pastebin.com/c4uTZRVn

不确定下一步该尝试什么

答案1

按照这个答案我添加了dtoverlay=vc4-fkms-v3d/boot/firmware/config.txt并且现在可以工作了。

我会接受任何可以解释这意味着什么的答案,如果有更好的选择,这个设置有效,但我不知道它的作用是什么。

相关内容