Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-18-2024, 04:31 PM
|
#1
|
LQ Newbie
Registered: Apr 2024
Posts: 7
Rep:
|
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...
|
|
|
04-18-2024, 04:44 PM
|
#2
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,006
|
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.
|
|
|
04-19-2024, 10:04 AM
|
#3
|
LQ Newbie
Registered: Apr 2024
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by ferrari
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
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.
|
|
|
04-19-2024, 03:52 PM
|
#4
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,006
|
Ok, and what about my suggestion re creating a new 'test' user account?
|
|
|
04-20-2024, 07:52 AM
|
#5
|
LQ Newbie
Registered: Apr 2024
Posts: 7
Original Poster
Rep:
|
The test account can login with no problem. Only my original account has the problem...
|
|
|
04-20-2024, 05:30 PM
|
#6
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,006
|
Please disclose the desktop environment you're using. I know you mentioned RHEL 8, so I assume Gnome Wayland?
If inxi is installed run
Last edited by ferrari; 04-20-2024 at 05:31 PM.
|
|
|
04-20-2024, 05:42 PM
|
#7
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,006
|
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.
Last edited by ferrari; 04-20-2024 at 05:43 PM.
|
|
|
04-24-2024, 11:48 AM
|
#8
|
LQ Newbie
Registered: Apr 2024
Posts: 7
Original Poster
Rep:
|
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.
|
|
|
04-24-2024, 05:29 PM
|
#9
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,006
|
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
|
|
|
04-25-2024, 11:13 AM
|
#10
|
LQ Newbie
Registered: Apr 2024
Posts: 7
Original Poster
Rep:
|
SESSION_TYPE = x11
SESSION_DESKTOP = XFCE
|
|
|
04-25-2024, 06:12 PM
|
#11
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,006
|
Ok, finally we know that you're using XFCE. Nothing in ~/.local/share/xfce4 perhaps?
|
|
|
04-26-2024, 10:08 AM
|
#12
|
LQ Newbie
Registered: Apr 2024
Posts: 7
Original Poster
Rep:
|
~/.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...
|
|
|
06-24-2024, 02:09 PM
|
#13
|
Member
Registered: Sep 2010
Distribution: Slackware
Posts: 49
Rep:
|
Quote:
Originally Posted by edfriedman
The test account can login with no problem. Only my original account has the problem...
|
Check your ~/.xsession, see if it is still there. If yes, open the file to see inside if all is well and healthy; The file must be set executable (chmod +x .xinitrc).
If the file is no longer there, recreate it, just copy the skeleton xsession to your $HOME, overwrite the old file if the old one is corrupted.
Easier way may be just to copy your ~/.xinitrc to ~/.xsession, if you already have the .xinitrc.
|
|
|
06-25-2024, 09:44 AM
|
#14
|
LQ Veteran
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,243
|
@ CMartin
Not very helpful! I don't have a file ~/.xsession, so perhaps this is a Slackware thing? And telling a beginner to "copy the skeleton xsession" without saying where it can be found is not much better.
@ edfriedman
All I can suggest is the "nuclear option". Create a new user, transfer the data from the damaged user's directory to the new one, and remove the damaged user.
|
|
|
06-25-2024, 10:45 AM
|
#15
|
LQ Newbie
Registered: Apr 2024
Posts: 7
Original Poster
Rep:
|
Delete this thread
Thank you all for your help. Unfortunately I never did solve this problem, but fortunately I am retiring in a few days, so after today I will never have to login to that computer again. I would delete this thread if I knew how to do so...
|
|
|
All times are GMT -5. The time now is 02:25 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|