Results 1 to 9 of 9

Thread: $Home/.dmrc file

  1. #1
    Join Date
    Mar 2008
    Location
    Leeds, England
    Beans
    168
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Exclamation $Home/.dmrc file

    Since upgrading to Ubuntu 8.10, I did it at the last stage of the trail version yesterday morning, when I log in I get this message:

    "User's $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. User's home directory must be owned by user and not writable by other users."

    Once I ok this it continues to be more or less fine in terms of actual performance but I would like to rectify this if anyone knows how.

    Many thanks,

    Susan

  2. #2
    Join Date
    Jun 2007
    Location
    Belgium
    Beans
    90
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: $Home/.dmrc file

    sudo chmod 644 ~/.dmrc
    and
    sudo chown YOUR_USERNAME ~/.dmrc

    Edit:

    Hmm on second thought you might need to change permissions of your whole home directory?

    Could you post the output of

    ls -l /home/

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Beans
    130

    Re: $Home/.dmrc file

    to take ownership of the file

    Code:
    sudo chown username username /home/your username/.dmrc
    to change permissions

    Code:
    sudo chmod 644 /home/your username/.dmrc

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Beans
    130

    Re: $Home/.dmrc file

    Quote Originally Posted by Pconfig View Post
    sudo chmod 644 ~/.dmrc
    and
    sudo chown YOUR_USERNAME ~/.dmrc

    Edit:

    Hmm on second thought you might need to change permissions of your whole home directory?

    Could you post the output of

    ls -l /home/
    If that's the case, this would be displayed by an additional error and would be solved by doing

    Code:
    chmod 700 /home/username/

  5. #5
    Join Date
    Jul 2007
    Location
    UK
    Beans
    17,059
    Distro
    Ubuntu Development Release

    Re: $Home/.dmrc file

    I had this last week after messing things up myself.

    These two commands need to be done in this order. No need for sudo.

    Code:
    chmod 700 /home/username/
    
    chmod 644 /home/username/.dmrc

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Beans
    130

    Re: $Home/.dmrc file

    for some reason i have to chmod 700 /home/marshal on a daily basis. Haven't figured out what's causing it.
    And indeed the 'sudo' was bad form. My apologies

  7. #7
    Join Date
    Jul 2007
    Location
    UK
    Beans
    17,059
    Distro
    Ubuntu Development Release

    Re: $Home/.dmrc file

    Quote Originally Posted by Marshal0505 View Post
    for some reason i have to chmod 700 /home/marshal on a daily basis. Haven't figured out what's causing it.
    That's odd. Have a look in /var/log/auth.log for clues.

  8. #8
    Join Date
    Mar 2008
    Location
    Leeds, England
    Beans
    168
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: $Home/.dmrc file

    Quote Originally Posted by philinux View Post
    I had this last week after messing things up myself.

    These two commands need to be done in this order. No need for sudo.

    Code:
    chmod 700 /home/username/
    
    chmod 644 /home/username/.dmrc
    Ok I have followed your instructions in the terminal it seemed to just accept them and mve to the next line, no need for my password as is sometimes needed. So for now do I assume that has resolved it?

    If it says it again after a reboot I'll get back to you thanks.

  9. #9
    Join Date
    Jul 2007
    Beans
    171
    Distro
    Ubuntu

    Re: $Home/.dmrc file

    Thanks to this thread and other messages in the forum, I was able to get rid of this error message.

    But I have a couple of follow up questions:

    Why did this error message come up in the first place? I think that it happened for me when I added an additional hard drive. I'm not absolutely certain, because I've been doing a ton of changes to different machines, and hadn't rebooted this one for a while.

    How can I find the text of the error message? I've grepped in /var/log, but it doesn't appear to be there. One of the threads had captured a picture, so I'm guessing that others are having the same kind of trouble.

    Thanks
    Mike
    Last edited by 5circles; November 6th, 2008 at 09:11 PM. Reason: Add subscription
    Bionic Beaver 18.04, moving to Jammy Jellyfish 22.04

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •