29 October 2008

$HOME/.dmrc file Login Error

I logged in to my Ubuntu machine this morning and for some unknown reason, I was greeted with a $HOME/.dmrc file login error.

I fixed the problem with the following steps. Remember to replace username with your username.

1. Open a terminal window and issue the command, sudo chmod 644 /home/username/.dmrc to change the permissions of the .dmrc file.

2. Type sudo chown username /home/username/.dmrc and hit enter to change the owner of the file to you.

3. Entering sudo chmod 700 /home/username will set permissions on the home directory so that it is only accessible to you.

Problem solved. :-)

No comments: