LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-28-2006, 10:15 AM   #1
georgecrisp
LQ Newbie
 
Registered: Jan 2006
Location: perth aus
Distribution: Ubuntu 5.04
Posts: 5

Rep: Reputation: 0
Can't log in, "User's $HOME/.dmrc file is being ignored...."


I have installed Ubuntu 6.06 about 1 month ago. I have been following the linux reality podcast. ... following episode 26.. Trying to network with Windows. I then tried to share the home/"user"/desktop folder . And it did become browseable on my widows network. There was no obvious problem at the time, until I tried to log back in - clearly I have done something rather wrong.
The error message occurs after entering the password and reads:
"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. Users $HoME/.drmc file must be owned by user and not writable to others"
I am able to log in in the "failsafe Terminal" option but do not know how to rectify the problem . I have been able to change the smb.conf file desktop entry back to "non writeable" using gedit. Do I need to change the permissions on the $HOME/.dmrc file Appreciate any help.

Last edited by georgecrisp; 08-28-2006 at 10:19 AM.
 
Old 08-29-2006, 12:18 PM   #2
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
Don't know how the file got messed with, I have my whole $HOME dir shared over samba and have no problems with it. Anyway here is my .drmc
Code:
user@host:~$ ls -l .dmrc
-rw------- 1 user user 26 2006-07-23 18:45 .dmrc
user@host:~$ cat .dmrc
[Desktop]
Session=default
Try setting it to those permissions and content, you can backup the file first if you wish.
 
Old 08-29-2006, 03:07 PM   #3
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
I had the same error after having moved my home folder. The permissions were in place, and the .dmrc file's contents were OK.

As a solution (in my case), I re-created /home/robert/.dmrc and from that time, when logging in, /media/hde1/home/robert/.dmrc (in my actual home folder) would be used, exclusively.
 
Old 08-30-2006, 07:36 AM   #4
georgecrisp
LQ Newbie
 
Registered: Jan 2006
Location: perth aus
Distribution: Ubuntu 5.04
Posts: 5

Original Poster
Rep: Reputation: 0
Thankyou for your repi=lies so far - much appreciated

I have opened the file $HOME/.dmrc
and it only reads:
[Desktop]
Session=default

I added the text exactly as per the reply above ( do I need to change the "user" to my user name ? or the date ? )
But same error occurs.
When I try to login the error message reads in "view details" (~/.xsession-error file ):

WARNING** Unable to create ~/.gnome2 directory: Permission denied
Could not create per-user gnome configuation directory 'home/george/.gnome2/':Permission denied

I can still log in using Failsafe Terminal - I noticed the first line reads
:bash /home/george/.bashrc: Permission denied

Have I got a more widespread permission problem ?

Last edited by georgecrisp; 08-30-2006 at 07:39 AM.
 
Old 08-30-2006, 07:49 AM   #5
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
you may want to check the permissions on the directory /home/george/ (ls -ld /home/george/)
and make sure the the owner and group are set to yours.
 
Old 08-30-2006, 07:59 AM   #6
georgecrisp
LQ Newbie
 
Registered: Jan 2006
Location: perth aus
Distribution: Ubuntu 5.04
Posts: 5

Original Poster
Rep: Reputation: 0
I checked and it reads
drw-r--r-- 32 george george 4096 <date,time> /home/george

I assume that is correct
 
Old 08-30-2006, 08:35 AM   #7
georgecrisp
LQ Newbie
 
Registered: Jan 2006
Location: perth aus
Distribution: Ubuntu 5.04
Posts: 5

Original Poster
Rep: Reputation: 0
Result! I changed the permissions of the home/george folder to 755 and I can now log on, I must have changed it to 644 rather than just changing the .dmrc file
thanks for the help
 
Old 08-21-2007, 09:52 PM   #8
nimrod661219
LQ Newbie
 
Registered: Aug 2007
Posts: 1

Rep: Reputation: 0
Need Your Help

I just read your Soution to your problem. I renamed my administrator account and changed the default home dir. now i cannot log in as the home dir doesn't exist. Nevertheless, I really a newbie, and I'll apreciate if you could send the steps you did on the Failsafe Terminal.

Regards...


Quote:
Originally Posted by georgecrisp View Post
Result! I changed the permissions of the home/george folder to 755 and I can now log on, I must have changed it to 644 rather than just changing the .dmrc file
thanks for the help
 
Old 08-30-2007, 11:55 AM   #9
setlec_seta
Member
 
Registered: Oct 2003
Location: somewhere around the world
Distribution: Mandriva 2010.1 pwp 64bit
Posts: 199

Rep: Reputation: 31
i got the same problem but when i tiped the ls -l thing that's is what i got:

Code:
setlec@ruthlessearth:~$ ls -l .dmrc
ls: .dmrc: No such file or directory
setlec@ruthlessearth:~$
lol and cheers
 
Old 02-06-2008, 03:35 PM   #10
robert.forster
LQ Newbie
 
Registered: Oct 2007
Location: Newport News, VA
Distribution: Solaris, Redhat, FC5.6.7.8
Posts: 11

Rep: Reputation: 2
How much of a difference would it make when you use LDAP with exported home directories and receive this error message?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New SQUID user: How to clear the "access.log" and "store.log" automatically? yuzuohong Linux - Networking 2 12-02-2006 05:37 AM
Huge log file grow since "yum update" on 29 April cubensys Fedora 1 05-21-2006 06:34 AM
Is "~/" assumed to be a user's home directory ColKurtz Linux - Newbie 3 01-25-2005 09:49 PM
What does "SFW2-INext-DROP-DEFLT" in my messages log file mean? TrulyTessa Linux - Networking 11 12-22-2004 09:28 AM
Does anyone know the origin of using "~" to represent the user's home directory? GonzoJohn General 6 10-14-2003 03:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:50 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