Friday, August 19, 2011

Could not update ICEauthority - error fix

Could not update ICEauthority - fix error

A long time, going with this error that appears when the system starts(Ubuntu 10.10 at the moment).

What is ICEauthority? - It is a file that coordinates some basic security and function permissions. It can be damaged to a point where it is impossible to log on normally.

Why/How the problem/error occur? - A lot of places I've seen a software instructions, which include its launch as root or changing file's content, getting root privileges with this command(example):
sudo gedit
In the most cases this is not a problem, but that's why our error(Could not update ICEauthority) occur. In some applications starting with this command run them with root privileges, but uses config file of the current user, which we using our system.

How to avoid the error?? - Now I'll give you few examples, that will show you how to run / no run graphical applications with root privileges:

Wrong:
sudo gedit /etc/apt/sources.list
Correct:
gksudo gedit /etc/apt/sources.list
And when it comes to editing files that require root privileges, you can always use:
sudo nano /etc/apt/sources.list
Witout graphical interface, just with CLI(Command-line interface).

How to hide/fix the error, If you already are allowed to occur? - Open terminal and write the following:
sudo chown $user:$user /home/$user/.ICEauthority

sudo chmod 644 /home/$user/.ICEauthority
Where $user is your user which use with the system.
The next time the error should be gone. :)

No comments:

Post a Comment