I recently completed a fresh install of Linux Mint 18.3 and went and made a huge mistke by changing the permissions on my Home directory which has lead to the following login error: Could not update .ICEauthority file/home/USERNAME/.ICEauthority. and am forced to logout.
I have tried to fix the issue by following dated (the only ones that I could find) instructions : https://forums.linuxmint.com/viewtopic.php?t=115076 and https://askubuntu.com/questions/55568/could-not-update-iceauthority-file-after-login-independent-of-gnome as well as https://ubuntuforums.org/showthread.php?t=1841457 without any success.
When running the following commands as Root in Recovery Mode : chown username:groupname /home/username/.ICEauthority & chmod 0600 /home/username/.ICEauthority I receive an error message advising that there is "no such file or directory as .ICEauthority"
When running the alternative command offered : sudo chown username:groupname /home , I receive a message advising that the permissions have been changed to a read only filesystem. I then log out of root and login in as normal only to find the same error message waiting for me: Could not update .ICEauthority file/home/USERNAME/.ICEauthority. accompanied by a request to logout.
I used a LIve Linux Mint CD to look at the files and could see that the ownership has been changed to Root for the Home folder and tried the following command whilst in Recovery mode and Root shell : sudo chown -R user:user /home/user. This did something, I noticed that a lot of changes were being displayed and that there were no error messages about no such file etc. When attempting to log in as normal I am again greeted with the error message and asked to logout out.
I have made numerous attempts to resolve the issue, even trying to enable AutoLogin by modifying /etc/mdm/mdm.conf which only results in an error message advising that there is no such directory or that I have a read only file system.
Coulde someone please help as I am not able to resolve this issue by myself, cannot access my computer and do not wish to do a complete re-install that results in the loss of my files.
Edited by Agent_Orange, 27 August 2017 - 09:06 PM.