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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-26-2006, 12:14 AM
|
#1
|
|
Member
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 722
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, 12:40 AM
|
#2
|
|
Moderator
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, 05:58 AM
|
#3
|
|
Member
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 722
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, 06: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 06:15 AM.
|
|
|
|
04-26-2006, 11:48 AM
|
#5
|
|
Member
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 722
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, 12:07 AM
|
#6
|
|
Moderator
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, 05:07 AM
|
#7
|
|
Member
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 722
Original Poster
Rep:
|
My home directory have the permission:
Code:
drwxrwx--- 43 truongan users 4096 Apr 27 16:35 truongan
|
|
|
|
04-27-2006, 05:18 AM
|
#8
|
|
Member
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 722
Original Poster
Rep:
|
I change my home directory permission to 700 and it works.
Thank for your remind jschiwal
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:07 AM.
|
|
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
|
|