I just installed Ubuntu 11.04 64bits in my new computer, and I got this two messages after login:
and
I've tried to login with classic gnome, and safe mode, but got the same messages.
Any easy/fast solution to this? (if not I can use Ubuntu 10.10 for while)
My computer is an HP Pavilion, intel i3, 4GM ram.
It's a simple permissions issue. One of two things will work:
First, try the following:
sudo chown username:username .ICEauthority
sudo chmod 0644 .ICEauthority
Change
username
to your own username (so in your situation it would bewellington
).If that didn't work, you'll need to (unfortunately) start with a new
/home
directory - however, BACK UP YOUR DATA before you do that. For more on backup solutions, seeI managed to fix the issue by changing ownership and permissons on the folder itself, I used this:
This cleared the problem right away for me.
I had today the same problem, when I moved 'Home' users folders to a different partition. I solved it, not changing permissions in '.ICEauthority' file (in fact, I deleted it), but changing the owners of that folders to their users, recursively:
To do that, in login window, ALT+CTRL+F1 changes to a console. After that, ALT+CTRL+F7 returns to GUI mode. No need to reboot.
P.S.: Having 'home' in a separate partition, is a good way to prevent system crashes, and to upgrade versions. See wiki. I used it to install Ubuntu 12.10 in one notebook, and just to separate partitions in another notebook with 12.04LTS.
At the bottom of .xsessions-errors, it said permission denied to .ICEauthority (/home/$USER/.ICEauthority)
The Above fixed the problem.
The Below messed it up again for me.
Its the correct command, but when I rebooted I noticed the owner was changed to 0644 for some odd reason.
I recently had this problem.
It is a file permission problem but don't assume it is .ICEauthority only. In my case the home folder permissions had changed (how? I do not know)
Took me a while to figure it out because I never expected my home folder permissions to change.
So your home folders permissions should be 0755 or 0700 or whatever (7 must be a 7 though) and .ICEauthority should work with 0600 If you need to use 0644 something is probably wrong.
CTRL+ALT+F2 at the login window to switch to a vt command line and login there, Then type:
sudo chown username:username ~/.IceAuthority
And then type:
chmod 0600 ~/.IceAuthority
Hit ALT+F7 to get back to the graphical login window and try to login there
See this link.
Edit: Ubuntu uses Lightdm in recent releases instead of GDM.
Try adding the user with the home directory addition switch ;) useradd -m blah blah blah Start right, end right.
@daedlanth
That was right. I created a user with useradd and then passwd, I got ICEAuthority error. Then, I deleted the account, followed all the right steps, logged in and there I got the desktop without any problems!
Steps for your reference (taken from http://www.blackmoreops.com/2014/03/03/20-things-installing-kali-linux/)
i was facing the same problem and cannot login for my user. I tried theses two methods mentioned above 1- change the premissions 2- delete the iceAuthority file
but still i could not make it so i make a simple move by crating a new user
here is thread to create user link for creating user by command line
and then login with that user.Remember to use adduser as "add useradd command wont create '/home/username' directory but adduser command will"
conculsion: This trick will get you your all your data in home/olduser/
P.S Need help can we copy new iceAuthority file (/.ICEauthority) from /home/newuser to home/olduser to access previous account