I have a ststment coming up after i log witch i don't understand. can you help

Asked by jeff

This is what shows up after login:

user's $home/.dmrc file is being ignored.thisprevents 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
rightable by others

what is wrong with this
 thasnks
jeff

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
jeff
Solved:
Last query:
Last reply:
Revision history for this message
jetbundle (mbrane) said :
#1

Dod you recently recover your home directory from a backup or something like that? As the message says your permissions must be crewed up.
What's your output of the command "ls -l .dmrc" ? It should be something like:

-rw------- 1 [your user name] [your user name] [some other stuff] .dmrc

The important thing are the permissions and the ownership, i.e. the -rw---------- and your user name afterwards. If not you need to change premissions accordingly (use the chmod command).
Also, what are the permissions to your home directory?
"ls -l ~/" shoud display as a first line something like

drwxr-xr-x [some number] [your user name] [your user name] [some other stuff] ./

if not, something must have gone wrong and you should set your permissions appropriately

Revision history for this message
jeff (morrowjeff) said :
#2

what should my permissions be?because i don't understand what you are trying to tell me,I m new to ubuntu so i need it to be easer to understand
by the way I have a hand in front of my jeff folder which was never there before. the jeff folder is me the owner of the comp.
thanks
jeff

Revision history for this message
Wim (launchpad-xs4all) said :
#3

Jeff,

open a terminal window (menu <Applications>,... <Accesoires>,... <Terminal>...)

in that screen, enter these commands (sometimes YOUR password will be asked), replace the text "MyName" by your login-name !!!

   cd ~

   sudo chown MyName . .dmrc

   sudo chmod 644 .dmrc

Now after doing this, give the commands

   ls -ail . | head
   ls -ail .dmrc

the file called . and the file .dmrc must be owned by yourself (your name on the line)

After doing this, close the terminal by typing the command

   exit

Reboot and check if the error is gone.

Revision history for this message
jeff (morrowjeff) said :
#4

Menting

thank you for the respones .i did everything you said and the error is still there.
just wondering if it because i deleted a person from usage of my comp. and got rid of his name as a user
jeff

Revision history for this message
Wim (launchpad-xs4all) said :
#5

Jeff,

so, do i understand you correctly:
you wanted to delete an other user, but (being logged in as user "jeff") you deleted the user jeff?!?

Then you must no longer be able to log in as jeff...

Please vlarify more what exactly happened, because this will be a great clue for us...

Revision history for this message
jeff (morrowjeff) said :
#6

Menting,
this is what happened;
i had my ftriend chris as a user.then i removed him from the use account,thats when it started this error started.
so,today i added him added him back on as a user.
but will i was doing what you told me to do in the terminal i noticed that chris's pics popped up not sure if that helps you or not , hope so!
thanks agian,
JEFF

Revision history for this message
Wim (launchpad-xs4all) said :
#7

Jeff,

log in as user JEFF,
open a terminal window,
and in that window type the commands:

   cd /home/jeff

   sudo chown jeff . .dmrc

   sudo chmod 644 .dmrc

   ls -ail . | head

   ls -ail .dmrc

this must give the info that these files are owned by Jeff; what do you mean with " then chris' s pics popped up" ?
It is possible tyat the user Chris has stored some pictures in that directory...

Revision history for this message
jeff (morrowjeff) said :
#8

Hi menting,

well at the end of it all,I installed 8.10 to resolve this problem. i was wanting to upgrade to 8.10 for awhile,so this gave the
chance.i didn't have much information on my computer anyway
thank you for all your help,and yes that fixed my problem
............Jeff.............