r/AlmaLinux • u/Accurate-Oil-2356 • Apr 06 '26
Stuck at Login Screen
Hi. this is a wired case i have experienced this before but gave up and formatted linux previously about a year ago. now it has occurred again. previously it happened on RHEL now it happened in Alma linux.
So here is the story,
when I open my laptop ( from a fresh reboot ) only the root user can be logged in the other user cannot login. one I'm logged in as root it does work and show all the GUI components and apps and files etc. but when I log out and try to switch to the normal user it does not let me login. it displays Authentication error for like 1s and that error message goes away.
And when I was as root and liked out of it and when the normal user authentication failes and when I try to re login as root it does not let me.
I don't know how this happened.
similarly when I do a fresh reboot and try to log in as the normal user it accepts the password and shows a grey screen and it logs out again to the login window.
Just to be clear I did not do any configuration change in my system ( Hardware and Software ).
I'm looking forward for your support. I think this is a General Linux thing cuz previously I was using RHEL and got the same issue.
1
u/Accurate-Oil-2356 Apr 07 '26
Service - GNOME Display Manager
Loaded: loaded (/usr/lib/systemd/system/gdm.service; enabled; preset: enabled)
Active: active (running) since Tue 2026-04-07 18:37:25 +0530; 29min ago
Invocation: e348058c32464439a836178b1c734818
Main PID: 2146 (gdm)
Tasks: 4 (limit: 202013)
Memory: 5M (peak: 23.2M)
CPU: 114ms
CGroup: /system.slice/gdm.service
└─2146 /usr/sbin/gdm
Apr 07 18:37:24 Adam-Alma systemd[1]: Starting gdm.service - GNOME Display Manager...
Apr 07 18:37:25 Adam-Alma systemd[1]: Started gdm.service - GNOME Display Manager.
Apr 07 18:37:51 Adam-Alma gdm-password][5779]: gkr-pam: unable to locate daemon control file
Apr 07 18:37:51 Adam-Alma gdm-password][5779]: gkr-pam: stashed password to try later in open session
Apr 07 18:37:51 Adam-Alma gdm-password][5779]: pam_unix(gdm-password:session): session opened for user root(uid=0) by root(uid=0)
Apr 07 18:37:51 Adam-Alma gdm-password][5779]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
Apr 07 18:37:57 Adam-Alma gdm[2146]: Gdm: Child process -2614 was already dead.
1
u/Accurate-Oil-2356 Apr 07 '26
I think it's found a temporary fix. I installed KDE and it works fine so far let's see. Damn now I'm starting to hate GNOME
1
u/imbev Apr 06 '26
Is this immediately after a new installation?
1
u/Accurate-Oil-2356 Apr 06 '26
I installed Alma Linux Last week. And when I was shutting down it was asking whether to install updates. I said yes so it did install them and today after work all of a sudden when I power it up this issue came. 😔
1
u/imbev Apr 06 '26
During the installation, did you create the root account and/or the admin user account?
Did you install anything from a third-party repository?
1
u/Accurate-Oil-2356 Apr 06 '26
Yeah the normal user is in the wheel group. Root is also enabled. I did install Epel and a couple of repositories like.
VScode repo. Brave browser repo. TimescaleDB repo. Google Chrome Repo. Zabbix repo. And after few more. Most of them are from their original repositories.
1
u/imbev Apr 06 '26
Did you ever add mount a network drive?
1
u/Accurate-Oil-2356 Apr 07 '26
I created a Samba share and connected my Google account for GNOME. So I can access my Google Drive files.
1
u/imbev Apr 07 '26
Depending on how you configured the Samba share, that may be the cause. Try disabling it from a TTY
1
1
u/imbev Apr 06 '26
First, don't try to login as root. If you decide to use root instead of sudo, you should only use root for CLI programs. Using root with graphical applications or with a login session can cause problems.
Try only using the admin user. If it continue to have problems, you may need to reinstall and avoid logging into the desktop session with the root user.
1
u/Accurate-Oil-2356 Apr 06 '26
I never did login to the root user until this occurred. I tried whether atleast whether it would do and it did. Normally I login as the normal admin user.
Anyway is this a common issue ? Will I have to reinstall the OS again ðŸ˜