Probably wrong permissions/ownerhip on
~/.ICEauthority.
Reboot into
recovery mode (it's hidden under "Advanced Options" in the GRUB menu for LM 18.x). I'm not sure if remounting filesystems read/write as described in the link above is still needed for LM 18.x. If you don't get that option in the recovery menu then just drop to root prompt. The password you'll be asked is the same you set when installing the system. From there, check permissions and ownership on your home directory and .ICEauthority. Often,
Code:
chown -R user /home/user
chmod 0644 /home/user/.ICEauthority
where
user is your username, would be enough.