LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-05-2007, 12:26 AM   #1
freezykid
LQ Newbie
 
Registered: Oct 2007
Posts: 8

Rep: Reputation: 0
Unhappy “User’s $HOME/.dmrc” file is being ignored.


hey this is the first time i am posting here,

I got the following problem after upgrading my rhel from 4 to 5,at the login...

“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 permission. User $HOME directory must be owned by user and not writable by other users

i tried finding solution, one suggested to run the following on ComLine,

chmod 644 ~/.dmrc
>>> but got following msg when tried it...
chmod: cannot access `/home/<user_name>/.dmrc': No such file or directory

to no surprises i got no '.dmrc' file in my home directory...

Please help...
 
Old 10-05-2007, 01:22 AM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Have you tried creating the file?
Code:
touch ~/.dmrc && chmod -c 0644 ~/.dmrc
It's odd that it hasn't created it for you. What are the permissions on your home directory?
 
Old 10-05-2007, 02:07 AM   #3
freezykid
LQ Newbie
 
Registered: Oct 2007
Posts: 8

Original Poster
Rep: Reputation: 0
drwxrwxrwx

the code did create the .dmrc file, but how does it help in solving the problem...
 
Old 10-05-2007, 02:42 AM   #4
freezykid
LQ Newbie
 
Registered: Oct 2007
Posts: 8

Original Poster
Rep: Reputation: 0
I solved the problem by running the follwing...

>>>as root
chown <myusername> /home/<myusername>
>>>as <myusername>
chmod 700 /home/<myusername>

the msg is not coming anymore at the login...

Thanks for your reply, time and support...
Will get back in case of any other problem...

Last edited by freezykid; 10-05-2007 at 02:44 AM. Reason: identifying commands in post...
 
Old 05-12-2009, 08:35 PM   #5
reffu
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
Thanks that really savd me from having to reinstall ubuntu.
 
Old 05-23-2009, 11:15 AM   #6
jamwaffles
Member
 
Registered: Mar 2008
Distribution: Ubuntu Lucid
Posts: 131

Rep: Reputation: 19
Quote:
Originally Posted by reffu View Post
Thanks that really savd me from having to reinstall ubuntu.
Same lol. i was having the same problems and now i think its fixed. One more to LQ.org. a truly brilliant forum

regards
 
Old 07-09-2013, 01:55 PM   #7
bedo
LQ Newbie
 
Registered: Jul 2013
Distribution: Ubuntu 12.04 with Cinamon
Posts: 1

Rep: Reputation: Disabled
Thumbs up

thx guys, you saved my day
 
Old 07-16-2014, 03:52 AM   #8
hamdiozdemir
LQ Newbie
 
Registered: Jul 2014
Posts: 1

Rep: Reputation: Disabled
User’s $HOME/.dmrc” file is being ignored.

Hello there,

I had the same error.
My scenerio;
I have two user
1-)root
2-)oracle

When i log in with root username,i have this error.
But when i log in with oracle username,everything works fine.

After having problem i googled it and i wrote from terminal as recommended in here;
https://help.ubuntu.com/community/dmrcErrors


In my case;

--I logged in with root username and did write following commands in terminal

chown oracleracle /home/oracle/.dmrc
chmod 644 /home/username/.dmrc
chown oracleracle /home/oracle
chmod 755 /home/oracle



--I do not know if any wrong step i took while writing these commands from

--On the other hand when i try to find /.dmrc file i could not find it out.


---There is a file named oracle in my home path. I checked sub-folders. How can i exactly where it is?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't log in, "User's $HOME/.dmrc file is being ignored...." georgecrisp Ubuntu 9 02-06-2008 03:35 PM
user's $HOME/.dmrc file being ignored controlchannel Ubuntu 1 09-07-2007 07:54 AM
.dmrc file being ignored appin69 Linux - Software 6 05-09-2007 04:47 AM
.dmrc file being ignored, should be owned by user and certain permissions.. how do i? mitchell7man Ubuntu 8 04-25-2007 10:31 AM
GDM complain about my .dmrc file although there is no problem with this file. TruongAn Linux - Software 7 04-27-2006 05:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration