Bug 2501223

Summary: Workstation Live images sometimes boot to GDM instead of desktop, desktop is present on tty2 but has Authentication Required modal
Product: [Fedora] Fedora Reporter: Brandon Nielsen <nielsenb>
Component: gdmAssignee: Ray Strode [halfline] <rstrode>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 45CC: ales.astone, avovk, derekenz, development.group, gnome-sig, jadahl, jgroman, kde-sig, mclasen, ngompa13, nikitashvets, rhbz, rhughes, rstrode, suraj.ghimire7
Target Milestone: ---Keywords: CommonBugs
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard: AcceptedFreezeException RejectedBlocker https://discussion.fedoraproject.org/t/common-issue/206518
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2406955    
Attachments:
Description Flags
Journal from a Workstation Live boot to GDM
none
F45 Branched 20261003.n.0 Workstation Live boot journal
none
Boot logs with gdm and drm debugging enabled
none
Boot log with rd.live.ram=1 none

Description Brandon Nielsen 2026-07-15 22:58:19 UTC
After selecting Live System User at the Workstation Live greeter, an "Authentication Required" modal appears with the text "Authentication is required to update metadata".

Reproducible: Always

Steps to Reproduce:
1. Boot Workstation Live
2. Select "Live System User" at GDM
Actual Results:
"Authentication Required" modal appears with the text "Authentication is required to update metadata".

Expected Results:
No authentication modal for a live user with no credentials.

Additional Information:
PackageKit is a guess at component, I don't see a smoking gun in the logs.

Tested with Workstation Live 20260715.n.0[0]

Similar issue has been reported for installed systems[1].

[0] - https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20260715.n.0/compose/Workstation/x86_64/iso/Fedora-Workstation-Live-Rawhide-20260715.n.0.x86_64.iso
[1] - https://bugzilla.redhat.com/show_bug.cgi?id=2400464

Comment 1 Aoife Moloney 2026-08-17 15:20:45 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.

Comment 2 Adam Williamson (Red Hat non-Fedora) 2026-08-17 15:37:44 UTC
Well, it shouldn't boot to a login screen in the first place. It doesn't seem to be doing that in openQA - https://openqa.fedoraproject.org/tests/5134445 . Can you see if there's anything suspicious in the journal when this happens, and attach the whole journal log if possible? Thanks!

Comment 3 Derek Enz 2026-08-17 16:17:02 UTC
For build F45 20260817 Workstation boots as expected. Live session looks good so far. Bare metal on a thinkpad.

Comment 4 Brandon Nielsen 2026-08-17 23:34:54 UTC
Created attachment 2154844 [details]
Journal from a Workstation Live boot to GDM

Comment 5 Brandon Nielsen 2026-08-17 23:36:29 UTC
I've attached a journal from a boot of Workstation Live Fedora 45 Branched 20260817. It boots to GDM every time on my HP Compaq 8510w (USB, BIOS). After selecting "Live User" in GDM, it immediately presents the "Authentication Required" modal.

Comment 6 Adam Williamson (Red Hat non-Fedora) 2026-08-18 00:17:01 UTC
Aug 17 18:04:54 localhost-live gdm-password][4079]: pam_unix(gdm-password:auth): user [liveuser] has blank password; authenticated without it
Aug 17 18:04:54 localhost-live gdm-password][4079]: gkr-pam: no password is available for user
Aug 17 18:04:54 localhost-live audit[4079]: AUDIT1100 pid=4079 uid=0 auid=1000 ses=1 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication grantors=pam_unix,pam_gnome_keyring acct="liveuser" exe="/usr/libexec/gdm-session-worker" hostname=localhost-live addr=? terminal=/dev/tty1 res=success'
Aug 17 18:04:54 localhost-live gdm-password][4079]: PAM pam_putenv: delete non-existent entry; GDM_AUTH_SESSION_ID
Aug 17 18:04:54 localhost-live gdm-password][4079]: Gdm: cannot put GDM_AUTH_SESSION_ID in pam environment: Bad item passed to pam_*_item()

looks a bit sketchy. Have to compare to a case where this doesn't happen, though.

Comment 7 Brandon Nielsen 2026-09-11 15:59:20 UTC
Reproducible with Workstation Live Fedora 45 Beta 1.3. Not filing as a blocker as so far it seems specific to my one piece of hardware.

