Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #199405 > unrolled thread

Autologin not working (lightdm, openbox)

Started byShea Alterio <krusete@gmail.com>
First post2018-08-27 09:40 +0200
Last post2018-08-28 03:10 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  Autologin not working (lightdm, openbox) Shea Alterio <krusete@gmail.com> - 2018-08-27 09:40 +0200
    Re: Autologin not working (lightdm, openbox) Alexandre Rossi <alexandre.rossi@gmail.com> - 2018-08-27 11:00 +0200
      Re: Autologin not working (lightdm, openbox) Shea Alterio <krusete@gmail.com> - 2018-08-28 03:10 +0200

#199405 — Autologin not working (lightdm, openbox)

FromShea Alterio <krusete@gmail.com>
Date2018-08-27 09:40 +0200
SubjectAutologin not working (lightdm, openbox)
Message-ID<wrkhX-3Ue-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hey everyone.
Before anyone asks, i've looked all over the wiki and every other post
online so i'm not sure why this isn't working. When I start up my machine X
starts up fine. and it goes to the lightdm login screen, but it still makes
me put in the password.

My user is in the autologin and nopasswdlogin groups, i've made the right
changes to both the files listed below as A and B sources.

Any help would be greatly appreciated. Thank you all in advance.

I added the following line to the top of /etc/pam.d/lightdm:
auth    sufficient      pam_succeed_if.so (my user) ingroup autologin

$ /usr/sbin/lightdm --show-config
   [Seat:*]
B  greeter-session=lightdm-greeter
B  greeter-hide-users=false
B  session-wrapper=/etc/X11/Xsession
B  autologin-user=(my user)
B  autologin-user-timeout=0
B  pam-service=lightdm
B  pam-autologin-service=lightdm-autologin
B  autologin-session=openbox-session

   [LightDM]
B  start-default-seat=true

Sources:
A  /usr/share/lightdm/lightdm.conf.d/01_debian.conf
B  /etc/lightdm/lightdm.conf

[toc] | [next] | [standalone]


#199410

FromAlexandre Rossi <alexandre.rossi@gmail.com>
Date2018-08-27 11:00 +0200
Message-ID<wrlxo-4yy-9@gated-at.bofh.it>
In reply to#199405
Hi,

> Before anyone asks, i've looked all over the wiki and every other post online so i'm not sure why this isn't working. When I start up my machine X starts up fine. and it goes to the lightdm login screen, but it still makes me put in the password.
>
> My user is in the autologin and nopasswdlogin groups, i've made the right changes to both the files listed below as A and B sources.

I've always had no problem with autologin with lightdm, all I ever had
to do was to set autologin-user in the [Seat:*] in
/etc/lightdm/lightdm.conf . Another option that I have used
successfuly is using lightdm-autologin-greeter and setting up
autologin-user in
/etc/lightdm/lightdm.conf.d/lightdm-autologin-greeter.conf

I guess you already checked this but double check you are able to
login with that user using a password.

Alex

[toc] | [prev] | [next] | [standalone]


#199466

FromShea Alterio <krusete@gmail.com>
Date2018-08-28 03:10 +0200
Message-ID<wrAG6-5dy-3@gated-at.bofh.it>
In reply to#199410

[Multipart message — attachments visible in raw view] — view raw

On Mon, Aug 27, 2018 at 4:50 AM Alexandre Rossi <alexandre.rossi@gmail.com>
wrote:

> Hi,
>
> > Before anyone asks, i've looked all over the wiki and every other post
> online so i'm not sure why this isn't working. When I start up my machine X
> starts up fine. and it goes to the lightdm login screen, but it still makes
> me put in the password.
> >
> > My user is in the autologin and nopasswdlogin groups, i've made the
> right changes to both the files listed below as A and B sources.
>
> I've always had no problem with autologin with lightdm, all I ever had
> to do was to set autologin-user in the [Seat:*] in
> /etc/lightdm/lightdm.conf . Another option that I have used
> successfuly is using lightdm-autologin-greeter and setting up
> autologin-user in
> /etc/lightdm/lightdm.conf.d/lightdm-autologin-greeter.conf
>
> I guess you already checked this but double check you are able to
> login with that user using a password.
>
> Alex
>

Thanks for the reply, Alex.  I haven't messed with it since yesterday, but
i'll try restoring the config files to their defaults and start over from
there.

I'm not sure if it matters, but  usually when I want any graphical system
with Debian, i install one of the desktop environments during the initial
setup. This install is for a very limited thin client with only 4gb
internal storage, so i had to install only SSH server and standard system
utilities, then install X / Openbox / LightDM after the fact. I found out
the hard way when I ran out of disk space trying to install LXDE as well. I
may be missing some packages needed to help facilitate autologin, not sure.

If your suggestions don't fix it i will reply to this thread later tonight
with my findings.

Thanks again,
Shea

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web