"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 Desktop
Packages, 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

Status in gnome-shell package in Ubuntu:
  Incomplete

Bug description:
  I recently upgraded from Ubuntu 22.04 to Ubuntu 24.04. Now whenever I
  log in, sometimes I'll get a blank screen. It will only show the mouse
  cursor as an X.

  The problem seems to be intermittent. So far it's only happened to me
  using X11.

  My current workaround:

  1. Open another terminal (e.g. Ctrl+Alt+F6)
  2. Restart gdm3 (sudo systemctl restart gdm3)

  This seems to be affecting many people, although I couldn't find an
  existing bug: https://askubuntu.com/questions/1514757/issue-with-
  ubuntu-24-04-black-screen-with-cursor-on-login

  $ lsb_release -rd
  No LSB modules are available.
  Description:  Ubuntu 24.04.1 LTS
  Release:      24.04

  $ apt-cache policy gdm3
  gdm3:
    Installed: 46.0-2ubuntu1
    Candidate: 46.0-2ubuntu1
    Version table:
   *** 46.0-2ubuntu1 500
          500 http://ca.archive.ubuntu.com/ubuntu noble/main amd64 Packages
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: gdm3 46.0-2ubuntu1
  ProcVersionSignature: Ubuntu 6.8.0-48.48-generic 6.8.12
  Uname: Linux 6.8.0-48-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.28.1-0ubuntu3.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Nov 26 14:54:33 2024
  InstallationDate: Installed on 2020-04-24 (1677 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  SourcePackage: gdm3
  UpgradeStatus: Upgraded to noble on 2024-11-15 (11 days ago)
  modified.conffile..etc.default.apport: [modified]
  modified.conffile..etc.init.d.apport: [modified]
  mtime.conffile..etc.default.apport: 2020-05-04T10:55:44.853443
  mtime.conffile..etc.gdm3.custom.conf: 2022-09-08T08:54:17.642371
  mtime.conffile..etc.init.d.apport: 2024-07-22T10:59:07

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2089709/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to