You are not logged in.

#1 2011-10-24 01:41:21

rsking84
Member
Registered: 2011-05-09
Posts: 17

[solved] GDM 3.2 .ICEauthority error on login with encrypted home

After the Gnome 3.2 update, I began to get the following error preventing me from logging in via GDM:

"Cannot update .ICEauthority file /home/{user}/.ICEauthority"

This is on an up-to-date x64 system with an encrypted home directory that auto-mounts at login via ecryptfs.  Several users have reported similar problems when the permissions of the ~/.ICEauthority file get messed up, but in my case the permission were correct. After some monkeying around, I learned that if I logged in via a terminal first, then I could login with GDM properly. This led me to suspect that the auto-mount of my encrypted home directory wasn't working properly with GDM.

I finally found a solution thanks to updated instructions on the Archwiki. The GDM update created a new file /etc/pam.d/gdm-password which must have pam_ecryptfs entries added to it in order for auto-mount to work right. For the sake of keeping a clean installation, I also removed the pam_ecryptfs entries from /etc/pam.d/gdm (the old location for these entries).  Now login and auto-mount of the encrypted directory work as expected.

I had a hard time connecting the Gnome 3.2 update with ecryptfs and .ICEauthority problems, so I'm posting this in case it helps someone else.

Offline

Board footer

Powered by FluxBB