I work on a project using BeagleBone Black and an LCD cape.

For that, I download the current BBB IOT image from their website and installed LXDE for user interface.

I want to create an application that starts at boot on the LCD.

I need to remove the login step at the startup. I think that LightDM is used as a desktop manager (maybe helps), but for now I only succeed to auto insert the username.

My question is how I can pass this step without any other user intervention.

Thank you, Dragos.


  • 1
    Why do you need a desktop manager at all? A typical user interface on such a device just uses one full screen window and only needs X11 (for this kind of usage it even makes sense to drop X11 and directly use /dev/fb0). – Philippos Oct 18 '17 at 14:44

1) Edit your lightdm configuration file:

sudo nano /etc/pam.d/lightdm

Before the @include common-auth line , add the following line :

auth sufficient pam_succeed_if.so user ingroup nopasswdlogin

2) Create a nopasswdlogin group:

sudo addgroup --system nopasswdlogin

3) Add the user USER to nopasswdlogin:

sudo adduser USER nopasswdlogin

4) Add the following line on the top of your /etc/lightdm/lightdm.conf configuration file:


You will want to set auto-login in LightDM's configuration in > /etc/lightdm/lightdm.conf


That and other information can be found at https://wiki.debian.org/LightDM

  • Good point, added auto-login specific information from the page to my answer. – kencinder Oct 18 '17 at 16:39
  • From link above: "It is possible to provide the user with selection of available user accounts. The most recently used login name will be selected in the list. The user still has to enter password to login." So after doing the modifications, the login screen will still appear on LCD. – Dragos Oct 19 '17 at 6:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.