UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
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.
I've been using Breezy for a few days now with no problems, then all of a sudden yesterday after rebooting I can't log in to gnome at all. When I enter my username and password at the logon screen, it sits for about 20 seconds on a brown screen with just a cursor, and then goes black briefly, and then just returns to the login screen.
I can log into a terminal OK, so my username and password are authenticated OK. I've checked '/var/log/Xorg.0.log' but there don't seem to be any errors there. Networking also seems to work - before it crashed I set up internet connection sharing to my XP machine thru Firestarter and that still works.
I can also type commands like 'nautilus /home/' at the prompt and my desktop wallpaper appears with icons on it, and nautilus pops up fine, there just aren't any window borders.
I wasn't doing anything special before I rebooted so I don't know what's gone wrong. I've searched thru loads of forums but can't find an answer. I'm pretty new to Linux so any help would be appreciated!
It sounds like GNOME's window manager (what's it called now? Metacity?) isn't starting up properly. You could try creating another user and logging in as them to see if that login works and it's something specific in your settings that is causing the problem. You could also try changing your session to the failsafe GNOME session and see if that comes up properly. You could even try installing another desktop environment like KDE, XFce, or a simple window manager and see if it comes up properly when you switch to it for a session.
I can't get into Gnome failsafe mode either - this returns after 10secs to the login screen as well.
I tried installing KDE with apt-get install kde-desktop but it wouldn't install properly, there seemed to be broken links in the repositories.
If I login to a terminal and type 'startx' i get an error message after about 10secs saying 'Timeout in locking authority file /home/paul/.serverauth11565' - is this of any relevance?
I've tried the 'xauth -b ' suggestion - this completes OK but doesn't solve the problem!
I still can't use the command 'startx' from the terminal, but I can type 'metacity' and this gives me borders around the windows - looks almost like a normal Gnome session! But I still can't log on normally from the login screen.
I have the same problem. I tried making another user. Logged in perfectly fine. I tried the "xauth -b" and it said something like "timeout in locking authority file /home/generallee5686/.Xauthority"
Any other suggestions to repair my user account?
Woops forgot sudo before "xauth -b". Worked fine, but did not fix the problem
Last edited by generallee5686; 10-20-2005 at 01:43 PM.
I'm sorry. I didn't realize that you were in X the entire time. That's why you can't get any results with 'startx' -- because X is already running (which is why the authority file is locked; it's supposed to be when X is running). You're just in a terminal session in X with no window manager and no real environment rather than being at the console, which is where you would type 'startx' from.
This is sounding more and more like a problem with just GNOME, which is why you wouldn't see any errors in the Xorg log. I've heard stories of GNOME being funny this way at times, although I've never encountered this problem myself.
One possibility: Did this start right after you set up the firewall? I've heard odd accounts of GNOME not starting if the firewall software is already running, but starting fine if the firewall is disabled until after GNOME is up and running.
Another thought: You mentioned that apt-get was giving you errors. This could be related to your problem with GNOME. It could be caused by an improper or incomplete installation of a package. You may need to correct the apt-get problems and run an 'apt-get upgrade' command, or even an 'apt-get dist-upgrade' (even though you aren't really doing a dist-upgrade) to fix it.
Finally: It could just be your GNOME settings are messed up. If this is the case, then you might be able to run
(EDIT: I haven't actually done this, so I'm not sure of the exact syntax. You may need an '=' in between the '--config-source' and the '~/.gconf' rather than a space.)
to reset your settings to the defaults. Or the more drastic step of deleting your .gconf and .gnome directories, which will be rebuilt upon a successful login to GNOME.
I ran apt-get upgrade and it completed with no errors and nothing to upgrade.
I tried gconftool-2 but that said it couldn't find my gconf file.
I then did a 'sudo rm /home/paul/.gnome' and 'sudo rm /home/paul/.gconf' and removed these directories but like the user above I still can't log in!
I managed to install KDE but when I try to log in to KDE I get an error message something like 'Cannot get write access to /home/paul/', so there's obviously something wrong with my user directory.
By the way in my /var/log/messages file there's an line appearing seemingly every time I try to log in, it's the last entry before it returns me to the login screen. It says 'GConf server is not in service, shutting down' and then the next line is 'Exiting'. Is this relevant as you said the problem probably lies with Gnome?
I finally managed to log into Gnome! I entered a console and typed 'chmod +w /home/paul' and then logged in again at the GDM. This time it logged in fine.
So presumably this means that somehow my user directory had become read only - does anyone have any ideas how this could have happened, so I can stop it happening again!
Sorry I didn't get back until now. I didn't check back until late last night, and since I didn't have an immediate answer, I thought I would look it over again this morning.
That's a new one for me. If it had occurred to me that it were a possibility, of course I would have known it would cause the problem, but I haven't seen it happen before except on a new installation with an old home directory. I'll have to add that to my list of things to check when GNOME suddenly refuses to start. I am somewhat at a loss as to what could have caused it. Please post it if you find out.
generallee5686, it must be something about your home directory or GNOME settings since you said that when you created another user it worked. If your .gconf and .gnome directories are really gone and your home directory is not read-only, then I don't know what it could be, but it must be something specific to that user.
First thing i noticed i did wrong was i did not delete the .gconf and .gnome directories (dont ask)
Second thing i noticed is when i did a "ls -l" in my home directory it showed the owner of my account being root. I did this because once i properly removed the .gonf .gnome folder, i got an error and an option to look at the log. It said i didnt have permission to make the new .gnome folder.
So i just did a chown on my home directory and everything was rebuilt and worked just fine.
Before all of this i tried to log into the 2nd account i made and it did the Exact same thing to that account also.
Does anyone have any clue why the owner of my home directories is getting changed to root?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.