File being ignored on start up (SOLVED)

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
HarrisCreekCentral
Level 1
Level 1
Posts: 40
Joined: Wed Mar 19, 2014 8:01 pm

File being ignored on start up (SOLVED)

Post by HarrisCreekCentral »

I am using Mint 17.3 I have been going along fine now tonight I start getting this message on start up.:

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.

The only thing I have done that may be causing the problem I have been setting up my network between two home computers. Any suggestions, and having limited computer knowledge, how do I fix it..

Thanks,
Harvey McRae
Last edited by HarrisCreekCentral on Tue Jan 12, 2016 6:26 pm, edited 1 time in total.
Harvey in
Kelowna, B.C.
www.harriscreekcentral.webs.com

Cosmo.
Level 23
Level 23
Posts: 17825
Joined: Sat Dec 06, 2014 7:34 am

Re: File being ignored on start up

Post by Cosmo. »

Are you able to log in?

Open terminal and enter:

Code: Select all

ll ~/.dmrc
Paste the output here.

altair4
Level 19
Level 19
Posts: 9909
Joined: Tue Feb 03, 2009 10:27 am

Re: File being ignored on start up

Post by altair4 »

I will admit that unlike Cosmo's rational suggestion to get the facts mine is just a flat out guess but .....
The only thing I have done that may be causing the problem I have been setting up my network between two home computers.
Are you running Mint Cinnamon? And did you share your home folder using the file manager?

When you create a share using the file manager and specify anything but read only the application as it's last step will assign the permissions of 777 to the shared folder. If you do that to your home directory it violates this part of the error message:
User's $Home directory must be owned by user and not writable by other users.
You home directory needs to be set back to 755.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

HarrisCreekCentral
Level 1
Level 1
Posts: 40
Joined: Wed Mar 19, 2014 8:01 pm

Re: File being ignored on start up

Post by HarrisCreekCentral »

Cosmo. wrote:Are you able to log in?

Open terminal and enter:

Code: Select all

ll ~/.dmrc
Paste the output here.
Here is my findings:
-rw------- 1 harvey harvey2 Jan 7 20:11/home/harvey/.dmrc
Harvey in
Kelowna, B.C.
www.harriscreekcentral.webs.com

HarrisCreekCentral
Level 1
Level 1
Posts: 40
Joined: Wed Mar 19, 2014 8:01 pm

Re: File being ignored on start up

Post by HarrisCreekCentral »

altair4 wrote:I will admit that unlike Cosmo's rational suggestion to get the facts mine is just a flat out guess but .....
The only thing I have done that may be causing the problem I have been setting up my network between two home computers.
Are you running Mint Cinnamon? YES

And did you share your home folder using the file manager? Not that I am aware of.
I installed the Samba file on both the upstairs office computer and this computer. That seemed to give me instant access to my documents and picture files that I had set up on the office computer. NOW !!! At first when I was trying to transfer some picture files, I got the message I did not have permission........I did go up to the office, select all the picture files and changed the permission to read and write (or whatever the wording for the full permission)..

When you create a share using the file manager and specify anything but read only the application as it's last step will assign the permissions of 777 to the shared folder. If you do that to your home directory it violates this part of the error message:
User's $Home directory must be owned by user and not writable by other users.
You home directory needs to be set back to 755.
This sounds like you are on the right area.......

My computer "Smarts" are not sufficient to tackle this........Can you give me step by step instructions as to how to set the "Home Directory" back to 755.

Thanks.
Harvey in
Kelowna, B.C.
www.harriscreekcentral.webs.com

Cosmo.
Level 23
Level 23
Posts: 17825
Joined: Sat Dec 06, 2014 7:34 am

Re: File being ignored on start up

Post by Cosmo. »

At first check the current permissions with

Code: Select all

ls -ld ~/.
in the terminal.

(A small additional step to get facts :wink: )

HarrisCreekCentral
Level 1
Level 1
Posts: 40
Joined: Wed Mar 19, 2014 8:01 pm

Re: File being ignored on start up

Post by HarrisCreekCentral »

Finding :

drwxrwxrwx 23 harvey harvey 4096 Jan 12 06:28 (Dark Green Highlight) /home/harvey/.
Harvey in
Kelowna, B.C.
www.harriscreekcentral.webs.com

altair4
Level 19
Level 19
Posts: 9909
Joined: Tue Feb 03, 2009 10:27 am

Re: File being ignored on start up

Post by altair4 »

Code: Select all

chmod 0755 /home/harvey
Sorry for the delay. Not sure why I entered this thread since Cosmo knows more than I do so I just went off to do something else. This thing with samba and the home directory happens so much that my intrusion was instinct.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

HarrisCreekCentral
Level 1
Level 1
Posts: 40
Joined: Wed Mar 19, 2014 8:01 pm

Re: File being ignored on start up

Post by HarrisCreekCentral »

altair4 wrote:

Code: Select all

chmod 0755 /home/harvey
Sorry for the delay. Not sure why I entered this thread since Cosmo knows more than I do so I just went off to do something else. This thing with samba and the home directory happens so much that my intrusion was instinct.

Entered chmod 0755 /home/harvey
Nothing happened
tried sudo chmod 0755 /home/harvey
then asked for password. password entered but still nothing more happens.

I have to step out for some errands, Back in 1 to 1 1/2 hrs.

Thanks
Harvey in
Kelowna, B.C.
www.harriscreekcentral.webs.com

altair4
Level 19
Level 19
Posts: 9909
Joined: Tue Feb 03, 2009 10:27 am

Re: File being ignored on start up

Post by altair4 »

Nothing will happen except to change the permissions of the folder.

Run this command again:

Code: Select all

ls -ld ~/.
It should come back with:
drwxr-xr-x 23 harvey harvey 4096 Jan 12 06:28 /home/harvey/.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

User avatar
JoeFootball
Level 8
Level 8
Posts: 2393
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: File being ignored on start up

Post by JoeFootball »

HarrisCreekCentral wrote:Nothing happened
Does this mean that the permissions didn't change? Or did you just didn't see any message returned from the shell? If the latter, it was successful. Let's find out...

Code: Select all

ls -ld ~/.
Joe

Cosmo.
Level 23
Level 23
Posts: 17825
Joined: Sat Dec 06, 2014 7:34 am

Re: File being ignored on start up

Post by Cosmo. »

... and in addition: There should indeed something "happen", namely the error message at start up (starting post) should not appear any more. But of course, this happens only, when you log off and back in. Did you do this?

BTW: no sudo needed in this case, as the folder belongs to you. Note, sometimes a sudo too much can break things instead of solving anything. Please don't misunderstand sudo as a kind of swiss universal knife. sudo is a powerful command, wrongly used the shot can go backwards.

HarrisCreekCentral
Level 1
Level 1
Posts: 40
Joined: Wed Mar 19, 2014 8:01 pm

Re: File being ignored on start up

Post by HarrisCreekCentral »

JoeFootball wrote:
HarrisCreekCentral wrote:Nothing happened
Does this mean that the permissions didn't change? Or did you just didn't see any message returned from the shell? If the latter, it was successful. Let's find out...

Code: Select all

ls -ld ~/.
Joe
The message comes back correct: drwx-xr-x 23 harvey harvey Jan 12 11:28 /home/harvey/.

Now I shut the computer down completely, re-booted but I still get the same message on start up. (User $Home being ignored etc..)

Thanks to both of you for your suggestons.
Harvey in
Kelowna, B.C.
www.harriscreekcentral.webs.com

Cosmo.
Level 23
Level 23
Posts: 17825
Joined: Sat Dec 06, 2014 7:34 am

Re: File being ignored on start up

Post by Cosmo. »

HarrisCreekCentral wrote:
Cosmo. wrote:,Open terminal and enter:

Code: Select all

ll ~/.dmrc
Paste the output here.
Here is my findings:
-rw------- 1 harvey harvey2 Jan 7 20:11/home/harvey/.dmrc
I took another look at this and found something, what I overlooked at the first time. :oops:
The group association for the file .dmrc is harvey2, not harvey (what it should be). Do you have any explanation how this can be? harvey2 does definitely sound, as if you had experimented somehow.

For (hopefully) correction do this:

Code: Select all

sudo chown :harvey ~/.dmrc
(In this case sudo is needed, although you are the owner of the file.)
Check again with

Code: Select all

ll ~/.dmrc
BTW: The output for ls -ld ~/. is now correct; this means there has something "happened".

Buzzsaw
Level 6
Level 6
Posts: 1310
Joined: Sat Aug 23, 2014 12:53 pm

Re: File being ignored on start up

Post by Buzzsaw »

Code: Select all

chmod 644 ~/.dmrc

Cosmo.
Level 23
Level 23
Posts: 17825
Joined: Sat Dec 06, 2014 7:34 am

Re: File being ignored on start up

Post by Cosmo. »

Buzzsaw wrote:

Code: Select all

chmod 644 ~/.dmrc
This is indeed, what the error message suggests. But I really wonder, why. If I look at that file, I always (all my systems) get the permissions as given in the output by HarrisCreekCentral above. And this definitely works. Maybe, that rwxr-xr-x would do it also, I did not test.

HarrisCreekCentral
Level 1
Level 1
Posts: 40
Joined: Wed Mar 19, 2014 8:01 pm

Re: File being ignored on start up

Post by HarrisCreekCentral »

Cosmo. wrote:
HarrisCreekCentral wrote:
Cosmo. wrote:,Open terminal and enter:

Code: Select all

ll ~/.dmrc
Paste the output here.
Here is my findings:
-rw------- 1 harvey harvey2 Jan 7 20:11/home/harvey/.dmrc
I took another look at this and found something, what I overlooked at the first time. :oops:
The group association for the file .dmrc is harvey2, not harvey (what it should be). Do you have any explanation how this can be? harvey2 does definitely sound, as if you had experimented somehow.

For (hopefully) correction do this:

Code: Select all

sudo chown :harvey ~/.dmrc
(In this case sudo is needed, although you are the owner of the file.)
Check again with

Code: Select all

ll ~/.dmrc
BTW: The output for ls -ld ~/. is now correct; this means there has something "happened".
This is what I get this time. -rw-rw-rw- 1 harvey harvey 2 (Date & Time) /home/harvey/.dmrc

I have no clue what I could have done to get the harvey2

Next message from Buzz Saw to try ( chmod 644 ~/.dmrc ) Should I try that.

Maybe I should just reboot from the DVD, then re-install the whole package. I have pretty well everything backed up and most my packages are in the software packages. It doen't look like there is a simple fix for this one.
Harvey in
Kelowna, B.C.
www.harriscreekcentral.webs.com

altair4
Level 19
Level 19
Posts: 9909
Joined: Tue Feb 03, 2009 10:27 am

Re: File being ignored on start up

Post by altair4 »

How in the $#@& did that file change from this:
-rw------- 1 harvey harvey2 Jan 7 20:11/home/harvey/.dmrc
To this:
This is what I get this time. -rw-rw-rw- 1 harvey harvey 2 (Date & Time) /home/harvey/.dmrc
All of my ubuntu machines regardless of DE have it set to 644 just like the error message suggests. All of the Mint machines have it set to 600. I don't know if it matters but my vote is to go with the mint way first:

Code: Select all

chmod 600 ~/.dmrc 
If you get the same error message after a reboot do what the error message and Buzzsaw say:

Code: Select all

chmod 644 ~/.dmrc 
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

HarrisCreekCentral
Level 1
Level 1
Posts: 40
Joined: Wed Mar 19, 2014 8:01 pm

Re: File being ignored on start up

Post by HarrisCreekCentral »

altair4 wrote:How in the $#@& did that file change from this:
-rw------- 1 harvey harvey2 Jan 7 20:11/home/harvey/.dmrc
To this:
This is what I get this time. -rw-rw-rw- 1 harvey harvey 2 (Date & Time) /home/harvey/.dmrc
All of my ubuntu machines regardless of DE have it set to 644 just like the error message suggests. All of the Mint machines have it set to 600. I don't know if it matters but my vote is to go with the mint way first:

Code: Select all

chmod 600 ~/.dmrc 
If you get the same error message after a reboot do what the error message and Buzzsaw say:

Code: Select all

chmod 644 ~/.dmrc 
Now things are happening !!! Using this

Code: Select all

chmod 600 ~/.dmrc 
and the check up code I came back to this original
-rw------- 1 harvey harvey2 Jan 7 20:11/home/harvey/.dmrc (Note: The Jan 7th date) That would have been about the day I upgraded to the Mint 17.1...................Shut down completely ---- restarted and this time I have no error message.. Throughout all this my home screen has changed from the Linux Mint green to the solid BLACK screen.. I think I know where I am going to re-establish the old home format.

I do want to express my grattitude to you folks for spending such time with me.. I am a 78 year old blind in one eye, deaf -partially- in two ears, and self taught in whatever computer skills that I can take credit for. So for me to accomplish this in itself is a miracle and I do Thank You for having such patience with me..

I'll go work on getting my screen back, and will report back on that in a little while.
Harvey in
Kelowna, B.C.
www.harriscreekcentral.webs.com

HarrisCreekCentral
Level 1
Level 1
Posts: 40
Joined: Wed Mar 19, 2014 8:01 pm

Re: File being ignored on start up (SOLVED)

Post by HarrisCreekCentral »

Thanks again Folks. Have my screen back to normal colors. Menu square still need work but I will work on getting that back. Right now it is a dull greyish background.

Thank You, Thank You for all the help.
Harvey in
Kelowna, B.C.
www.harriscreekcentral.webs.com

Post Reply

Return to “Newbie Questions”