GDM

Differences between revisions 7 and 8
Revision 7 as of 2026-06-22 16:03:30
Size: 3875
Editor: aleasto
Comment:
Revision 8 as of 2026-06-22 16:07:46
Size: 3878
Editor: aleasto
Comment:
Deletions are marked like this. Additions are marked like this.
Line 50: Line 50:
'''NVIDIA (Ubuntu 24.10 and 25.04) - ''For desktops or laptops with NVIDIA graphics'' '''NVIDIA (Ubuntu 24.10 and 25.04)''' - ''For desktops or laptops with NVIDIA graphics''

Below are the test cases that should be run when GDM is updated to new major releases in the development version of Ubuntu.

These should also be run for all GDM Stable Release Updates.

Test Case 1

Login

  1. sudo apt install gnome-session gnome-classic
  2. Install the update.
  3. Log out.
  4. Select your name on the login screen.
  5. Click the gear button to choose a session to log in to.
  6. Finish logging in.
  7. Verify that things continue to work well for all these sessions:
    • GNOME
    • GNOME Classic
    • Ubuntu
    • Ubuntu on Xorg
      • (only for ubuntu 25.04 or older)

Test Case 2

User switch and user lock

  1. From a logged-in session, select the Switch user option

  2. You need to be able to login as another user
  3. You need to be able to unlock and go back to the the previous session

Test Case 3

Smart card authentication

In absence of a physical smart card, this test can be performed by simulating one in software. Follow this guide.

  1. Configure setup with smart card authentication following this tutorial

  2. Ensure smart cart authentication works, plugging in the card both before and after gdm has been started
  3. Once logged in, unlocking the screen should work with smart card

Test Case 4

Fingerprint authentication - If hardware supports it

  1. Configure user to enable fingerprint authentication from user session (Settings -> Users -> Fingerprint)

  2. Ensure that after the user has been selected, it's possible to log-in with fingerprint
  3. Once logged in, unlocking the screen should work with fingerprint

Test Case 5.a

NVIDIA (Ubuntu 24.10 and 25.04) - For desktops or laptops with NVIDIA graphics

This test verifies the default session type for NVIDIA systems running Ubuntu 24.10 or newer

  1. Boot to the login screen
  2. Select your name
  3. Click the cogwheel at the bottom-right of the screen
  4. Verify that all these options are listed:
    • Ubuntu
    • Ubuntu on Xorg
  5. Verify that there does not exist:
    • Ubuntu on Wayland

Test Case 5.b

NVIDIA (Ubuntu 24.04 or older) - For desktops or laptops with NVIDIA graphics

This test verifies the default session type for NVIDIA systems running Ubuntu 24.04 or older

  1. Boot to the login screen
  2. Select your name
  3. Click the cogwheel at the bottom-right of the screen
  4. Verify that all these options are listed:
    • Ubuntu
    • Ubuntu on Wayland
  5. Verify that there does not exist:
    • Ubuntu on Xorg

Test Case 5.c

NVIDIA (Ubuntu 25.10 and newer)

Skip. NVIDIA is no longer handled as a special case.

Test Case 6

First boot

On the first boot of a pre-installed images with no configured users, GDM will hand-off the desktop to a temporary session that runs gnome-initial-setup as a first-boot configuration wizard.

This test will simulate a first boot.

1. Reboot to the GRUB menu (hold Esc at the BIOS splash screen) 1. With the up/down arrow keys, highlight "Ubuntu" 1. Press 'e' 1. With the up/down arrow keys, highlight the line beginning with "linux " 1. Press End 1. Type " gnome.initial-setup=1" 1. Press Ctrl+X 1. Verify that you booted into the first-boot wizard.

Beware that navigating through the first-boot wizard will overwrite system configuration, so avoid doing that and immediatly reboot instead.

What Could Go Wrong

GDM is the main login manager for Ubuntu desktop.

A severe enough bug could mean that people are unable to use their desktop version of Ubuntu or to log in to a specific session.

Smaller bugs could interrupt people's workflows.


CategoryDesktopTestPlans

DesktopTeam/TestPlans/GDM (last edited 2026-06-22 16:07:46 by aleasto)