COuld not update ICEauthority file

Archived topics about LMDE 1 and LMDE 2
Locked
popoff

COuld not update ICEauthority file

Post 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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29505
Joined: Wed Jul 06, 2011 3:58 am

Re: COuld not update ICEauthority file

Post 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.
Image
popoff

Re: COuld not update ICEauthority file

Post by popoff »

it's didn't work. May I entered wrong personal information, example groupname? how i can find it?
timber

<Solved> Could not update ICEauthority file

Post 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
jhehe

Re: <Solved> Could not update ICEauthority file

Post 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.
User avatar
xenopeek
Level 25
Level 25
Posts: 29505
Joined: Wed Jul 06, 2011 3:58 am

Re: COuld not update ICEauthority file

Post by xenopeek »

Usually your groupname is the same as your username. Following command will display your groupname:

Code: Select all

id -gn
Image
jhehe

Re: COuld not update ICEauthority file

Post 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.
galaxies

Re: COuld not update ICEauthority file

Post 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!!
lawrencemaria

error Could not update ICEauthority file

Post 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!
eraserheah34

Re: COuld not update ICEauthority file

Post 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?
User avatar
xenopeek
Level 25
Level 25
Posts: 29505
Joined: Wed Jul 06, 2011 3:58 am

Re: COuld not update ICEauthority file

Post by xenopeek »

IDK, have you looked? The list of directories in /home you can check with the command:

Code: Select all

ls /home
Image
eraserheah34

Re: COuld not update ICEauthority file

Post by eraserheah34 »

Yeah, the response is "eric" which is the username but thats the only thing listed
User avatar
xenopeek
Level 25
Level 25
Posts: 29505
Joined: Wed Jul 06, 2011 3:58 am

Re: COuld not update ICEauthority file

Post 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
Image
fat_cat

Re: COuld not update ICEauthority file

Post 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.
mba

Re: COuld not update ICEauthority file

Post 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
Locked

Return to “LMDE Archive”