Can't login as ordinary user with lightdm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lightdm (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I can't login as ordinary user rose with lightdm.
It is an Ubuntu 15.04 for armv7l .
At the beginning I saw the already reported issues with kwallet, which is not installed. I commented out the corresponding lines in. I have now:
root@odroid6:~# cat /etc/pam.d/lightdm
#%PAM-1.0
auth requisite pam_nologin.so
auth sufficient pam_succeed_if.so user ingroup nopasswdlogin
@include common-auth
auth optional pam_gnome_
#auth optional pam_kwallet.so
@include common-account
session [success=ok ignore=ignore module_
session required pam_limits.so
@include common-session
session [success=ok ignore=ignore module_
session optional pam_gnome_
#session optional pam_kwallet.so auto_start
session required pam_env.so readenv=1
session required pam_env.so readenv=1 user_readenv=1 envfile=
@include common-password
and
root@odroid6:~# cat /etc/pam.
#%PAM-1.0
auth required pam_permit.so
auth optional pam_gnome_
#auth optional pam_kwallet.so
@include common-account
session [success=ok ignore=ignore module_
session required pam_limits.so
@include common-session
session [success=ok ignore=ignore module_
session optional pam_gnome_
#session optional pam_kwallet.so auto_start
session required pam_env.so readenv=1
session required pam_env.so readenv=1 user_readenv=1 envfile=
It seems that my password is accepted (login via ssh works perfectly), but with lightdm I get only a black screen with mouse cursor. Login as user odroid which is in group nopasswdlogin with lightdm works.
After trying to login as user rose, I have to login with ssh and kill all processes owned by rose. At the end of /var/log/auth.log I see:
Oct 28 19:34:17 odroid6 lightdm: pam_succeed_
Oct 28 19:34:26 odroid6 lightdm: pam_unix(
Oct 28 19:34:26 odroid6 lightdm: pam_unix(
Oct 28 19:34:26 odroid6 systemd-
Oct 28 19:34:26 odroid6 systemd: pam_unix(
Oct 28 19:35:10 odroid6 systemd-
Oct 28 19:35:10 odroid6 systemd: pam_unix(
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: lightdm 1.14.2-0ubuntu1.1
Uname: Linux 3.10.82-57 armv7l
ApportVersion: 2.17.2-0ubuntu1.7
Architecture: armhf
Date: Fri Oct 30 18:14:21 2015
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: lightdm
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile.
mtime.conffile.
Also after upgrading to Ubuntu 15.10 the situation does not improved. If I login as user rose with password just after reboot, the login form disappears, I can move the mouse pointer, but I can't do any action. There is neither an application nor a mouse menu (right click to the background). I then login via ssh as user odroid. 'who' shows me that a user rose is logged in:
odroid@odroid6:~$ who
rose :0 2015-12-01 12:41 (:0)
odroid pts/1 2015-12-01 12:43 (192.168.1.81)
And /var/log/auth.log says again that the requirement "user ingroup nopasswdlogin" not met by user "rose":
odroid@odroid6:~$ tail -n 40 /var/log/auth.log pam_kwallet. so): /lib/security/ pam_kwallet. so: cannot open shared object file: No such file or directory pam_kwallet5. so): /lib/security/ pam_kwallet5. so: cannot open shared object file: No such file or directory if(lightdm: auth): requirement "user ingroup nopasswdlogin" not met by user "rose" lightdm- greeter: session) : session closed for user lightdm lightdm: session) : session opened for user rose by (uid=0) logind[ 730]: New session c2 of user rose. systemd- user:session) : session opened for user rose by (uid=0) logind[ 730]: Removed session c1. systemd- user:session) : session closed for user lightdm sshd:session) : session opened for user odroid by (uid=0) logind[ 730]: New session c3 of user odroid. systemd- user:session) : session opened for user odroid by (uid=0) su:session) : session opened for user nobody by (uid=0) logind[ 730]: New session c4 of user nobody. systemd- user:session) : session opened for user nobody by (uid=0) su:session) : session closed for user nobody logind[ 730]: Removed session c4. su:session) : session opened for user nobody by (uid=0)
Dec 1 12:40:37 odroid6 sshd[780]: Server listening on 0.0.0.0 port 22.
Dec 1 12:40:37 odroid6 sshd[780]: Server listening on :: port 22.
Dec 1 12:40:38 odroid6 lightdm: PAM unable to dlopen(
Dec 1 12:40:38 odroid6 lightdm: PAM adding faulty module: pam_kwallet.so
Dec 1 12:40:38 odroid6 lightdm: PAM unable to dlopen(
Dec 1 12:40:38 odroid6 lightdm: PAM adding faulty module: pam_kwallet5.so
Dec 1 12:40:38 odroid6 lightdm: pam_succeed_
Dec 1 12:40:58 odroid6 dbus[767]: [system] Failed to activate service 'org.bluez': timed out
Dec 1 12:41:14 odroid6 lightdm: pam_unix(
Dec 1 12:41:14 odroid6 lightdm: pam_unix(
Dec 1 12:41:14 odroid6 systemd-
Dec 1 12:41:14 odroid6 systemd: pam_unix(
Dec 1 12:42:33 odroid6 systemd-
Dec 1 12:42:33 odroid6 systemd: pam_unix(
Dec 1 12:43:14 odroid6 sshd[1550]: Accepted password for odroid from 192.168.1.81 port 52770 ssh2
Dec 1 12:43:14 odroid6 sshd[1550]: pam_unix(
Dec 1 12:43:14 odroid6 systemd-
Dec 1 12:43:14 odroid6 systemd: pam_unix(
Dec 1 12:45:31 odroid6 su[1795]: Successful su for nobody by root
Dec 1 12:45:31 odroid6 su[1795]: + ??? root:nobody
Dec 1 12:45:31 odroid6 su[1795]: pam_unix(
Dec 1 12:45:31 odroid6 systemd-
Dec 1 12:45:31 odroid6 systemd: pam_unix(
Dec 1 12:45:32 odroid6 su[1795]: pam_unix(
Dec 1 12:45:32 odroid6 systemd-
Dec 1 12:45:32 odroid6 su[1821]: Successful su for nobody by root
Dec 1 12:45:32 odroid6 su[1821]: + ??? root:nobody
Dec 1 12:45:32 odroid6 su[1821]: pam_unix(
Dec 1 12:45:32 odroid6...