Dapper - $HOME/.dmrc ignored

Bug #33130 reported by Melissa Draper
12
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs
nautilus (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Dapper with Gnome, KDE and XFCE installed.

When trying to log in, I get the error:

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 above conditions are currently true on the system (file is 644 and user owns their $HOME) when evaluating the files via command line with the xfce file browser and with 'ls -l FileOrDirectory' however through nautilus show as "----------" or "600000"

Bug is similar to the following, but on a different distrobution. https://launchpad.net/distros/ubuntu/+source/gdm/+bug/21138
Bug #21138 in gdm (Ubuntu): "GDM complains about .dmrc"

Revision history for this message
Dennis Kaarsemaker (dennis) wrote :

Are the permissions for $HOME really ---------? That's a bad idea too....

Revision history for this message
Melissa Draper (melissa) wrote :

that's what Nautilus is showing them as. I don't think it is what they actually are, since ls -l and the xfce file browser show them Correctly

Revision history for this message
Sebastien Bacher (seb128) wrote :

The permission bug is a known gnome-vfs issue fixed with the CVS, I'll upload a patch today

Revision history for this message
Melissa Draper (melissa) wrote :

Just replying to confirm that the patch fixed the permissions issue.

However. I still get the $HOME/.dmrc issue

Revision history for this message
Sebastien Bacher (seb128) wrote :

The nautilus issue is fixed

Changed in nautilus:
assignee: nobody → desktop-bugs
status: Unconfirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. Could you copy to a comment that:
- ls -ld $HOME
- ls -l $HOME/.dmrc

Changed in gdm:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
Sebastien Bacher (seb128) wrote :

Melissa, could you reply to previous comment?

Revision history for this message
Melissa Draper (melissa) wrote :

I no longer have the problem.

I changed the permissions to what the file recommended.

There is a good chance this might have been caused by something maybe nautilus being launched with sudo instead of gksudo. I am not really sure.

I have reinstalled dapper since this occurred, when GTK2 was acting very crazy.

Revision history for this message
Paxdfgb (ne234234) wrote :

I'm having this bug, happens every time I've booted to Windows (Dual boot) between two sessions and don't kno if this helps but my USB network adapter gets messed up to so I have to start Ubuntu without it and then after loginscreen appears then I can put it back in and it starts working.

Revision history for this message
Paxdfgb (ne234234) wrote :

EDIT:
running a simple sudo chmod 644 $HOME/.dmrc fixes the problem until next time I dual boot windows

Revision history for this message
Sebastien Bacher (seb128) wrote :

closing the bug for now, that's likely to be due to an user change or to an another application modifing it but not to gdm. Feel free to reopen if you get the issue again and figure what is changing the permission

Changed in gdm:
status: Needs Info → Rejected
Revision history for this message
montgoss (montgoss+launchpad) wrote :

I'm having this error on Edgy. "sudo chmod 644 $HOME/.dmrc" doesn't fix it for me either...

Revision history for this message
montgoss (montgoss+launchpad) wrote :

After some more Googling, I found setting RelaxPermissions to 1 in /etc/gdm/gdm.conf "fixes" it. I suspect it didn't fix anything but merely gets gdm to stop complaining...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.