Page 1 of 1

COuld not update ICEauthority file

Posted: Fri Oct 19, 2012 9:49 am
by popoff
after the login window pops up:
COuld not update ICEauthority file /home/spas/.ICEauthority

after this:

Your session lasted less than 10 seconds.
If you did not make yourself a session, it may mean that there is a problem in the installation or there is not enough disk space. Try to enter one of the failsafe sessions to determine how to fix the problem.

View details (file ~ /. Xsession-errors)

/ etc / mdm / Xsession: Beginning session setup
localuser: spas being added to access control list

upd. I use LMDE with Gnome3.

Re: COuld not update ICEauthority file

Posted: Fri Oct 19, 2012 11:21 am
by xenopeek
Boot from rescue mode (in the GRUB boot menu you can select that; hold shift during boot to get the GRUB boot menu to show if not shown by default). Drop to the root console. Run the following two commands (one at a time) should hopefully fix this:
chown username:groupname /home/username/.ICEauthority
chmod 0600 /home/username/.ICEauthority
Replace username and groupname with your own username and groupname (by default your username is the same as your groupname). Username is the one you log in with.

Re: COuld not update ICEauthority file

Posted: Mon Oct 22, 2012 8:55 am
by popoff
it's didn't work. May I entered wrong personal information, example groupname? how i can find it?

<Solved> Could not update ICEauthority file

Posted: Tue Nov 13, 2012 1:19 am
by timber
I realize this is an older post but I just experienced a similar problem with not being able to logon and the message "could not update .ICEauthority file".
Of course, my immediate response was panic ... :shock:

Background:
Using LMDE latest updates (UP5).
/ and /home are on separate partitions.
Problem arose when I installed a version of Puppy Linux on a different partition.

I'm not sure why or how it happened but immediately following the Puppy install I got the dreaded "could not update .ICEauthority file" message.
I wasn't able to fix the problem from the LiveDVD but was able to fix it from the LMDE logon by going to the console there (as another user here suggests).
In this case the problem was not with the .ICEauthority permissions (even though it appeared that way from the message) but (as noted below) with the "/home" folder permissions.

I got to the console (from logon screen) via Ctrl + Alt +F1 ... (Ctrl +Alt = F7 to return to logon after the fix)
I noticed that I could not change to the /home/username folder or even to the /home folder so assumed that permissions were some how corrupted there.

The Fix:

Code: Select all

sudo chown username:groupname /home
(In my case the username and groupname are the same).

Worked like a charm ... hope this offers others with another possible solution for this problem, should it ever arise. :D

Re: <Solved> Could not update ICEauthority file

Posted: Sat Feb 16, 2013 7:16 pm
by jhehe
timber wrote:I realize this is an older post but I just experienced a similar problem with not being able to logon and the message "could not update .ICEauthority file".
Of course, my immediate response was panic ... :shock:

Background:
Using LMDE latest updates (UP5).
/ and /home are on separate partitions.
Problem arose when I installed a version of Puppy Linux on a different partition.

I'm not sure why or how it happened but immediately following the Puppy install I got the dreaded "could not update .ICEauthority file" message.
I wasn't able to fix the problem from the LiveDVD but was able to fix it from the LMDE logon by going to the console there (as another user here suggests).
In this case the problem was not with the .ICEauthority permissions (even though it appeared that way from the message) but (as noted below) with the "/home" folder permissions.

I got to the console (from logon screen) via Ctrl + Alt +F1 ... (Ctrl +Alt = F7 to return to logon after the fix)
I noticed that I could not change to the /home/username folder or even to the /home folder so assumed that permissions were some how corrupted there.

The Fix:

Code: Select all

sudo chown username:groupname /home
(In my case the username and groupname are the same).

Worked like a charm ... hope this offers others with another possible solution for this problem, should it ever arise. :D
Hi,

any chance you can tel me how i can find out my groupname? this is my first time installing so don't know much about linux and i am running into the same problem.

Re: COuld not update ICEauthority file

Posted: Sun Feb 17, 2013 4:23 am
by xenopeek
Usually your groupname is the same as your username. Following command will display your groupname:

Code: Select all

id -gn

Re: COuld not update ICEauthority file

Posted: Sun Feb 17, 2013 6:51 pm
by jhehe
thanks, turned out it is the same and no modified. had me worried for a second that it was the generated computer ID during setup.

Re: COuld not update ICEauthority file

Posted: Sat Jun 08, 2013 1:33 am
by galaxies
had the same exact issue & read this thread. all i needed to do was disable automatic login through 'sudo mdmsetup' , there was a checkbox which just needed to be unchecked. iceauthority error went away , thanks!!

error Could not update ICEauthority file

Posted: Tue Jul 09, 2013 5:28 am
by lawrencemaria
galaxies wrote:had the same exact issue & read this thread. all i needed to do was disable automatic login through 'sudo mdmsetup' , there was a checkbox which just needed to be unchecked. iceauthority error went away , thanks!!
Same here! It seems to be Linux Mint 15 bug to do with "enable Automatic Login" option.
When I disenable auto-login there isn't "ICEauthority file" error!! Enable auto-login and immediately the error "Could not update ICEauthority fiel" banner comes up on boot up. Click okay, click manually the username and enter the password -the login then is normal.
But then, having to wait each time to enter the password and then wait for the system to load up is a real pain!
Hope there is some cure -real soon! Till then let us disenable auto-login or revert to linuxmint 14!

Re: COuld not update ICEauthority file

Posted: Thu Jul 11, 2013 2:30 pm
by eraserheah34
xenopeek wrote:Boot from rescue mode (in the GRUB boot menu you can select that; hold shift during boot to get the GRUB boot menu to show if not shown by default). Drop to the root console. Run the following two commands (one at a time) should hopefully fix this:
chown username:groupname /home/username/.ICEauthority
chmod 0600 /home/username/.ICEauthority
Replace username and groupname with your own username and groupname (by default your username is the same as your groupname). Username is the one you log in with.
when I try to use the code in my root shell it claims the file directory does not exist??? Any way to get around that or am I doing something incorrectly?

Re: COuld not update ICEauthority file

Posted: Thu Jul 11, 2013 3:22 pm
by xenopeek
IDK, have you looked? The list of directories in /home you can check with the command:

Code: Select all

ls /home

Re: COuld not update ICEauthority file

Posted: Sat Jul 13, 2013 2:19 pm
by eraserheah34
Yeah, the response is "eric" which is the username but thats the only thing listed

Re: COuld not update ICEauthority file

Posted: Sun Jul 14, 2013 4:05 am
by xenopeek
Right, so then running the commands as below with your username inserted should not complain about the directory not existing:

Code: Select all

chown eric:eric /home/eric/.ICEauthority
chmod 0600 /home/eric/.ICEauthority

Re: COuld not update ICEauthority file

Posted: Mon Oct 14, 2013 5:06 am
by fat_cat
The only thing I've done is I also enabled autologin. Now I cant get system working, after "ICEauthority" message there is one more, "The path for the directory containing caja settings need read and write permissions: /home/USER/.config/caja". After that, it gets stuck with linuxmint wallpaper and only keys that work are Ctrl-Alt-Del and Ctrl-Alt-Backspace. So I simply cannot undo this setting, because I cannot login into system. How to disable autologin from the command line?

chown command results in "does not exist" as well.

Re: COuld not update ICEauthority file

Posted: Sun Nov 09, 2014 11:01 am
by mba
I was able to solve this by doing the following:

type ctrl alt F1
login with user password
enter: "ecryptfs-mount-private"
enter: passphrase (this is the passphrase I use for encryption)
type ctrl alt F7
login with user password