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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-26-2006, 01:14 AM
|
#1
|
Member
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728
Rep:
|
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
|
|
|
04-26-2006, 01:40 AM
|
#2
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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".
|
|
|
04-26-2006, 06:58 AM
|
#3
|
Member
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728
Original Poster
Rep:
|
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
|
|
|
04-26-2006, 07:05 AM
|
#4
|
Member
Registered: Jul 2005
Location: Portland, OR
Distribution: Debian Testing
Posts: 78
Rep:
|
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.
|
|
|
04-26-2006, 12:48 PM
|
#5
|
Member
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728
Original Poster
Rep:
|
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
|
|
|
04-27-2006, 01:07 AM
|
#6
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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?
|
|
|
04-27-2006, 06:07 AM
|
#7
|
Member
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728
Original Poster
Rep:
|
My home directory have the permission:
Code:
drwxrwx--- 43 truongan users 4096 Apr 27 16:35 truongan
|
|
|
04-27-2006, 06:18 AM
|
#8
|
Member
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728
Original Poster
Rep:
|
I change my home directory permission to 700 and it works.
Thank for your remind jschiwal
|
|
|
All times are GMT -5. The time now is 11:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|