Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Desktop Environments
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Desktop Environments
Support for your Ubuntu desktop. Including Gnome, KDE and XFCE.

 
Thread Tools Display Modes
Old August 3rd, 2005   #1
Muiske
5 Cups of Ubuntu
 
Join Date: May 2005
Beans: 42
GNome won't start!

Okay, I have the following problem.



After booting Linux, I get the normal Ubuntu login screen. I try to log in but after I've entered my username/pw it hangs for a while and then displays the login screen again. Nothing I can do seems to help. I've tried to run it in safe mode, alternative GNome sessions but everytime the problem arises.

Logging in at a shell is possible, and I can access all features of the system.

When I stop the gdm, remove .Xauthority, .ICEauthority and clean the /tmp dir the problem stilll persists.

'startx' gives this error message:

xauth: timeout in locking authority file
-> this message is displayed four times

then it starts the login screen but I still can't login to Gnome / X / whatever.






Anyone? Please?
Muiske is offline   Reply With Quote
Old August 3rd, 2005   #2
amohanty
May the Ubuntu Be With You!
 
amohanty's Avatar
 
Join Date: Jun 2005
Location: Berkeley, CA
My beans are hidden!
Hardy Heron (Ubuntu Development)
Re: GNome won't start!

Quote:
Logging in at a shell is possible,
Do you mean the recovery mode?

ALso what does:
>> ls -l ~/.XAuthority
and
>> ls -l .ICEAthority

return?

AM

Forgot:
What does
>> xauth -v
return?
amohanty is offline   Reply With Quote
Old August 4th, 2005   #3
Muiske
5 Cups of Ubuntu
 
Join Date: May 2005
Beans: 42
Re: GNome won't start!

amohanty, thanks for your reply.




Quote:
Do you mean the recovery mode?
No, I mean logging in 'text modus' after I have completely killed gdk. I get there by pressing Ctrl + Alt + F1 and commanding 'gdk stop' (with sudo).

Quote:
ALso what does:
>> ls -l ~/.XAuthority
and
>> ls -l .ICEAthority

return?

AM
I have not tried that yet, but I think it will just give blank results since I removed both files..... what does the '-l' option do?

Quote:
Forgot:
What does
>> xauth -v
return?
I will try that as soon as I am home (and have access to my Linux box) again.


Muiske
Muiske is offline   Reply With Quote
Old August 4th, 2005   #4
Muiske
5 Cups of Ubuntu
 
Join Date: May 2005
Beans: 42
Re: GNome won't start!

Quote:
Originally Posted by amohanty
What does
>> xauth -v
return?




$ xauth -v

Returns with the same error as described earlier:
xauth: timeout in locking authority file
/home/muiske01/.Xauthority


I discovered I can still login as root... I cannot, however, login using my username (muiske01).

I've tried to see what .xsession-errors says:




/etc/gdm/PreSession/Default: Registerin your session with wtmp and utmp
:running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers" -h "" -l ":0" "muiske01"
/etc/gdm/Xsession: Beginning session setup...

** (gnome-session:8266): WARNING **: Unable to read ICE authority file: /home/muiske01/.ICEauthority



So that leaves me with the same problem. Basically put, something might have changed with the permission of the home directory. However, when I try to change that manually using the chmod (chome muiske01.muiske01 /home/muiske01/.X[file]) and chown commands it does not change anything.

I have, following advice of a more experienced user, deleted the .Xauthority and .ICEauthority files and cleaning the /tmp dir. It should restore the values to default, but apparently it does not work.


I'm getting quite desparate now. There must be a fairly simple solution for this!

Can anyone please help? I need to get access to my linux again!!
Muiske is offline   Reply With Quote
Old August 4th, 2005   #5
professor_chaos
Quad Shot of Ubuntu
 
professor_chaos's Avatar
 
Join Date: Apr 2005
Location: 127.0.0.1
Beans: 404
Ubuntu 9.04 Jaunty Jackalope
Re: GNome won't start!

Quote:
Originally Posted by Muiske
$ xauth -v

Returns with the same error as described earlier:
xauth: timeout in locking authority file
/home/muiske01/.Xauthority


I discovered I can still login as root... I cannot, however, login using my username (muiske01).

I've tried to see what .xsession-errors says:




/etc/gdm/PreSession/Default: Registerin your session with wtmp and utmp
:running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers" -h "" -l ":0" "muiske01"
/etc/gdm/Xsession: Beginning session setup...

** (gnome-session:8266): WARNING **: Unable to read ICE authority file: /home/muiske01/.ICEauthority



So that leaves me with the same problem. Basically put, something might have changed with the permission of the home directory. However, when I try to change that manually using the chmod (chome muiske01.muiske01 /home/muiske01/.X[file]) and chown commands it does not change anything.

I have, following advice of a more experienced user, deleted the .Xauthority and .ICEauthority files and cleaning the /tmp dir. It should restore the values to default, but apparently it does not work.


I'm getting quite desparate now. There must be a fairly simple solution for this!

Can anyone please help? I need to get access to my linux again!!
Can you change the permission/owner of .Xauthority???
__________________
Registered linux user 394273
professor_chaos is offline   Reply With Quote
Old August 5th, 2005   #6
Muiske
5 Cups of Ubuntu
 
Join Date: May 2005
Beans: 42
Re: GNome won't start!

Quote:
Originally Posted by professor_chaos
Can you change the permission/owner of .Xauthority???

I tried with chmod muiske01.muiske01 /home/muiske01/.Xauthority


Should I do something else? And if so, could you give me the commands? I want to change the permission (or ownership) of these files to 'muiske01' which is my user account. That should fix it....
Muiske is offline   Reply With Quote
Old August 5th, 2005   #7
professor_chaos
Quad Shot of Ubuntu
 
professor_chaos's Avatar
 
Join Date: Apr 2005
Location: 127.0.0.1
Beans: 404
Ubuntu 9.04 Jaunty Jackalope
Re: GNome won't start!

You didn't mention this so....

Try
Code:
ls -la /home/muiske01/.Xauthority
this will give you info on the ownership and privilages of that file.

if the owner listed is not you (maybe root), then

Code:
sudo chown muiske01 /home/muiske01/.Xauthority
then just to make sure privilages are wide open...

Code:
chmod 777 /home/muiske01/.Xauthority
__________________
Registered linux user 394273
professor_chaos is offline   Reply With Quote
Old August 5th, 2005   #8
amohanty
May the Ubuntu Be With You!
 
amohanty's Avatar
 
Join Date: Jun 2005
Location: Berkeley, CA
My beans are hidden!
Hardy Heron (Ubuntu Development)
Re: GNome won't start!

Quote:
what does the '-l' option do?
That provides the file listing in long format ie tells you who own it and what rights its has.

Basically what has happened is that now root owns the .XAuthority fie in your account!!! So you as the user cannot login.

If you follow prof..chaor' suggestions it will revert the ownership and rights to you which will allow you to login.

AM
amohanty is offline   Reply With Quote
Old August 6th, 2005   #9
Muiske
5 Cups of Ubuntu
 
Join Date: May 2005
Beans: 42
Re: GNome won't start!

professor_chaos and amohanty, thanks a lot. I figured it out yesterday....


sudo chown muiske01 /home/muiske01/.ICEauthority



did the trick. So it was an ownership / permission issue after all.


Thanks!
Muiske is offline   Reply With Quote
Old September 8th, 2005   #10
panth0r
First Cup of Ubuntu
 
Join Date: Sep 2005
Beans: 12
Re: GNome won't start!

Thank you all so much, I was just having the same problem and it turned out hat root was the owner of .ICEauthority, and thanks to professor_chaos, I was able to get it working again... and I was seconds away from re-installing, thanks again!
panth0r is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -4. The time now is 02:42 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry