LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   No longer able to login via GUI (https://www.linuxquestions.org/questions/linux-desktop-74/no-longer-able-to-login-via-gui-4175736194/)

edfriedman 04-18-2024 04:31 PM

No longer able to login via GUI
 
We had a power outage and after that I have no longer been able to do a GUI login at the console. The screen goes blank for a few seconds, then comes back to the login screen. Other users have no problem at all.

I'm using RHEL 8 and I'm guessing that there is some safeguard against the same person having two GUI console logins at the same time, but I'm stumped as to how it works. I've tried eliminating all /tmp and /var/tmp files, but that did not help. Maybe it is on some system file??? I would greatly appreciate it if anyone had any suggestions...

ferrari 04-18-2024 04:44 PM

Which display manager and desktop environment is in use? Perhaps the power outage event corrupted the user's home environment? You could try creating another user account from a VT, then restart the machine and see if you can successfully login as the new 'test' user.

edfriedman 04-19-2024 10:04 AM

Quote:

Originally Posted by ferrari (Post 6496957)
Which display manager and desktop environment is in use? Perhaps the power outage event corrupted the user's home environment? You could try creating another user account from a VT, then restart the machine and see if you can successfully login as the new 'test' user.

Quote:

Originally Posted by edfriedman (Post 6496954)
We had a power outage and after that I have no longer been able to do a GUI login at the console. The screen goes blank for a few seconds, then comes back to the login screen. Other users have no problem at all.

I'm using RHEL 8 and I'm guessing that there is some safeguard against the same person having two GUI console logins at the same time, but I'm stumped as to how it works. I've tried eliminating all /tmp and /var/tmp files, but that did not help. Maybe it is on some system file??? I would greatly appreciate it if anyone had any suggestions...

I should have mentioned that I tried logging in with every display manager possible and the same thing happened each time.

ferrari 04-19-2024 03:52 PM

Ok, and what about my suggestion re creating a new 'test' user account?

edfriedman 04-20-2024 07:52 AM

The test account can login with no problem. Only my original account has the problem...

ferrari 04-20-2024 05:30 PM

Please disclose the desktop environment you're using. I know you mentioned RHEL 8, so I assume Gnome Wayland?

If inxi is installed run
Code:

inxi -Sa

ferrari 04-20-2024 05:42 PM

The advice in this Ubuntu thread may be helpful (if using Gnome). Work your way through it...
https://askubuntu.com/questions/1237...sions-on-20-04

The general idea is to login via a VT as the original user, then perhaps try renaming the ~/.config directory to start with eg ~/.config.DISABLE, and then try to login to the graphical deksotop via the display manager again. The original poster (To Do) discovered there problem was something problematic in ~/.config/dconf that was causing the issue. Your issue may be different, but hopefully this gives you an idea on how to find the culprit configuration issue (specific to that user account).

Let us know how you get on.

edfriedman 04-24-2024 11:48 AM

I moved .config to .config.DISABLE and also moved .cache to .cache.DISABLE but the problem still remains...

I don't have inxi on my system.

ferrari 04-24-2024 05:29 PM

What prevents you from installing it?

Run this when logged in to your working test account and report back
Code:

echo $XDG_SESSION_TYPE
Code:

echo $XDG_CURRENT_DESKTOP

edfriedman 04-25-2024 11:13 AM

SESSION_TYPE = x11
SESSION_DESKTOP = XFCE

ferrari 04-25-2024 06:12 PM

Ok, finally we know that you're using XFCE. Nothing in ~/.local/share/xfce4 perhaps?

edfriedman 04-26-2024 10:08 AM

~/.local/share/xfce4 contains only a single directory called helpers, which contains only a single file called google-chrome.desktop

However, as I mentioned before, no matter which windowing system I choose before entering my password, the result is always the same - fade to black, then after a few seconds back to the login screen...


All times are GMT -5. The time now is 04:36 AM.