"screen appears" means GNOME Shell (Ubuntu desktop) appears. Following results of ps is executed in ssh console. No crash file of gnome-shell exists in /var/crash.
=============================== Power on => GDM is displayed: $ ps -ef|grep gnome gdm 1376 1294 0 10:07 tty1 00:00:00 /usr/libexec/gdm-wayland-session dbus-run-session -- gnome-session --autostart /usr/share/gdm/greeter/autostart gdm 1411 1376 0 10:07 tty1 00:00:00 dbus-run-session -- gnome-session --autostart /usr/share/gdm/greeter/autostart gdm 1419 1411 0 10:07 tty1 00:00:00 /usr/libexec/gnome-session-binary --autostart /usr/share/gdm/greeter/autostart gdm 1472 1419 5 10:07 tty1 00:00:02 /usr/bin/gnome-shell gdm 1526 1 0 10:07 tty1 00:00:00 /usr/libexec/at-spi2-registryd --use-gnome-session gdm 1566 1 0 10:07 tty1 00:00:00 /usr/bin/gjs -m /usr/share/gnome-shell/org.gnome.Shell.Notifications gdm 1898 1 0 10:07 tty1 00:00:00 /usr/bin/gjs -m /usr/share/gnome-shell/org.gnome.ScreenSaver user 2194 2127 0 10:08 pts/0 00:00:00 grep --color=auto gnome Login. Black screen with the X cursor is displayed: $ ps -ef|grep gnome user 2203 1957 0 10:08 ? 00:00:00 /usr/bin/gnome-keyring-daemon --foreground --components=pkcs11,secrets --control-directory=/run/user/1000/keyring user 2223 2196 0 10:08 tty2 00:00:00 /usr/libexec/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu /usr/bin/gnome-session --session=ubuntu user 2280 2223 0 10:08 tty2 00:00:00 /usr/libexec/gnome-session-binary --session=ubuntu user 2445 1957 0 10:08 ? 00:00:00 /usr/libexec/gnome-session-ctl --monitor user 2472 1957 0 10:08 ? 00:00:00 /usr/libexec/gnome-session-binary --systemd-service --session=ubuntu user 2519 1957 13 10:08 ? 00:00:03 /usr/bin/gnome-shell user 2544 1957 0 10:08 ? 00:00:00 /usr/libexec/at-spi2-registryd --use-gnome-session user 2575 1957 0 10:08 ? 00:00:00 /usr/libexec/gnome-shell-calendar-server user 2596 1957 0 10:08 ? 00:00:00 /usr/bin/gjs -m /usr/share/gnome-shell/org.gnome.Shell.Notifications user 3042 1957 0 10:08 ? 00:00:00 /usr/bin/gjs -m /usr/share/gnome-shell/org.gnome.ScreenSaver user 3174 1957 1 10:08 ? 00:00:00 /usr/libexec/xdg-desktop-portal-gnome user 3191 2519 1 10:08 ? 00:00:00 gjs /usr/share/gnome-shell/extensions/d...@rastersoft.com/app/ding.js -E -P /usr/share/gnome-shell/extensions/d...@rastersoft.com/app user 3325 2127 0 10:08 pts/0 00:00:00 grep --color=auto gnome Execute following command. $ DISPLAY=:0 timeout 1 xmessage -iconic x GNOME Shell (Ubuntu desktop) appears. $ ps -ef|grep gnome user 2203 1957 0 10:08 ? 00:00:00 /usr/bin/gnome-keyring-daemon --foreground --components=pkcs11,secrets --control-directory=/run/user/1000/keyring user 2223 2196 0 10:08 tty2 00:00:00 /usr/libexec/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu /usr/bin/gnome-session --session=ubuntu user 2280 2223 0 10:08 tty2 00:00:00 /usr/libexec/gnome-session-binary --session=ubuntu user 2445 1957 0 10:08 ? 00:00:00 /usr/libexec/gnome-session-ctl --monitor user 2472 1957 0 10:08 ? 00:00:00 /usr/libexec/gnome-session-binary --systemd-service --session=ubuntu user 2519 1957 4 10:08 ? 00:00:04 /usr/bin/gnome-shell user 2544 1957 0 10:08 ? 00:00:00 /usr/libexec/at-spi2-registryd --use-gnome-session user 2575 1957 0 10:08 ? 00:00:00 /usr/libexec/gnome-shell-calendar-server user 2596 1957 0 10:08 ? 00:00:00 /usr/bin/gjs -m /usr/share/gnome-shell/org.gnome.Shell.Notifications user 3042 1957 0 10:08 ? 00:00:00 /usr/bin/gjs -m /usr/share/gnome-shell/org.gnome.ScreenSaver user 3174 1957 0 10:08 ? 00:00:00 /usr/libexec/xdg-desktop-portal-gnome user 3191 2519 0 10:08 ? 00:00:00 gjs /usr/share/gnome-shell/extensions/d...@rastersoft.com/app/ding.js -E -P /usr/share/gnome-shell/extensions/d...@rastersoft.com/app user 3384 2127 0 10:09 pts/0 00:00:00 grep --color=auto gnome -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/2089709 Title: Ubuntu 24.04 (X11) sometimes logs in to a black screen with only an X cursor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2089709/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs