Rocky Linux 9 requires me to log in twice

New install of Rocky 9.6 on T480 consistently requires me to log in twice when first booting up. I have typed it fast and very slow and carefully and it’s the same either way. Has anyone else experienced this?

What changes have you made? Did you use a kickstart, cloud-init, or anything else to prep the system? Also, what hardware is it running on (CPU, graphics card, etc…)?

I used Rocky-9-XFCE-x86_64-latest.iso from the Rocky website and wrote the image to a thumb drive using Rufus on Windows 11. Intel Corporation UHD Graphics 620 (rev 07), Intel(R) Core™ i7-8550U CPU @ 1.80GHz.

No changes, just installed the system and then installed several flatpak scientific programs.

Login twice where? Did you encrypt your partitions? Most likely if encrypted, it’s asking you the password for each encrypted partition.

When initially booting up I have to login twice. When first entering my password it returns to the login screen so I put the password in again and it opens up. When using my password in the command line I only have to enter it once. I failed to mention I am dual booting with Windows 11 and secure boot and TPM are both active. Bit locker is not active in Windows 11 and I did not encrypt the Rocky partition unless it defaults to that in a normal installation.

OK so graphical environment login screen. You can try and take a look in I think /var/log/gdm.log and see if there is anything here. Or take a look in /var/log/messages or /var/log/secure

I don’t know if there is a gdm.log file or similar, so you’ll have to check and see. I don’t use Rocky with a desktop.

Ok, I will check that out. Thanks.

Does XFCE use ‘gdm’?

On my system (where gdm is working), there’s a directory called ‘/var/log/gdm’, but it’s empty.

As root:
journalctl -b -e
I see things like
gdm-password][2581]: pam_unix(gdm-password:session): session opened for user gerry
and many more similar messages

I did not find gdm.log but found lightdm.log:
Extract from lightdm.log:
Greeter start authentication for gfneal
[+1.26s] DEBUG: Session pid=1987: Started with service ‘lightdm’, username ‘gfneal’
[+1.28s] DEBUG: Session pid=1987: Got 1 message(s) from PAM
[+1.28s] DEBUG: Prompt greeter with 1 message(s)
[+6.54s] DEBUG: Continue authentication
[+6.56s] DEBUG: Session pid=1987: Authentication complete with return value 0: Success
[+6.56s] DEBUG: Authenticate result for user gfneal: Success

Well, it turned out to be a simple problem. At the login screen there is a wrench symbol that when clicked shows “user session” or “Xfce session.” It was on “user session” by default but when clicking on “Xfce session” I only need to login once. I have run Xfce on several different linux distributions and never noticed this option. Thanks for eveyone who replied!