LDAP user with automounted nfs homedir cannot login
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
at-spi2-core (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
After installing Ubuntu (Oneiric, development branch) I followed two guides to setup LDAP authentication and automounting of home directories using autofs-ldap. This setup was working properly for older Ubuntu releases (just to be sure I also tried with a fresh, up to date 11.04 installation).
The following steps were executed to setup LDAP authentication:
https:/
These steps were executed to setup Autofs-ldap:
https:/
LDAP users properly login from the terminal (Ctrl-Alt-F1), in that case they can browse their automounted homedirs etc.
When I try to login using LightDM the user seems to be logged in properly; the login widget disappears from the screen but other than that nothing is happening (the login screen background is still visible, but the login widget is gone). I still can move the mouse pointer but the user is not logged on. When taking a look at the user's .xsession-errors file there is not much to see, nothing that seems worrying to me. I can't find anything that obviously looks like an error in /var/log/*.
I tried several things:
- removed all files/directories starting with a . (dot) in the user's home directory
- using LightDM and the default Ubuntu window manager
- using LightDM with Gnome
- using GDM with Gnome
In all cases the same behavior was observed.
Logging in with a local user works like a charm.
This is what /var/log/
[+2.83s] DEBUG: Read 8 bytes from greeter
[+2.83s] DEBUG: Read 15 bytes from greeter
[+2.83s] DEBUG: Greeter start authentication for test_user
[+2.83s] DEBUG: pam_authenticat
[+2.83s] DEBUG: pam_start(
[+2.85s] DEBUG: Prompt greeter with 1 message(s)
[+2.85s] DEBUG: Wrote 45 bytes to greeter
[+16.20s] DEBUG: Read 8 bytes from greeter
[+16.20s] DEBUG: Read 16 bytes from greeter
[+16.20s] DEBUG: Continue authentication
[+16.22s] DEBUG: pam_authenticat
[+16.22s] DEBUG: pam_acct_
[+16.22s] DEBUG: Authenticate result for user test_user: Success
[+16.22s] DEBUG: User test_user authorized
[+16.22s] DEBUG: Wrote 27 bytes to greeter
[+16.24s] DEBUG: Read 8 bytes from greeter
[+16.24s] DEBUG: Read 15 bytes from greeter
[+16.24s] DEBUG: Greeter requests session gnome-shell
[+16.25s] DEBUG: Stopping greeter
[+16.25s] DEBUG: Dropping privileges to uid 104
[+16.25s] DEBUG: Removing session authority from /var/lib/
[+16.28s] DEBUG: Restoring privileges
[+16.28s] DEBUG: Sending signal 15 to process 7950
[+16.28s] DEBUG: Process 7950 exited with return value 0
[+16.28s] DEBUG: pam_close_
[+16.28s] DEBUG: pam_setcred(
[+16.28s] DEBUG: pam_end(0x167f300) -> 0
[+16.28s] DEBUG: Ending ConsoleKit session 6e3a69492418890
[+16.31s] DEBUG: Greeter quit
[+16.31s] DEBUG: Starting user session
[+16.38s] DEBUG: Dropping privileges to uid 1049
[+16.38s] DEBUG: Writing /srv/home/
[+17.48s] DEBUG: Restoring privileges
[+17.51s] DEBUG: Starting session gnome-shell as user test_user logging to /srv/home/
[+17.51s] DEBUG: Launching session
[+17.51s] DEBUG: pam_set_
[+17.55s] DEBUG: pam_open_
[+17.58s] DEBUG: Opened ConsoleKit session 6e3a69492418890
[+17.58s] DEBUG: Dropping privileges to uid 1049
[+17.58s] DEBUG: Adding session authority to /srv/home/
[+17.82s] DEBUG: Restoring privileges
[+17.82s] DEBUG: Launching process 8053: /usr/sbin/
[+17.82s] DEBUG: Registering session with bus path /org/freedeskto
[+17.92s] DEBUG: pam_setcred(
[+17.92s] DEBUG: PAM returns environment 'GNOME_
The user's .xsession_errors:
Running X session wrapper
Loading profile from /etc/profile
Loading resource: /etc/X11/
Loading X session script /etc/X11/
Loading X session script /etc/X11/
Loading X session script /etc/X11/
Loading X session script /etc/X11/
Loading X session script /etc/X11/
Loading X session script /etc/X11/
Loading X session script /etc/X11/
Loading X session script /etc/X11/
Loading X session script /etc/X11/
Loading X session script /etc/X11/
Loading X session script /etc/X11/
Loading X session script /etc/X11/
Loading X session script /etc/X11/
Loading X session script /etc/X11/
Loading X session script /etc/X11/
Loading X session script /etc/X11/
Loading X session script /etc/X11/
Setting IM through im-switch for locale=en_US.
Start IM through /etc/X11/
Loading X session script /etc/X11/
Loading X session script /etc/X11/
((EOF, thats all))
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: lightdm 1.0.1-0ubuntu4
ProcVersionSign
Uname: Linux 3.0.0-11-generic x86_64
ApportVersion: 1.23-0ubuntu2
Architecture: amd64
Date: Sat Oct 8 19:40:24 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110921.2)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: lightdm
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: a11y |
Changed in at-spi2-core (Ubuntu): | |
assignee: | nobody → Vinoth Rc (vinothrclaksh) |
assignee: | Vinoth Rc (vinothrclaksh) → nobody |
It seems the system is hanging at: desktop. interface toolkit- accessiblity'
`gsettings get org.gnome.
Once I did a `killall gsettings' the ldap user logged in properly.