Comment 8 Adam Williamson (Fedora) 2026-10-08 00:29:44 UTC
Brandon, if you can reproduce this easily, can you try doing ctrl-alt-f2 from the login screen and see if it brings you to the live desktop? Thanks! I'm trying to do this in openQA but it's harder to reproduce the bug at will there (I think it mainly happens when it's running lots of tests at once so this test runs slower than usual).

Comment 9 Jaroslav Groman 2026-10-08 10:07:19 UTC
I could also reproduce this with 20261003 Branched on UEFI system booted from USB. Pressing Ctrl+Alt+F2 at login screen 
brings up desktop with "Authentication Required" modal already present.

Found also this suspicious log entry in my journal:
Oct 08 09:45:31 localhost-live polkitd[1282]: Operator of unix-session:1 FAILED to authenticate to gain authorization for action org.freedesktop.Flatpak.metadata-update for system-bus-name::1.111 [/usr/bin/gnome-software --gapplication-service] (owned by unix-user:liveuser)

Attaching complete boot journal.

Comment 10 Jaroslav Groman 2026-10-08 10:09:00 UTC
Created attachment 2160441 [details]
F45 Branched 20261003.n.0 Workstation Live boot journal

Comment 11 Brandon Nielsen 2026-10-08 15:19:56 UTC
(In reply to Adam Williamson (Fedora) from comment #8)
> Brandon, if you can reproduce this easily, can you try doing ctrl-alt-f2
> from the login screen and see if it brings you to the live desktop? Thanks!
> I'm trying to do this in openQA but it's harder to reproduce the bug at will
> there (I think it mainly happens when it's running lots of tests at once so
> this test runs slower than usual).

I can confirm <Ctrl>-<Alt>-<F2> brings me to the live desktop where the titular "Authentication Required" modal is waiting for me.

Comment 12 Adam Williamson (Fedora) 2026-10-08 15:41:46 UTC
Ah OK. So the reason you see an Authentication Required dialog is likely https://gitlab.gnome.org/GNOME/gnome-software/-/work_items/582 - that's kinda known. AIUI, it pretty much happens any time Software decides to do its periodic check for updates, but you're not actually on the tty where the desktop session is running.

The larger point here, of course, is why we wind up on tty1 (GDM) instead of tty2 (desktop). It must be some sort of race. I'll ask the desktop team to look at it.

Comment 13 Adam Williamson (Fedora) 2026-10-08 15:42:30 UTC
Oh wow, that bug got closed a long time ago, but we definitely still see this in other openQA tests...I'll have to check if there's a newer one.

Comment 14 Adam Williamson (Fedora) 2026-10-08 15:48:25 UTC
Proposing as a blocker per "Release-blocking live images must boot to the expected boot menu, and then to a desktop or to a login prompt where it is clear how to log in to a desktop." I don't know why we have the wording allowing a login prompt, but I'm gonna argue that for Workstation the expectation/intention is that it boot directly to a desktop, *not* to a login prompt.

Also reassigning to gdm, I think the packagekit error and resulting modal are just *consequences* of us landing on the wrong tty here.

Comment 15 Jaroslav Groman 2026-10-09 09:25:37 UTC
Upon closer inspection I can see that tty2 user desktop (without any modals) is briefly displayed and
then it gets swiftly replaced with greeter on tty1.

Attaching logs with gdm and drm debugging enabled.

Comment 16 Jaroslav Groman 2026-10-09 09:27:15 UTC
Created attachment 2160521 [details]
Boot logs with gdm and drm debugging enabled

Comment 17 Jaroslav Groman 2026-10-09 11:20:12 UTC
Also this seat transfer problem is present in the boot log: https://gitlab.gnome.org/GNOME/gnome-shell/-/work_items/9109

Comment 18 Jaroslav Groman 2026-10-09 12:07:53 UTC
Tested adding "rd.live.ram=1" kernel option. Everything works as expected, there is 
no greeter and no auth modal. I guess this confirms possible timing race condition which
could be influenced by filesystem I/O speed.

Attaching boot log for comparison.

Comment 19 Jaroslav Groman 2026-10-09 12:09:18 UTC
Created attachment 2160528 [details]
Boot log with rd.live.ram=1

Comment 20 Lukas Ruzicka (Red Hat) 2026-10-12 17:51:17 UTC
AGREED RejectedFinalBlocker AcceptedFinalFreezeException

Discussed at the 2026-10-12 (blocker / freeze exception) review meeting:

We agreed that, as this only seems to affect some (slower?) systems and you can click through it to reach a working state, it's not a sufficient violation of the criteria to be a blocker. As it does look bad, it is accepted as an FE.

https://meetbot-raw.fedoraproject.org//blocker-review_matrix_fedoraproject-org/2026-10-12/f45-blocker-review.2026-10-12-16.00.log.txt

Comment 21 Adrian Vovk 2026-10-27 18:20:08 UTC
I took a look at the logs and they're not useful: GDM starts, auto-logs-into the liveuser user session, then suddenly it's also starting the greeter session. There's no GDM debugging or anything like that turned on. Since the greeter session is started later, it finishes starting later, and ultimately GDM decides to switch you to the just-started greeter session.

However, maybe the bug is https://gitlab.gnome.org/GNOME/gdm/-/work_items/1106? Can you confirm if turning off plymouth on the kernel command-line makes the issue go away?

If not, please turn on GDM debugging. To do this, you can pass `rd.break` on the kernel command-line, which will interrupt boot before we switch from initrd to real system. From there, you should be able to edit /sysroot/etc/gdm/custom.conf to uncomment the setting that turns on debugging. Boot, reproduce the bug, and then send over all the .journal files in /var/log/journal. Please don't turn on drm debugging, it's not useful for diagnosing things that aren't compositor or GPU driver bugs (which this isn't). Thanks!