我正在尝试在 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
不确定接下来要尝试什么
根据我添加的这个答案,它现在可以工作了。
dtoverlay=vc4-fkms-v3d
/boot/firmware/config.txt
我会接受任何可以解释这意味着什么的答案,如果有更好的选择,这个设置有效,但我不知道它的作用。