Hi,

I'm seeing the same error on 12.04-server, and what's more can't even
log in with my real username from "More ..." !

lxdm is totally broken & unusable for me.


for me the listed users on the greeter are :
"""
syslog
usbmux daemon,,,(usbmux)
saned

More ...
"""

where all 3 of the above have /home/ set in /etc/passwd.

Something's definitely wrong with the parsing of usbmux too,
including empty room number, phone number etc ,,, fields.
maybe somewhere to start.

note all 3 of the above have their shell listed in /etc/passwd
as /bin/false, maybe that could be added as an additional
"not human" filter? and maybe in addition to that, check if
the given home dir exists.

so the initial logic line 1682 goes:
if the entry has a home dir listed in /etc/passwd,
   if not on the whitelist, skip to the next
   if on the blacklist, skip to the next

so I agree with mello73 that part is a bit weird, although by
filtering out the system fake-users with space delimited entries
on the lxdm.conf black= line, I do see my login name come up.

.

wrt the strcmp(), that function returns 0 when they match,
so !strcmp(a,b) logic is correct at least in that case AFAICT,
and I disagree with mellow73 there.

.

for me, adding uid name as space separated on the black= line did work.

once I see my user account it lists "Full name,,," and doesn't let
me log in.   hmmm, looking in /var/log/auth.log it seems that it
did open a session for my user but then immediately closed it again.
maybe it is looking for some xinit like-file which doesn't exist
(lxde is not installed currently) and so instead of defaulting to
another session just exits back to the login? (nope, apt-get install
lxde doesn't help)


so, suggestions:
 - add a check if /home dir for the user exists on the filesystem
 - also add a check to see that their shell is not /bin/false
 - use strchr() + set return pointer to NULL or similar to cut the
   user's Real Name string at the first ",".
 - when you can get to your name, make logins work (!)


thanks,
Hamish

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/881669

Title:
  Maybe logical error in lxdm.c

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxdm/+bug/881669/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to