Cocould not update ICEauthority file/home/user/. ICEauthority, authority
1. After adding a user (wuwh) to linux, "cocould not update ICEauthority file/home/user/. ICEauthority" appears during logon"
2. I tried many methods on the Internet.
Example 1: sudo chown USER: USER/home/USER/. ICEauthority
Sudo chmod 644/home/USER/. ICEauthority
For example, on the logon page, press CTRL + ALT + F1 to enter the password.
Enter su to root, adduser username and set the password
Then reboot. After the restart, you will find that you have just created a user. Enter the password and then enter the user name that su has failed and the password.
Go to/home/fault user name/and delete. ICEauthorit * all files related to it, then mv/home/New User Name/. ICEauthority $ PWD
# Chown fault User name: Fault user name. ICEauthority
# Chmod 644. ICEauthority
This completes logout.
Select the faulty user and enter the password to access GNOME.
After all the operations are normal, enter the username created by userdel under the terminal to delete the user.
3. The ultimate solution
Sudo chown user-R/home/user(The problem is resolved after execution)
4. Maybe you still haven't solved the problem (set the user in the root group)
Modify the/etc/sudoers file, find the following line, and remove the comment (#).
# Allows people in group wheel to run all commands
% Wheel ALL = (ALL) ALL
Then modify the user and make it belong to the root group (wheel ),
Usermod-g root user