Results 1 to 9 of 9

Thread: User's $HOME/.dmrc file is being ignored

  1. #1
    Join Date
    Sep 2007
    Beans
    53

    User's $HOME/.dmrc file is being ignored

    K, I was trying to use samba and fusesmb to employ windows shares and somewhere in the process I ruined my computer. Now, after attempting to log in, I get the error:

    "User's $HOME/.dmrc file is being ignored. This prevents the default sessin and language from being saved. File should be owne dby user and have 644 permissions. User's $HOME directory must be owned by user and not writable by other users."
    ...and my computer then restarts. I researched this a lot and realized its a common error with an apparently easy fix:

    Code:

    sudo chmod 644 /home/monkey/.dmrc
    sudo chown monkey /home/monkey/.dmrc
    sudo chmod -R 700 /home/monkey
    sudo chown -R monkey /home/monkey
    Everyone on the internet (including those on these forums) rejoices with this fix and its solves everything. I, however, have yet to see any change. Any suggestions? At one point during my struggle I found a suggestion that I create the .dmrc file. Would my 'creating' it overwrite the original one, rending the file useless and inoperable? Please help!!

  2. #2
    Join Date
    Oct 2007
    Location
    Chennai, India
    Beans
    3,804
    Distro
    Ubuntu Development Release

    Re: User's $HOME/.dmrc file is being ignored

    Quote Originally Posted by didiercool View Post
    sudo chmod 644 /home/monkey/.dmrc
    sudo chown monkey /home/monkey/.dmrc
    sudo chmod -R 700 /home/monkey
    sudo chown -R monkey /home/monkey
    Ouch! the sudo chown/chmod run on the home directory was a bad idea.

    In any case, the second command should be:
    Code:
    sudo chown monkey:monkey /home/monkey/.dmrc
    I don't know (but I suspect) that you may have broken something else by recursively chmod/chown'ing the files in your home directory. Try the above command and check
    Code:
    ls -l ~/.dmrc
    -rw-r--r-- 1 user user 28 2008-09-26 20:28 /home/user/.dmrc
    If this is what you get, try restarting X and see if everything works fine.

    And yes, just deleting the file works as well (it will be automatically recreated when you next logon, or just create a blank file)
    Cheers,PRShah
    Make your own: Ubuntu, Kubuntu, Xubuntu, Mythbuntu All-in-One Live DVD
    "I never make mistakes; I thought I did, once.. but I was wrong."

  3. #3
    Join Date
    Sep 2007
    Beans
    53

    Re: User's $HOME/.dmrc file is being ignored

    I get:
    -rwx------ 1 user user 28 etc...
    At one point I read that 700 (instead of 644, ie. -rw-r--r--) would work well, and everyone else seemed to say it worked great. K, on reboot I got the same error. No change yet.

  4. #4
    Join Date
    Oct 2007
    Location
    Chennai, India
    Beans
    3,804
    Distro
    Ubuntu Development Release

    Re: User's $HOME/.dmrc file is being ignored

    Quote Originally Posted by didiercool View Post
    on reboot I got the same error. No change yet.
    OK how about:
    Code:
    sudo chown monkey:monkey /home/monkey
    sudo chmod 755 /home/monkey
    Note: _not_ recursive.
    Cheers,PRShah
    Make your own: Ubuntu, Kubuntu, Xubuntu, Mythbuntu All-in-One Live DVD
    "I never make mistakes; I thought I did, once.. but I was wrong."

  5. #5
    Join Date
    Sep 2007
    Beans
    53

    Re: User's $HOME/.dmrc file is being ignored

    K, no change with 755 either.

    From the terminal, is there maybe some way to mount my ipod, grab all my music off of my computer (the only thing, ironically, that isn't already backed up on there) and just reformat? I know that probably seems pretty extreme, but this is beginning to feel like an extreme case!
    Last edited by didiercool; September 27th, 2008 at 04:44 AM.

  6. #6
    Join Date
    Sep 2007
    Beans
    53

    Re: User's $HOME/.dmrc file is being ignored

    Ok, I have now backed everything up on my Ipod through that terminal. Would it be wise to just reformat? Or is there still hope?

  7. #7
    Join Date
    Oct 2007
    Location
    Chennai, India
    Beans
    3,804
    Distro
    Ubuntu Development Release

    Re: User's $HOME/.dmrc file is being ignored

    Quote Originally Posted by didiercool View Post
    Ok, I have now backed everything up on my Ipod through that terminal. Would it be wise to just reformat? Or is there still hope?
    Here's one last thing you can try: Login through gnome failsafe (on the login screen, press F10 to open a menu that will allow you to select failsafe session.)

    If you're logged in successfully, Click on System-Preferences-Sessions-Session Options, then:

    a) _uncheck_ Automatically...
    b) Click the Remember currently... button

    Safe logout, and then try logging in normally again.
    Cheers,PRShah
    Make your own: Ubuntu, Kubuntu, Xubuntu, Mythbuntu All-in-One Live DVD
    "I never make mistakes; I thought I did, once.. but I was wrong."

  8. #8
    Join Date
    Sep 2008
    Location
    127.0.0.1
    Beans
    225
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: User's $HOME/.dmrc file is being ignored

    If you have wine install you may be in a lot of trouble. The .wine folder has a symbolic link to root(/). By recursively changing permissions it is possible to have changed all permissions on the machine.

  9. #9
    Join Date
    Sep 2007
    Beans
    53

    Re: User's $HOME/.dmrc file is being ignored

    Well, its too late now, I already started reformatting. I'm currently updating Hardy. I did have wine installed, so that may have added to the situation, and I had been using the gnome failsafe terminal. But there was no using Nautilus. It couldn't create the files it needed even after I set every permission to 755 (sudo chmod 755 *). Probably not a wise move in itself, but I was desperate and figured I'd need to reformat anyway so I thought I'd try it. Oh well. Thanks for the help though! I did manage to retrieve all my files with my ipod before I reformatted! Now I just have to set everything up again and I'll be back to normal.

    ~peace

Tags for this Thread

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
  •