LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-26-2006, 01:14 AM   #1
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
GDM complain about my .dmrc file although there is no problem with this file.


Everytime I login with my own accounts, GDM say that:
"Your $Home/.dmrc file has incorrect permission. This prevent previous sessions and language from being load. The file should be owned by the user and have 644 permission"

I have checked that file thoroughly.
I is owned by me, it has 644 permission.
Its contain is
Code:
[Desktop]
Session=gnome
Root account work fine. I don't understand, what 's wrong with it
 
Old 04-26-2006, 01:40 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
I suspect that the error message is itself in error, and the permissions should be either 640 or 600. Try: "chmod 640 .gmrc" if your group is the same as your username, or "chmod 600 .gmrc" if your default group is "users".
 
Old 04-26-2006, 06:58 AM   #3
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Original Poster
Rep: Reputation: 33
Neither 644 nor 640 nor 600 work.
And by the way, the /root/.dmrc has 644 permission and it work. Mine doesn't work anyway
 
Old 04-26-2006, 07:05 AM   #4
NomadX
Member
 
Registered: Jul 2005
Location: Portland, OR
Distribution: Debian Testing
Posts: 78

Rep: Reputation: 15
In my /home/doc folder: (my regular user)

drwxr-xr-x 39 doc doc 4096 2006-04-26 03:55 .
-rw------- 1 doc doc 26 2006-04-10 07:50 .dmrc

your 'power' user often has its own group, and wont need to be a member of 'users'... usualy root will want to load gdm (in an init script) thus not allowing the regular users to kill it (this is the point of graphical login) .. you can always later kill it using sudo killall gdm , or by stopping the script (i.e. # sudo /etc/init.d/gdm stop or simply gdm stop). I dont do this since I dont require a graphical login (whats wrong with startx at the prompt?)

good luck
DrS

Last edited by NomadX; 04-26-2006 at 07:15 AM.
 
Old 04-26-2006, 12:48 PM   #5
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Original Poster
Rep: Reputation: 33
I still refuse to work guys.
I have changed the .dmrc file many three times, here is it:
Code:
-rw------- 1 truongan users 24 Apr 26 22:52 .dmrc
-rw-r----- 1 truongan users 24 Apr 26 22:52 .dmrc
-rw-r--r-- 1 truongan users 24 Apr 26 22:52 .dmrc
None of them work, the annoying popup dialog box still appear each time I enter the username and password. Though I can login after press enter at that dialog box but it is really annoyed
 
Old 04-27-2006, 01:07 AM   #6
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
There is a PAM_HOMECHECK module that checks whether your home directory or certain dot files are world writable.
Could you check the permissions of your home directory itself?
 
Old 04-27-2006, 06:07 AM   #7
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Original Poster
Rep: Reputation: 33
My home directory have the permission:
Code:
drwxrwx---  43 truongan users 4096 Apr 27 16:35 truongan
 
Old 04-27-2006, 06:18 AM   #8
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Original Poster
Rep: Reputation: 33
I change my home directory permission to 700 and it works.
Thank for your remind jschiwal
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
gdm conf file jmarsh Linux - Networking 3 06-17-2008 12:35 AM
strange error from the .dmrc-file supersucker Linux - General 2 04-06-2006 09:03 PM
could not access GDM configuration file error buchalkalan Linux - Software 1 10-08-2005 05:22 AM
GDM could not write authorisation file distantlyyours Slackware 3 02-25-2004 07:27 AM
GDM could not write to your authorisation file... rahaydenuk Linux - General 1 01-25-2004 10:46 AM


All times are GMT -5. The time now is 07:11 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration