touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #121711
[Bug 1511824] Re: Can't login as ordinary user with lightdm
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
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(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory
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(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot open shared object file: No such file or directory
Dec 1 12:40:38 odroid6 lightdm: PAM adding faulty module: pam_kwallet5.so
Dec 1 12:40:38 odroid6 lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "rose"
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(lightdm-greeter:session): session closed for user lightdm
Dec 1 12:41:14 odroid6 lightdm: pam_unix(lightdm:session): session opened for user rose by (uid=0)
Dec 1 12:41:14 odroid6 systemd-logind[730]: New session c2 of user rose.
Dec 1 12:41:14 odroid6 systemd: pam_unix(systemd-user:session): session opened for user rose by (uid=0)
Dec 1 12:42:33 odroid6 systemd-logind[730]: Removed session c1.
Dec 1 12:42:33 odroid6 systemd: pam_unix(systemd-user:session): session closed for user lightdm
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(sshd:session): session opened for user odroid by (uid=0)
Dec 1 12:43:14 odroid6 systemd-logind[730]: New session c3 of user odroid.
Dec 1 12:43:14 odroid6 systemd: pam_unix(systemd-user:session): session opened for user odroid by (uid=0)
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(su:session): session opened for user nobody by (uid=0)
Dec 1 12:45:31 odroid6 systemd-logind[730]: New session c4 of user nobody.
Dec 1 12:45:31 odroid6 systemd: pam_unix(systemd-user:session): session opened for user nobody by (uid=0)
Dec 1 12:45:32 odroid6 su[1795]: pam_unix(su:session): session closed for user nobody
Dec 1 12:45:32 odroid6 systemd-logind[730]: Removed session c4.
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(su:session): session opened for user nobody by (uid=0)
Dec 1 12:45:32 odroid6 systemd-logind[730]: New session c5 of user nobody.
Dec 1 12:45:32 odroid6 systemd: pam_unix(systemd-user:session): session closed for user nobody
Dec 1 12:45:32 odroid6 su[1821]: pam_unix(su:session): session closed for user nobody
Dec 1 12:45:32 odroid6 systemd-logind[730]: Removed session c5.
Dec 1 12:45:32 odroid6 su[1844]: Successful su for nobody by root
Dec 1 12:45:32 odroid6 su[1844]: + ??? root:nobody
Dec 1 12:45:32 odroid6 su[1844]: pam_unix(su:session): session opened for user nobody by (uid=0)
Dec 1 12:45:32 odroid6 systemd-logind[730]: New session c6 of user nobody.
Dec 1 12:45:32 odroid6 systemd: pam_unix(systemd-user:session): session opened for user nobody by (uid=0)
Dec 1 12:46:26 odroid6 su[1844]: pam_unix(su:session): session closed for user nobody
Dec 1 12:46:26 odroid6 systemd-logind[730]: Removed session c6.
Dec 1 12:46:26 odroid6 systemd: pam_unix(systemd-user:session): session closed for user nobody
odroid@odroid6:~$
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1511824
Title:
Can't login as ordinary user with lightdm
Status in lightdm package in Ubuntu:
New
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_keyring.so
#auth optional pam_kwallet.so
@include common-account
session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close
session required pam_limits.so
@include common-session
session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open
session optional pam_gnome_keyring.so auto_start
#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=/etc/default/locale
@include common-password
and
root@odroid6:~# cat /etc/pam.d/lightdm-greeter
#%PAM-1.0
auth required pam_permit.so
auth optional pam_gnome_keyring.so
#auth optional pam_kwallet.so
@include common-account
session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close
session required pam_limits.so
@include common-session
session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open
session optional pam_gnome_keyring.so auto_start
#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=/etc/default/locale
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_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "rose"
Oct 28 19:34:26 odroid6 lightdm: pam_unix(lightdm-greeter:session): session closed for user lightdm
Oct 28 19:34:26 odroid6 lightdm: pam_unix(lightdm:session): session opened for user rose by (uid=0)
Oct 28 19:34:26 odroid6 systemd-logind[651]: New session c8 of user rose.
Oct 28 19:34:26 odroid6 systemd: pam_unix(systemd-user:session): session opened for user rose by (uid=0)
Oct 28 19:35:10 odroid6 systemd-logind[651]: Removed session c6.
Oct 28 19:35:10 odroid6 systemd: pam_unix(systemd-user:session): session closed for user lightdm
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_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: lightdm
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.pam.d.lightdm: 2015-10-28T17:40:04.609656
mtime.conffile..etc.pam.d.lightdm.greeter: 2015-10-28T17:53:38.848444
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1511824/+subscriptions
References