No default background set for GNOME-Greeter

Bug #2077741 reported by Matthew Hagemann
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-settings (Ubuntu)
Fix Released
Medium
Marco Trevisan (Treviño)
Noble
Fix Committed
Medium
Marco Trevisan (Treviño)

Bug Description

[ Impact ]

While using Gnome-Initial-Setup launched from GDM (when no user > 1000 is present on the machine), no background is set on GNOME-Greeter, leading to a solid blue background wallpaper.

Gnome-Initial-Setup is currently used on OEM shipped devices to provide a first user setup flow. We plan to also use it for a Raspberry Pi first user flow. We have received lots of feedback that the solid blue background is not in line with the Flutter installer and looks like an error occurred / the wallpaper failed to load.

By updating /usr/share/glib-2.0/schemas/10_ubuntu-settings.gschema.override with:

```
# for GDM/DM
# FIXME: move to :Ubuntu-Greeter once upstream supports this, see LP: #1788

[org.gnome.desktop.interface:GNOME-Greeter]
gtk-theme = 'Yaru'
icon-theme = 'Yaru'
cursor-theme = 'Yaru'
font-name = 'Ubuntu 11'
monospace-font-name = 'Ubuntu Mono 13'
font-antialiasing = 'rgba'

[org.gnome.login-screen]
logo='/usr/share/plymouth/ubuntu-logo.png'

+ [org.gnome.desktop.background:GNOME-Greeter]
+ picture-uri = 'file:///usr/share/backgrounds/warty-final-ubuntu.png'
+ picture-uri-dark = 'file:///usr/share/backgrounds/ubuntu-wallpaper-d.png'
+ show-desktop-icons = false
```

I was able to add in one. This will help improve the GIS installer flow for Raspberry Pi we plan to support in 24.10 and the OEMs

ubuntu-settings:
  Installed: 24.04.3
Ubuntu version: 24.04 LTS

[ Test Plan ]

To test this change, you can follow the test plan for Gnome-Initial-Setup up to the point where you have launched the GDM Gnome-Initial-Setup session and Gnome-Initial-Setup has appeared. You should see the default Ubuntu wallpaper, not a solid blue wallpaper, behind Gnome-Initial-Setup.

https://wiki.ubuntu.com/DesktopTeam/TestPlans/GnomeInitialSetup

[ Where problems could occur ]

If the path to the wallpaper is invalid, the session reverts to its blue background, returning to its current state.

Changed in ubuntu-settings (Ubuntu):
milestone: none → ubuntu-24.10
Changed in ubuntu-settings (Ubuntu):
status: New → In Progress
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Changed in ubuntu-settings (Ubuntu Noble):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-settings - 24.10.3

---------------
ubuntu-settings (24.10.3) oracular; urgency=medium

  * Set default background in GDM gnome-initial-setup session.
    Use ubuntu default background when using the GNOME greeter session that
    is default when using gnome-initial-setup from GDM (LP: #2077741)

 -- Marco Trevisan (Treviño) <email address hidden> Thu, 29 Aug 2024 19:37:09 +0200

Changed in ubuntu-settings (Ubuntu):
status: In Progress → Fix Released
Changed in ubuntu-settings (Ubuntu):
importance: Undecided → Medium
Changed in ubuntu-settings (Ubuntu Noble):
importance: Undecided → Medium
status: In Progress → Fix Committed
description: updated
description: updated
Revision history for this message
Robie Basak (racb) wrote :

Accepting. I see that the change is scoped to "[org.gnome.desktop.background:GNOME-Greeter]" so I guess there's low likelyhood of impact outside that, but for testing, to what extent do we need to consider other flavours that use gnome-greeter?

tags: added: verification-needed verification-needed-noble
Revision history for this message
Robie Basak (racb) wrote : Please test proposed package

Hello Matthew, or anyone else affected,

Accepted ubuntu-settings into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-settings/24.04.5 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

gnome-initial-setup is currently seeded by Ubuntu Desktop and Edubuntu only.

Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (ubuntu-settings/24.04.5)

All autopkgtests for the newly accepted ubuntu-settings (24.04.5) for noble have finished running.
The following regressions have been reported in tests triggered by the package:

network-manager/1.46.0-1ubuntu2 (arm64)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/noble/update_excuses.html#ubuntu-settings

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Matthew Hagemann (matt-hagemann) wrote :

Tested version 24.04.5 from https://launchpad.net/ubuntu/+source/ubuntu-settings/24.04.5

Following the first few steps in the testplan https://wiki.ubuntu.com/DesktopTeam/TestPlans/GnomeInitialSetup I:
- Created a 24.04.1 VM and preformed normal installation
- Installed ubuntu-settings 24.04.5
- Removed the user created during installation
- Rebooted the VM

I landed on the Gnome-Initial-Setup session, but now including the wallpaper, fixing my issue. I was able to complete the setup flow as per normal.

tags: added: verification-done-noble
removed: verification-needed-noble
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.