Are you receiving the follow message when attempting to login to Ubuntu? Follow the directions below to fix this issue.
“Users $HOME/.dmrc file is being ignored. This prevents the default session and language from being saved. File should be owned by user and have 644 permissions. Users $HOME directory must be owned by user and not writable by other users.”
If you can login and see the desktop, use this solution:
Open a terminal window (Applications > Accessories > Terminal). Enter
gksu nautilus
Enter your password and click OK. This will open a root nautilus window.
Click File System in the left navigation. On the right side, double click the Home folder. Right click the folder with the username you are having this issue with and select Properties. On the Permission tab, set as follows:
Owner
Folder access – create and delete files
File access – read and write
Group
Folder access – create and delete files
File access – read and write
Others
Folder access – access files
File access – read-only
If you cannot log in as regular, fix this error by logging into a failsafe terminal from the main login screen.
Click Options > Select Session
Select “Failsafe Terminal” and click Change Session.
Login as usual with username and password. You will receive a message about logging into a failsafe terminal. Click OK. Enter the following:
cd /home
chown -hR username username
chmod 644 username/.dmrc
exit
You will be back at the login screen. You should be able to log in now with no messages.
