LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-27-2004, 05:29 PM   #1
soren625
Member
 
Registered: May 2004
Distribution: Fedora Core
Posts: 64

Rep: Reputation: 15
Crazy blank dialog boxes and windows at login. Can't login as user


I am running RH9 with Gnome desktop. Occasionally when I login as a regular user, instead of the splash screen that shows all the modules being loaded, I get a bunch of windows with nothing on them except the green check button. All I can do is CTRL+ALT+BACKSPACE and then login as root, delete the user and user's home directory and then create the user again. After this happened several times and I got frustrated with reconfiguring my desktop and email, etc. etc. every time. I backed the home dir up to another folder. Then when it happened I would just restore the contents of the home directory (all the hidden conf. files) and then the user could login just fine. I guess it's a problem with the user's configuration files in the home dir getting corrupted somehow.

Can anyone help me???!!!
 
Old 08-10-2004, 12:47 PM   #2
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 98
I agree, it sounds as though your configuration files are getting corrupt.

Does this happen after a system crash?

If you have a backup copy of the users configuration files you could just try copying them back

EG. (logged on as root)

mkdir /backup_files
cp -pr /home/user/.??* /backup_files/.

This will recursively copy all the files in /home/user that begin with a full stop and are at least 3 characters log.
This will also keep the user group permissions and modified times of the files.

To restore these files cp -pr /backup_files/.??* /home/user/.

I hope this helps, but I would also keep an eye on the system logs to find out why these files are being corrupted!
 
Old 08-11-2004, 06:30 AM   #3
soren625
Member
 
Registered: May 2004
Distribution: Fedora Core
Posts: 64

Original Poster
Rep: Reputation: 15
I have discovered that the problem is definitely in the Gnome config files in the users home directory. If I delete that stuff (.gnome, .gconf, etc.) at least then all I have to do is log in as the user and restore the custom desktop settings (like the size of the panel, single click to open, etc., etc.). That's a lot better than having to restore ALL the desktop launchers, as well as ALL the application settings (like Pan, Evolution, Firefox, ...). I am trying to home in on exactly which single file needs to be deleted (because it's corrupted).

I also have a suspicion that this has something to do with selecting the "save current settings" option on the logoff screen. The craziness seems to occur if I check that selection while a Samba share (on a Windows machine) is mounted to the Linux machine. If I unmount the share and THEN log out and save settings, it doesn't seem to happen.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE login dialog (3 questions) KlaymenDK *BSD 5 11-06-2005 12:58 PM
Wine trouble - Menu bars blank (same happens in install dialog boxes) Hagal Linux - Software 2 09-17-2005 05:10 PM
MySQL: Login as Blank User From Command Line tortle Linux - Software 1 05-14-2005 05:01 PM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 11:39 AM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-05-2004 11:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration