Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12th February 2007, 11:02 AM
chejose Offline
Registered User
 
Join Date: Dec 2006
Location: Villa Nueva, Argentina
Posts: 183
$HOME/.dmrc file

The last couple of days, when I start up, a good ways into the "boot' session, the following message comes up:

"Users $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 directory must be owned by user and not writable by other users."

It then waits for an "OK" before continuing.

I sure don't remember touching anything that should affect that, so have no idea what the problem is nor how to correct it.
So I turn to you folk again.
Thanks.
Reply With Quote
  #2  
Old 12th February 2007, 05:15 PM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Hello:
This error is a result of the permissions/ownership being changed on the /home and or /home/username
directories.
If you are careful and follow the instructions as output from the error message you should be able to correct this.

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #3  
Old 12th February 2007, 07:18 PM
chejose Offline
Registered User
 
Join Date: Dec 2006
Location: Villa Nueva, Argentina
Posts: 183
Hello again Seve:
Well, if that error message also gives the instructions as to how to correct it, I am afraid that I am lost. I have never run into the matter of permissions before, so don't know how to change them. It is fairly obvious in Windows, but here I am wandering in a different jungle!
José
Reply With Quote
  #4  
Old 12th February 2007, 07:23 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
try adding a new user and see if it has the same issue

su -
adduser test

logout and into the new account
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #5  
Old 12th February 2007, 07:38 PM
chejose Offline
Registered User
 
Join Date: Dec 2006
Location: Villa Nueva, Argentina
Posts: 183
Good afternoon Leigh!
Well, I tried it, but my version says that there is no such command as "adduser".
José
Reply With Quote
  #6  
Old 12th February 2007, 07:53 PM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Quote:
Originally Posted by chejose
Hello again Seve:
Well, if that error message also gives the instructions as to how to correct it, I am afraid that I am lost. I have never run into the matter of permissions before, so don't know how to change them. It is fairly obvious in Windows, but here I am wandering in a different jungle!
José
Hello:
If you right click on the /home folder and select Properties / Permissions it will display the current status:

The /home directory should be as follows
Owner -- Root
Folder Access -- Create and delete
Group --- Root
Folder Access -- Access files
Others
Folder Access -- Access files

If you right click on the /home/username folder and select Properties / Permissions it will display the current status:

The /home/username should be as follows:
Owner -- username
Folder Access -- Create and delete
File Access --- ----
Group --- username
Folder Access -- None
File Access --- ----
Others
Folder Access -- None
File Access --- ----


Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #7  
Old 12th February 2007, 10:21 PM
chejose Offline
Registered User
 
Join Date: Dec 2006
Location: Villa Nueva, Argentina
Posts: 183
Seve - finally back to it after 27 updates and a slow-afternoon connection.

I did what you suggested (and learned something). The "Group" and "Others" were both set to Create and delete. So I put them to "None".
Reboot, but the message still comes up.
José
Reply With Quote
  #8  
Old 12th February 2007, 10:25 PM
u-noneinc-s's Avatar
u-noneinc-s Offline
Registered User
 
Join Date: Jul 2005
Location: Wine Country, California
Posts: 2,862
You can type this in a terminal
Code:
ls -l ~/.dmrc
and the result should be
Code:
-rw------- 1 mark users 22 Feb  2 16:46 /home/mark/.dmrc
(your username will vary ).
the -rw------- means that only you can read or write this file. If it says anything else, I'm sure Seve or Leigh will tell you how to correct it.

As for adduser test, you must first su - (su means superuser or root and the - means with root environment). You will be prompted for a password. enter root password then try adduser test again.
__________________
Mark N.

Perpetual Newbie
--
I wanted to proclaim myself "The Typo King" but there's way too much competion. :p

411874 Get Counted
Reply With Quote
  #9  
Old 12th February 2007, 10:35 PM
chejose Offline
Registered User
 
Join Date: Dec 2006
Location: Villa Nueva, Argentina
Posts: 183
Ouch... this is getting thick.
OK, I did the command "adduser" as root, but it still says there is no such command.
As for the other, here are the results:

[root@localhost jose]# ls -1 ~/.dmrc
ls: /root/.dmrc: No such file or directory
[root@localhost jose]# adduser test
bash: adduser: command not found

It makes me feel kind of stupid when nothing works... though I am learning that way bit by very little bit.
José
Reply With Quote
  #10  
Old 12th February 2007, 10:38 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
first command not as root

ls -l ~/.dmrc

try this to add new user

su -
useradd test
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #11  
Old 12th February 2007, 10:40 PM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Hello Jose:
Just open a terminal as user and not as root. and copy and paste what u-noneinc-s provided to you.
Then post the output

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #12  
Old 12th February 2007, 10:53 PM
chejose Offline
Registered User
 
Join Date: Dec 2006
Location: Villa Nueva, Argentina
Posts: 183
OK... first this one:

[jose@localhost ~]$ ls -l ~/.dmrc
-rw-rw-rw- 1 jose jose 26 Jan 1 09:48 /home/jose/.dmrc

As for the other, it looks like Fedora just doesn't want any new users:

[root@localhost jose]# useradd test
bash: useradd: command not found
José
Reply With Quote
  #13  
Old 12th February 2007, 11:06 PM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Hello Jose:
First open a terminal and type
chmod 600 /home/jose/.dmrc
then post the output of
ls -l ~/.dmrc

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #14  
Old 12th February 2007, 11:14 PM
Wayne
Guest
 
Posts: n/a
Quote:
Originally Posted by chejose
OK... first this one:

[jose@localhost ~]$ ls -l ~/.dmrc
-rw-rw-rw- 1 jose jose 26 Jan 1 09:48 /home/jose/.dmrc

As for the other, it looks like Fedora just doesn't want any new users:

[root@localhost jose]# useradd test
bash: useradd: command not found
José
That's because you didn't follow Leigh's instructions. Look carefully:

su -

That is su space dash

If you don't use the dash you will have to use the full path to the command, which is:

/usr/sbin/adduser

Wayne
Reply With Quote
  #15  
Old 12th February 2007, 11:41 PM
chejose Offline
Registered User
 
Join Date: Dec 2006
Location: Villa Nueva, Argentina
Posts: 183
OK, keep learning. I had no idea that a dash after su meant anything.
Anyway, here is the output from what Seve mentioned:

[jose@localhost ~]$ chmod 600 /home/jose/.dmrc
[jose@localhost ~]$ ls -l ~/.dmrc
-rw------- 1 jose jose 26 Jan 1 09:48 /home/jose/.dmrc
Reply With Quote
Reply

Tags
$home or dmrc, file

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
$HOME/.dmrc file, login error Lizard_king825 Using Fedora 11 16th July 2008 09:45 PM
$HOME/.dmrc is being ignored rbran100 Using Fedora 2 18th October 2007 10:15 PM
User's $HOME/.dmrc file is being ignored thomas_klaus Using Fedora 1 9th September 2007 01:15 AM
gdm $HOME/.dmrc when autofs $HOME interele Using Fedora 1 5th February 2007 11:04 AM
$HOME/.dmrc smithxi Using Fedora 0 26th November 2006 11:46 PM


Current GMT-time: 16:38 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat