LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   LDAP user cannot login with GUI desktop (https://www.linuxquestions.org/questions/linux-desktop-74/ldap-user-cannot-login-with-gui-desktop-669261/)

pazzport 09-11-2008 12:30 PM

LDAP user cannot login with GUI desktop
 
I am running a Centos 5 client against a Centos5 samba/ldap pdc. I have my home directory mapped via nfs, currently I have /home mounted manually as I haven't gotten automount to work yet. I can correctly authenticate from my client, see my home directories, and from a shell on the client I can su to my user account with no problems. When I try to login via the gui (xsession) I receive the following error:

"User's $HOME/.dmrc file is being ignored. This prevents the default session and language from being saved. File should be owned by the user and have 644 permissions. User's $HOME directory must be owned by user and not writable by other users."

My .xsession-errors reads as follows:

-- ~/.xsession-errors --

/etc/gdm/PreSession/Default: Registering your session with utmp
/etc/gdm/PreSession/Default: running: /usr/bin/sessreg -a -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0" "user1"
localuser:user1 being added to access control list
No profile for user 'user1' found
/bin/sh: /usr/bin/dbus-launch --exit-with-session /etc/X11/xinit/Xclients: No such file or directory
/bin/sh: line 0: exec: /usr/bin/dbus-launch --exit-with-session /etc/X11/xinit/Xclients: cannot execute: No such file or directory

I have checked permissions and they seem to be correct, and everything appears to be working correctly for shell based logins. Anyone had to deal with this or have an idea of how to troubleshoot the issue? Thanks in advance.


All times are GMT -5. The time now is 06:00 AM.